Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 80.06 kB / 21.19 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 141.1 kB / 24.54 MB, free: 32 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9982/0.9982, allocations: 173.3 MB / 201.1 MB, free: 9.34 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|derivative.c.v|derivative.opAmp.out.v|derivative.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|derivative.c.v|derivative.opAmp.out.v|derivative.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 268 MB, free: 6.402 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.993e-05/3.208e-05, allocations: 6.25 kB / 268 MB, free: 6.395 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.003316/0.003348, allocations: 3.083 MB / 271.1 MB, free: 3.293 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001012/0.004359, allocations: 0.7559 MB / 271.9 MB, free: 2.535 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001299/0.004489, allocations: 11.94 kB / 271.9 MB, free: 2.523 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001592/0.004649, allocations: 51.5 kB / 271.9 MB, free: 2.473 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001588/0.004807, allocations: 126.9 kB / 272.1 MB, free: 2.348 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00026/0.005067, allocations: 127.8 kB / 272.2 MB, free: 2.223 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003496/0.005417, allocations: 470 kB / 272.6 MB, free: 1.762 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000173/0.00559, allocations: 99.41 kB / 272.7 MB, free: 1.664 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002533/0.005843, allocations: 255.4 kB / 273 MB, free: 1.414 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001616/0.006005, allocations: 155.5 kB / 273.1 MB, free: 1.262 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.891e-05/0.006054, allocations: 44 kB / 273.2 MB, free: 1.219 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.205e-05/0.006096, allocations: 48 kB / 273.2 MB, free: 1.172 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.485e-05/0.006151, allocations: 91.67 kB / 273.3 MB, free: 1.082 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.006255, allocations: 131.7 kB / 273.4 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002854/0.006541, allocations: 287 kB / 273.7 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.006544, allocations: 3.938 kB / 273.7 MB, free: 0.668 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.006545, allocations: 0 / 273.7 MB, free: 0.668 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.00655, allocations: 0 / 273.7 MB, free: 0.668 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0008794/0.00743, allocations: 0.7083 MB / 274.4 MB, free: 15.91 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.007465, allocations: 12.03 kB / 274.5 MB, free: 15.9 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.803e-05/0.007553, allocations: 60.7 kB / 274.5 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002828/0.007836, allocations: 255.4 kB / 274.8 MB, free: 15.56 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.007857, allocations: 25.03 kB / 274.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.156e-05/0.007899, allocations: 28.38 kB / 274.8 MB, free: 15.51 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004057/0.008304, allocations: 327.4 kB / 275.1 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.008321, allocations: 4.172 kB / 275.1 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.64e-05/0.008347, allocations: 15.94 kB / 275.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.00836, allocations: 8 kB / 275.2 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001834/0.008544, allocations: 115.8 kB / 275.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001182/0.009726, allocations: 1.123 MB / 276.4 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/0.009916, allocations: 119 kB / 276.5 MB, free: 13.69 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.951e-05/0.009985, allocations: 47.67 kB / 276.6 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.01001, allocations: 4 kB / 276.6 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001884/0.01019, allocations: 179.5 kB / 276.7 MB, free: 13.42 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.793e-06/0.0102, allocations: 0 / 276.7 MB, free: 13.42 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007609/0.01096, allocations: 324.8 kB / 277.1 MB, free: 13.09 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/0.01101, allocations: 110.8 kB / 277.2 MB, free: 12.96 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002046/0.01121, allocations: 320.2 kB / 277.5 MB, free: 12.63 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.01123, allocations: 29.7 kB / 277.5 MB, free: 12.6 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.01136, allocations: 267 kB / 277.8 MB, free: 12.33 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.865e-05/0.0114, allocations: 51.59 kB / 277.8 MB, free: 12.28 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.261e-05/0.01147, allocations: 59.36 kB / 277.9 MB, free: 12.21 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.0116, allocations: 0.5039 MB / 278.4 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.194e-05/0.0117, allocations: 65.67 kB / 278.4 MB, free: 11.63 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001572/0.01185, allocations: 256.6 kB / 278.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001906/0.01204, allocations: 225.7 kB / 278.9 MB, free: 11.02 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.01205, allocations: 0 / 278.9 MB, free: 11.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004042/0.01245, allocations: 332.2 kB / 279.2 MB, free: 10.68 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.401e-05/0.01248, allocations: 41.62 kB / 279.3 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.01249, allocations: 4 kB / 279.3 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002699/0.01276, allocations: 75.98 kB / 279.4 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.0129, allocations: 55.91 kB / 279.4 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001191/0.01409, allocations: 2.149 MB / 281.6 MB, free: 8.219 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001452/0.01423, allocations: 39.81 kB / 281.6 MB, free: 8.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.595e-05/0.01426, allocations: 16 kB / 281.6 MB, free: 8.164 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001102/0.01437, allocations: 180.5 kB / 281.8 MB, free: 7.977 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.076e-05/0.0144, allocations: 27.81 kB / 281.8 MB, free: 7.949 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.29e-05/0.01443, allocations: 29.77 kB / 281.8 MB, free: 7.918 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.01443, allocations: 0 / 281.8 MB, free: 7.918 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/0.01444, allocations: 0 / 281.8 MB, free: 7.918 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.01444, allocations: 7.984 kB / 281.9 MB, free: 7.91 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001806/0.01462, allocations: 232.4 kB / 282.1 MB, free: 7.648 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.01462, allocations: 0 / 282.1 MB, free: 7.648 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.746e-05/0.01471, allocations: 23.98 kB / 282.1 MB, free: 7.625 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001818/0.01489, allocations: 75.75 kB / 282.2 MB, free: 7.547 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.01491, allocations: 11.94 kB / 282.2 MB, free: 7.535 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009082/0.01582, allocations: 1.889 MB / 284.1 MB, free: 5.523 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.01582, allocations: 7.875 kB / 284.1 MB, free: 5.516 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003435/0.01616, allocations: 263.1 kB / 284.3 MB, free: 5.234 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.675e-05/0.01619, allocations: 27.78 kB / 284.4 MB, free: 5.207 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/0.01621, allocations: 8 kB / 284.4 MB, free: 5.199 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.799e-05/0.0163, allocations: 15.98 kB / 284.4 MB, free: 5.184 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.779e-05/0.01637, allocations: 23.95 kB / 284.4 MB, free: 5.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.01638, allocations: 8 kB / 284.4 MB, free: 5.152 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001276/0.01651, allocations: 213.1 kB / 284.6 MB, free: 4.941 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01651, allocations: 3.938 kB / 284.6 MB, free: 4.938 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002575/0.01676, allocations: 91.84 kB / 284.7 MB, free: 4.848 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (derivative.c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000116/0.01688, allocations: 107.3 kB / 284.8 MB, free: 4.73 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004511/0.01733, allocations: 397.4 kB / 285.2 MB, free: 4.305 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.01733, allocations: 0 / 285.2 MB, free: 4.305 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000172/0.0175, allocations: 234.1 kB / 285.4 MB, free: 4.055 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002431/0.01775, allocations: 60.53 kB / 285.5 MB, free: 3.996 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009076/0.01865, allocations: 0.5181 MB / 286 MB, free: 3.449 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.192e-05/0.01871, allocations: 88.25 kB / 286.1 MB, free: 3.344 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.838e-05/0.01878, allocations: 30.27 kB / 286.1 MB, free: 3.316 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.553e-05/0.01884, allocations: 28.5 kB / 286.2 MB, free: 3.289 MB / 266.7 MB Notification: Performance of SimCode: time 6.32e-07/0.01884, allocations: 0 / 286.2 MB, free: 3.289 MB / 266.7 MB Notification: Performance of Templates: time 0.006689/0.02553, allocations: 4.656 MB / 290.8 MB, free: 14.7 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8669260628521442]