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.001807/0.001807, allocations: 72.06 kB / 21.24 MB, free: 400 kB / 14.72 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.002244/0.002244, allocations: 161.4 kB / 24.49 MB, free: 3.461 MB / 14.72 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 1.47/1.47, allocations: 173.4 MB / 201.1 MB, free: 12.68 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001534/0.001534, allocations: 47.88 kB / 319.4 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09768/0.09922, allocations: 52.16 MB / 371.6 MB, free: 7.309 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.0045/0.1037, allocations: 2.86 MB / 374.5 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001411/0.1051, allocations: 0.7481 MB / 375.2 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001707/0.1053, allocations: 7.938 kB / 375.2 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001683/0.1055, allocations: 47.5 kB / 375.3 MB, free: 3.629 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002396/0.1057, allocations: 123 kB / 375.4 MB, free: 3.508 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003209/0.106, allocations: 127.8 kB / 375.5 MB, free: 3.383 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005113/0.1065, allocations: 462.3 kB / 376 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002135/0.1068, allocations: 91.44 kB / 376 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000255/0.107, allocations: 183.3 kB / 376.2 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002375/0.1072, allocations: 159.2 kB / 376.4 MB, free: 2.504 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.558e-05/0.1073, allocations: 44 kB / 376.4 MB, free: 2.461 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.059e-05/0.1074, allocations: 44 kB / 376.5 MB, free: 2.418 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.196e-05/0.1075, allocations: 91.62 kB / 376.6 MB, free: 2.328 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001833/0.1077, allocations: 167.3 kB / 376.7 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000542/0.1082, allocations: 494.1 kB / 377.2 MB, free: 1.68 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.1082, allocations: 4 kB / 377.2 MB, free: 1.676 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1082, allocations: 4 kB / 377.2 MB, free: 1.672 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.1082, allocations: 0 / 377.2 MB, free: 1.672 MB / 334.1 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.001411/0.1096, allocations: 0.6394 MB / 377.8 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.1097, allocations: 12.03 kB / 377.9 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.562e-05/0.1097, allocations: 36.7 kB / 377.9 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004579/0.1102, allocations: 257.4 kB / 378.1 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.1102, allocations: 21.03 kB / 378.2 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.706e-05/0.1103, allocations: 28.38 kB / 378.2 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008276/0.1111, allocations: 404.4 kB / 378.6 MB, free: 204 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.1111, allocations: 0 / 378.6 MB, free: 204 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.297e-05/0.1112, allocations: 12 kB / 378.6 MB, free: 192 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.1112, allocations: 7.938 kB / 378.6 MB, free: 184 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008904/0.1121, allocations: 306.4 kB / 378.9 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002186/0.1142, allocations: 1.094 MB / 380 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007325/0.115, allocations: 218.4 kB / 380.2 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003844/0.1154, allocations: 104.8 kB / 380.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.1154, allocations: 256 / 380.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005593/0.1159, allocations: 249.1 kB / 380.6 MB, free: 14.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.313e-06/0.1159, allocations: 0 / 380.6 MB, free: 14.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002628/0.1186, allocations: 0.615 MB / 381.2 MB, free: 13.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.104e-05/0.1186, allocations: 106.8 kB / 381.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003641/0.119, allocations: 285.8 kB / 381.6 MB, free: 13.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.242e-05/0.119, allocations: 33.7 kB / 381.6 MB, free: 13.03 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/0.1192, allocations: 216.2 kB / 381.8 MB, free: 12.81 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.264e-05/0.1193, allocations: 51.59 kB / 381.9 MB, free: 12.76 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.968e-05/0.1194, allocations: 49.7 kB / 381.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.1195, allocations: 342.8 kB / 382.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004199/0.1199, allocations: 145.6 kB / 382.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005349/0.1205, allocations: 297 kB / 382.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007984/0.1213, allocations: 327 kB / 383 MB, free: 11.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.1213, allocations: 0 / 383 MB, free: 11.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001443/0.1227, allocations: 0.5131 MB / 383.5 MB, free: 10.97 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.072e-05/0.1228, allocations: 33.7 kB / 383.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.1228, allocations: 7.938 kB / 383.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004146/0.1232, allocations: 84.86 kB / 383.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002767/0.1235, allocations: 59.89 kB / 383.7 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002868/0.1263, allocations: 1.844 MB / 385.5 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003858/0.1267, allocations: 59.73 kB / 385.6 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.746e-05/0.1267, allocations: 12 kB / 385.6 MB, free: 8.762 MB / 350.1 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.0001932/0.1269, allocations: 153.8 kB / 385.7 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.217e-05/0.127, allocations: 23.86 kB / 385.8 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.984e-05/0.127, allocations: 29.77 kB / 385.8 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.127, allocations: 4.062 kB / 385.8 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.127, allocations: 4.062 kB / 385.8 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.127, allocations: 15.92 kB / 385.8 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002692/0.1273, allocations: 225.2 kB / 386 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1273, allocations: 0 / 386 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001972/0.1275, allocations: 35.91 kB / 386.1 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002951/0.1278, allocations: 84.8 kB / 386.2 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.1278, allocations: 0 / 386.2 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002442/0.1303, allocations: 1.682 MB / 387.8 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1303, allocations: 192 / 387.8 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001541/0.1318, allocations: 0.4891 MB / 388.3 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.8e-05/0.1319, allocations: 27.88 kB / 388.4 MB, free: 5.832 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.828e-05/0.1319, allocations: 8 kB / 388.4 MB, free: 5.824 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002695/0.1322, allocations: 36.02 kB / 388.4 MB, free: 5.789 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.888e-05/0.1323, allocations: 19.97 kB / 388.4 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.1323, allocations: 4 kB / 388.4 MB, free: 5.766 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000228/0.1325, allocations: 201.2 kB / 388.6 MB, free: 5.566 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1325, allocations: 0 / 388.6 MB, free: 5.566 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004184/0.1329, allocations: 95.72 kB / 388.7 MB, free: 5.473 MB / 350.1 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.000132/0.133, allocations: 103.2 kB / 388.8 MB, free: 5.359 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001124/0.1342, allocations: 475.9 kB / 389.3 MB, free: 4.863 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1342, allocations: 0 / 389.3 MB, free: 4.863 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005444/0.1347, allocations: 234.5 kB / 389.5 MB, free: 4.621 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.1351, allocations: 52.59 kB / 389.6 MB, free: 4.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/0.1365, allocations: 0.584 MB / 390.1 MB, free: 3.961 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001642/0.1366, allocations: 155.5 kB / 390.3 MB, free: 3.789 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001915/0.1368, allocations: 30.28 kB / 390.3 MB, free: 3.762 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.438e-05/0.1369, allocations: 24.5 kB / 390.4 MB, free: 3.738 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1369, allocations: 0 / 390.4 MB, free: 3.738 MB / 350.1 MB Notification: Performance of Templates: time 0.01273/0.1496, allocations: 4.391 MB / 394.7 MB, free: 15.43 MB / 366.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.414947498939]