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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 90.11 kB / 16.65 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 175.5 kB / 17.56 MB, free: 6.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.583/1.583, allocations: 223.2 MB / 241.6 MB, free: 116 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000327/0.0003271, allocations: 7.938 kB / 301.4 MB, free: 6.117 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.106, allocations: 50.42 MB / 351.8 MB, free: 3.691 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.003573/0.1096, allocations: 2.533 MB / 354.4 MB, free: 1.141 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001681/0.1113, allocations: 0.7091 MB / 355.1 MB, free: 436 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002687/0.1116, allocations: 4 kB / 355.1 MB, free: 432 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001929/0.1118, allocations: 39.69 kB / 355.1 MB, free: 392 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000306/0.1121, allocations: 83.39 kB / 355.2 MB, free: 308 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003639/0.1125, allocations: 99.91 kB / 355.3 MB, free: 208 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004994/0.113, allocations: 358.6 kB / 355.7 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002407/0.1133, allocations: 111.7 kB / 355.8 MB, free: 15.74 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002703/0.1136, allocations: 123.5 kB / 355.9 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002237/0.1138, allocations: 135.3 kB / 356 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.728e-05/0.1139, allocations: 20 kB / 356 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.985e-05/0.1139, allocations: 16 kB / 356.1 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.337e-05/0.114, allocations: 59.69 kB / 356.1 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000181/0.1142, allocations: 168.9 kB / 356.3 MB, free: 15.22 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003635/0.1146, allocations: 398.8 kB / 356.7 MB, free: 14.83 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.1146, allocations: 3.984 kB / 356.7 MB, free: 14.82 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.737e-06/0.1146, allocations: 0 / 356.7 MB, free: 14.82 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.412e-05/0.1146, allocations: 3.938 kB / 356.7 MB, free: 14.82 MB / 302.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.00129/0.1159, allocations: 0.6292 MB / 357.3 MB, free: 14.14 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.116, allocations: 12.03 kB / 357.3 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/0.1161, allocations: 36.56 kB / 357.4 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004277/0.1165, allocations: 288.6 kB / 357.6 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.654e-05/0.1166, allocations: 20.94 kB / 357.7 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.941e-05/0.1166, allocations: 20.38 kB / 357.7 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008285/0.1175, allocations: 332 kB / 358 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.1175, allocations: 0 / 358 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.352e-05/0.1175, allocations: 8 kB / 358 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.863e-05/0.1175, allocations: 8 kB / 358 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009041/0.1185, allocations: 310 kB / 358.3 MB, free: 13.08 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002301/0.1208, allocations: 1.212 MB / 359.5 MB, free: 11.78 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000993/0.1218, allocations: 270.6 kB / 359.8 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003583/0.1222, allocations: 120.8 kB / 359.9 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.1222, allocations: 3.938 kB / 359.9 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000516/0.1227, allocations: 192.9 kB / 360.1 MB, free: 11.18 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.904e-06/0.1227, allocations: 0 / 360.1 MB, free: 11.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.002186/0.1249, allocations: 0.6591 MB / 360.8 MB, free: 10.49 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.923e-05/0.125, allocations: 93.05 kB / 360.9 MB, free: 10.38 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003189/0.1253, allocations: 262.5 kB / 361.1 MB, free: 10.11 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.246e-05/0.1254, allocations: 33.7 kB / 361.1 MB, free: 10.07 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.1255, allocations: 191.5 kB / 361.3 MB, free: 9.879 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.971e-05/0.1256, allocations: 51.38 kB / 361.4 MB, free: 9.828 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.175e-05/0.1257, allocations: 25.7 kB / 361.4 MB, free: 9.797 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.1258, allocations: 330.8 kB / 361.7 MB, free: 9.465 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003974/0.1262, allocations: 120.2 kB / 361.8 MB, free: 9.344 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004389/0.1267, allocations: 204.5 kB / 362 MB, free: 9.105 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007781/0.1275, allocations: 331.7 kB / 362.4 MB, free: 8.738 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.1275, allocations: 4 kB / 362.4 MB, free: 8.734 MB / 302.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001285/0.1288, allocations: 479.7 kB / 362.8 MB, free: 8.25 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.039e-05/0.1289, allocations: 41.62 kB / 362.9 MB, free: 8.203 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.1289, allocations: 4 kB / 362.9 MB, free: 8.199 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003635/0.1292, allocations: 72.88 kB / 363 MB, free: 8.125 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002597/0.1295, allocations: 59.91 kB / 363 MB, free: 8.066 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00231/0.1318, allocations: 1.557 MB / 364.6 MB, free: 6.379 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003925/0.1322, allocations: 51.66 kB / 364.6 MB, free: 6.328 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.189e-05/0.1323, allocations: 16.06 kB / 364.6 MB, free: 6.312 MB / 302.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.0002338/0.1325, allocations: 148.8 kB / 364.8 MB, free: 6.16 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.643e-05/0.1326, allocations: 23.72 kB / 364.8 MB, free: 6.137 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.462e-05/0.1327, allocations: 25.7 kB / 364.8 MB, free: 6.113 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.1327, allocations: 4 kB / 364.8 MB, free: 6.109 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1327, allocations: 0 / 364.8 MB, free: 6.109 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.1327, allocations: 0 / 364.8 MB, free: 6.109 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004085/0.1331, allocations: 309.4 kB / 365.1 MB, free: 5.758 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.1331, allocations: 0 / 365.1 MB, free: 5.758 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002089/0.1333, allocations: 47.91 kB / 365.2 MB, free: 5.711 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002485/0.1336, allocations: 68.81 kB / 365.3 MB, free: 5.641 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/0.1336, allocations: 0 / 365.3 MB, free: 5.641 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00188/0.1355, allocations: 1.542 MB / 366.8 MB, free: 3.969 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.1355, allocations: 0 / 366.8 MB, free: 3.969 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001445/0.137, allocations: 0.4976 MB / 367.3 MB, free: 3.449 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.1371, allocations: 104.8 kB / 367.4 MB, free: 3.328 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.947e-05/0.1371, allocations: 0 / 367.4 MB, free: 3.328 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002572/0.1374, allocations: 48.02 kB / 367.4 MB, free: 3.281 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.083e-05/0.1375, allocations: 19.86 kB / 367.5 MB, free: 3.262 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.1375, allocations: 7.984 kB / 367.5 MB, free: 3.254 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000212/0.1377, allocations: 186 kB / 367.7 MB, free: 3.074 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1377, allocations: 3.938 kB / 367.7 MB, free: 3.07 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004064/0.1382, allocations: 71.84 kB / 367.7 MB, free: 3 MB / 302.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.0001684/0.1383, allocations: 103.2 kB / 367.8 MB, free: 2.887 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001044/0.1394, allocations: 438.3 kB / 368.3 MB, free: 2.434 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.1394, allocations: 64 / 368.3 MB, free: 2.434 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004685/0.1399, allocations: 234.5 kB / 368.5 MB, free: 2.191 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.1402, allocations: 45.3 kB / 368.5 MB, free: 2.148 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00355/0.1438, allocations: 1.029 MB / 369.6 MB, free: 1.09 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.1441, allocations: 0.7482 MB / 370.3 MB, free: 324 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001316/0.1443, allocations: 26.28 kB / 370.3 MB, free: 296 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.18e-05/0.1444, allocations: 19.44 kB / 370.3 MB, free: 276 kB / 302.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1444, allocations: 0 / 370.3 MB, free: 276 kB / 302.1 MB Notification: Performance of Templates: time 0.2191/0.3635, allocations: 3.315 MB / 373.7 MB, free: 24.12 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile (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) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches