Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.001545/0.001545, allocations: 115.5 kB / 18.45 MB, free: 4.602 MB / 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.001597/0.001597, allocations: 192.3 kB / 21.4 MB, free: 1.664 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.391/1.391, allocations: 225.6 MB / 249.8 MB, free: 3.602 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.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 47.92 kB / 366.8 MB, free: 324 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.103, allocations: 52.14 MB / 419 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004473/0.1074, allocations: 2.867 MB / 421.9 MB, free: 9.195 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001332/0.1088, allocations: 0.7245 MB / 422.6 MB, free: 8.465 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.1089, allocations: 12 kB / 422.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001723/0.1091, allocations: 47.52 kB / 422.6 MB, free: 8.406 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002012/0.1093, allocations: 99.17 kB / 422.7 MB, free: 8.309 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003063/0.1096, allocations: 111.8 kB / 422.8 MB, free: 8.199 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004684/0.1101, allocations: 390.5 kB / 423.2 MB, free: 7.816 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002132/0.1103, allocations: 87.28 kB / 423.3 MB, free: 7.723 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002481/0.1105, allocations: 159.3 kB / 423.5 MB, free: 7.566 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002445/0.1108, allocations: 163.3 kB / 423.6 MB, free: 7.406 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.826e-05/0.1108, allocations: 40 kB / 423.7 MB, free: 7.367 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.024e-05/0.1109, allocations: 36 kB / 423.7 MB, free: 7.332 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.956e-05/0.111, allocations: 83.69 kB / 423.8 MB, free: 7.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001683/0.1111, allocations: 159.2 kB / 423.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004855/0.1116, allocations: 434.3 kB / 424.4 MB, free: 6.668 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1116, allocations: 0 / 424.4 MB, free: 6.668 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.1116, allocations: 0 / 424.4 MB, free: 6.668 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.074e-06/0.1116, allocations: 0 / 424.4 MB, free: 6.668 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001387/0.113, allocations: 0.6602 MB / 425 MB, free: 5.953 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.1131, allocations: 11.89 kB / 425 MB, free: 5.941 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.904e-05/0.1132, allocations: 36.7 kB / 425.1 MB, free: 5.906 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004719/0.1136, allocations: 300.7 kB / 425.4 MB, free: 5.574 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.1137, allocations: 20.94 kB / 425.4 MB, free: 5.555 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.194e-05/0.1137, allocations: 24.38 kB / 425.4 MB, free: 5.531 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007387/0.1144, allocations: 319.9 kB / 425.7 MB, free: 5.211 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.1145, allocations: 4 kB / 425.7 MB, free: 5.207 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.805e-05/0.1145, allocations: 12 kB / 425.7 MB, free: 5.195 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.1145, allocations: 7.984 kB / 425.7 MB, free: 5.188 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008598/0.1154, allocations: 270.1 kB / 426 MB, free: 4.922 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002122/0.1175, allocations: 1.169 MB / 427.2 MB, free: 3.668 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009172/0.1184, allocations: 234.5 kB / 427.4 MB, free: 3.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003463/0.1188, allocations: 104.8 kB / 427.5 MB, free: 3.324 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/0.1188, allocations: 0 / 427.5 MB, free: 3.324 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004552/0.1192, allocations: 169 kB / 427.7 MB, free: 3.141 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/0.1192, allocations: 0 / 427.7 MB, free: 3.141 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.002185/0.1214, allocations: 0.6005 MB / 428.3 MB, free: 2.512 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.897e-05/0.1215, allocations: 81.05 kB / 428.4 MB, free: 2.414 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003157/0.1218, allocations: 262.6 kB / 428.6 MB, free: 2.148 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.102e-05/0.1218, allocations: 29.7 kB / 428.6 MB, free: 2.113 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/0.122, allocations: 199.9 kB / 428.8 MB, free: 1.914 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.345e-05/0.122, allocations: 43.67 kB / 428.9 MB, free: 1.871 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.21e-05/0.1221, allocations: 53.66 kB / 428.9 MB, free: 1.812 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.1223, allocations: 334.8 kB / 429.3 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000375/0.1227, allocations: 100.2 kB / 429.4 MB, free: 1.375 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000429/0.1231, allocations: 192.8 kB / 429.5 MB, free: 1.148 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007596/0.1238, allocations: 306.1 kB / 429.8 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.1239, allocations: 3.938 kB / 429.8 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001313/0.1252, allocations: 443.8 kB / 430.3 MB, free: 364 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.812e-05/0.1252, allocations: 37.64 kB / 430.3 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1252, allocations: 4.062 kB / 430.3 MB, free: 316 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000314/0.1255, allocations: 64.81 kB / 430.4 MB, free: 248 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002459/0.1258, allocations: 55.89 kB / 430.4 MB, free: 192 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002444/0.1282, allocations: 1.643 MB / 432.1 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003185/0.1285, allocations: 47.8 kB / 432.1 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.635e-05/0.1286, allocations: 12 kB / 432.1 MB, free: 14.35 MB / 366.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 (25): * Single equations (assignments): 23 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000171/0.1287, allocations: 145.7 kB / 432.3 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.013e-05/0.1288, allocations: 27.92 kB / 432.3 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.921e-05/0.1288, allocations: 21.7 kB / 432.3 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1288, allocations: 4 kB / 432.3 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.1288, allocations: 0 / 432.3 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.1288, allocations: 0 / 432.3 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003263/0.1292, allocations: 321.3 kB / 432.6 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.1292, allocations: 0 / 432.6 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002072/0.1294, allocations: 31.97 kB / 432.7 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002338/0.1296, allocations: 60.81 kB / 432.7 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.085e-05/0.1296, allocations: 8 kB / 432.7 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002302/0.1319, allocations: 1.625 MB / 434.4 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1319, allocations: 0 / 434.4 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00147/0.1334, allocations: 461.5 kB / 434.8 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001591/0.1336, allocations: 96.98 kB / 434.9 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.965e-05/0.1336, allocations: 16.06 kB / 434.9 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002393/0.1338, allocations: 23.97 kB / 435 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.263e-05/0.1339, allocations: 23.97 kB / 435 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.1339, allocations: 0 / 435 MB, free: 11.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002109/0.1341, allocations: 186 kB / 435.2 MB, free: 11.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1341, allocations: 0 / 435.2 MB, free: 11.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003406/0.1345, allocations: 71.89 kB / 435.2 MB, free: 11.02 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001661/0.1346, allocations: 111.2 kB / 435.3 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00102/0.1357, allocations: 397.9 kB / 435.7 MB, free: 10.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1357, allocations: 3.938 kB / 435.7 MB, free: 10.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004746/0.1361, allocations: 211.1 kB / 435.9 MB, free: 10.26 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.1365, allocations: 48.42 kB / 436 MB, free: 10.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003669/0.1401, allocations: 0.9092 MB / 436.9 MB, free: 9.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004052/0.1405, allocations: 0.7519 MB / 437.6 MB, free: 8.488 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.55e-05/0.1406, allocations: 19.44 kB / 437.7 MB, free: 8.469 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1406, allocations: 0 / 437.7 MB, free: 8.469 MB / 366.1 MB Notification: Performance of Templates: time 0.007254/0.1479, allocations: 4.585 MB / 442.2 MB, free: 3.898 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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: 7.0230716350488365]