Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.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.ControlCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|firstOrder1A.c.v|firstOrder1B.y|firstOrder2A.c.v|firstOrder2B.y|PIA.c.v|PIB.x|addA.opAmp.v_out|addB.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|firstOrder1A.c.v|firstOrder1B.y|firstOrder2A.c.v|firstOrder2B.y|PIA.c.v|PIB.x|addA.opAmp.v_out|addB.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00151/0.001518, allocations: 107.6 kB / 17.06 MB, free: 6.023 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.001769/0.001769, allocations: 191 kB / 18 MB, free: 5.105 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.569/1.569, allocations: 222.9 MB / 241.7 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 47.92 kB / 351.3 MB, free: 3.215 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3477, allocations: 49.44 MB / 400.8 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.0094/0.3571, allocations: 7.878 MB / 408.6 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004445/0.3616, allocations: 1.858 MB / 410.5 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007037/0.3624, allocations: 23.94 kB / 410.5 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005061/0.3629, allocations: 237.7 kB / 410.8 MB, free: 14.83 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000923/0.3639, allocations: 456.2 kB / 411.2 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009214/0.3648, allocations: 0.4955 MB / 411.7 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001709/0.3665, allocations: 1.806 MB / 413.5 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007964/0.3673, allocations: 0.6013 MB / 414.1 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006841/0.368, allocations: 0.6384 MB / 414.7 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006876/0.3687, allocations: 0.7233 MB / 415.5 MB, free: 10.08 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002009/0.3689, allocations: 180 kB / 415.6 MB, free: 9.902 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002312/0.3692, allocations: 176 kB / 415.8 MB, free: 9.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002781/0.3695, allocations: 354.8 kB / 416.2 MB, free: 9.383 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006663/0.3701, allocations: 0.7775 MB / 416.9 MB, free: 8.602 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001786/0.3719, allocations: 2.049 MB / 419 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.372, allocations: 0 / 419 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.372, allocations: 0 / 419 MB, free: 6.551 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.151e-05/0.372, allocations: 0 / 419 MB, free: 6.551 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: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.003135/0.3751, allocations: 1.785 MB / 420.8 MB, free: 4.711 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.3752, allocations: 8.031 kB / 420.8 MB, free: 4.703 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002269/0.3754, allocations: 163 kB / 420.9 MB, free: 4.543 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001013/0.3764, allocations: 0.7569 MB / 421.7 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.371e-05/0.3765, allocations: 98.39 kB / 421.8 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001771/0.3767, allocations: 124 kB / 421.9 MB, free: 3.527 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002256/0.379, allocations: 1.309 MB / 423.2 MB, free: 2.168 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.742e-05/0.379, allocations: 0 / 423.2 MB, free: 2.168 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.669e-05/0.3791, allocations: 48 kB / 423.3 MB, free: 2.121 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.415e-05/0.3791, allocations: 28 kB / 423.3 MB, free: 2.094 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002277/0.3814, allocations: 1.125 MB / 424.4 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007145/0.3886, allocations: 4.956 MB / 429.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002316/0.3909, allocations: 1.204 MB / 430.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001036/0.392, allocations: 0.5255 MB / 431.1 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.491e-05/0.3921, allocations: 12.64 kB / 431.1 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/0.3921, allocations: 43.22 kB / 431.2 MB, free: 9.918 MB / 350.1 MB Notification: Performance of pre-optimization done (n=79): time 2.444e-06/0.3921, allocations: 0 / 431.2 MB, free: 9.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=79): time 0.007774/0.3999, allocations: 2.94 MB / 434.1 MB, free: 6.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.989e-05/0.4, allocations: 89.77 kB / 434.2 MB, free: 6.734 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001164/0.4012, allocations: 0.802 MB / 435 MB, free: 5.922 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.472e-05/0.4013, allocations: 41.7 kB / 435 MB, free: 5.875 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004346/0.4017, allocations: 0.5919 MB / 435.6 MB, free: 5.273 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002603/0.402, allocations: 276 kB / 435.9 MB, free: 5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003649/0.4023, allocations: 166.6 kB / 436.1 MB, free: 4.828 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002818/0.4026, allocations: 353.8 kB / 436.4 MB, free: 4.477 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009301/0.4036, allocations: 373.8 kB / 436.8 MB, free: 4.113 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001136/0.4047, allocations: 0.5817 MB / 437.3 MB, free: 3.441 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001935/0.4067, allocations: 0.9558 MB / 438.3 MB, free: 2.395 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.836e-06/0.4067, allocations: 4 kB / 438.3 MB, free: 2.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002999/0.4097, allocations: 1.361 MB / 439.7 MB, free: 1.016 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.4097, allocations: 8 kB / 439.7 MB, free: 1.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.4097, allocations: 8 kB / 439.7 MB, free: 1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007928/0.4105, allocations: 227 kB / 439.9 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003261/0.4138, allocations: 0.8272 MB / 440.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01297/0.4268, allocations: 10.85 MB / 451.6 MB, free: 4.262 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/0.428, allocations: 142.8 kB / 451.7 MB, free: 4.121 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7e-05/0.4281, allocations: 36 kB / 451.8 MB, free: 4.086 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,7), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0005713/0.4287, allocations: 277.6 kB / 452 MB, free: 3.805 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001711/0.4288, allocations: 94.88 kB / 452.1 MB, free: 3.711 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001906/0.429, allocations: 112.8 kB / 452.2 MB, free: 3.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.4291, allocations: 8 kB / 452.2 MB, free: 3.582 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.314e-05/0.4291, allocations: 4 kB / 452.2 MB, free: 3.578 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.4291, allocations: 3.984 kB / 452.2 MB, free: 3.574 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004748/0.4338, allocations: 2.452 MB / 454.7 MB, free: 1.043 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.4339, allocations: 4 kB / 454.7 MB, free: 1.039 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005209/0.4344, allocations: 119.9 kB / 454.8 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001241/0.4356, allocations: 436.7 kB / 455.2 MB, free: 488 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.205e-05/0.4357, allocations: 16 kB / 455.3 MB, free: 472 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01203/0.4477, allocations: 10.88 MB / 466.1 MB, free: 4.738 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.4478, allocations: 3.938 kB / 466.1 MB, free: 4.734 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004529/0.4523, allocations: 1.936 MB / 468.1 MB, free: 2.758 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003687/0.4527, allocations: 187.8 kB / 468.3 MB, free: 2.555 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.504e-05/0.4528, allocations: 16 kB / 468.3 MB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000804/0.4536, allocations: 115.7 kB / 468.4 MB, free: 2.426 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001813/0.4538, allocations: 64.41 kB / 468.5 MB, free: 2.363 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.888e-05/0.4539, allocations: 20 kB / 468.5 MB, free: 2.344 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007372/0.4546, allocations: 0.5537 MB / 469 MB, free: 1.793 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4546, allocations: 0 / 469 MB, free: 1.793 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001317/0.456, allocations: 359 kB / 469.4 MB, free: 1.441 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (PIA.c.v,firstOrder1A.c.v,firstOrder2A.c.v,PIB.x,firstOrder1B.y,firstOrder2B.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(1,5), (1,5), (1,1), (1,7), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002322/0.4562, allocations: 127.2 kB / 469.5 MB, free: 1.309 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006484/0.4627, allocations: 1.99 MB / 471.5 MB, free: 15.28 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.788e-06/0.4627, allocations: 5.062 kB / 471.5 MB, free: 15.28 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001998/0.4647, allocations: 1.155 MB / 472.7 MB, free: 14.04 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001517/0.4663, allocations: 217.4 kB / 472.9 MB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004851/0.4712, allocations: 2.295 MB / 475.2 MB, free: 11.5 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007151/0.4719, allocations: 1.074 MB / 476.2 MB, free: 10.39 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005105/0.4724, allocations: 107.5 kB / 476.3 MB, free: 10.29 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001601/0.4726, allocations: 55.44 kB / 476.4 MB, free: 10.23 MB / 398.1 MB Notification: Performance of SimCode: time 1.493e-06/0.4726, allocations: 3.938 kB / 476.4 MB, free: 10.23 MB / 398.1 MB Notification: Performance of Templates: time 0.02965/0.5023, allocations: 14.63 MB / 491 MB, free: 11.72 MB / 414.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/ControlCircuit/ControlCircuit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches