Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001664/0.001664, allocations: 201.6 kB / 17.43 MB, free: 4.375 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 229.5 MB / 247.7 MB, free: 6.363 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009124/0.0009126, allocations: 98.61 kB / 299.8 MB, free: 5.363 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002528/0.0002529, allocations: 8 kB / 360.7 MB, free: 8.484 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3324, allocations: 51.41 MB / 412.1 MB, free: 25.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.006735/0.3393, allocations: 6.895 MB / 419 MB, free: 19 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005005/0.3443, allocations: 2.015 MB / 421 MB, free: 16.95 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00127/0.3457, allocations: 27.88 kB / 421 MB, free: 16.92 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005169/0.3462, allocations: 170.7 kB / 421.2 MB, free: 16.75 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001073/0.3473, allocations: 385.1 kB / 421.5 MB, free: 16.38 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009187/0.3482, allocations: 443.6 kB / 422 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001301/0.3495, allocations: 1.696 MB / 423.7 MB, free: 14.24 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006657/0.3502, allocations: 0.5097 MB / 424.2 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005483/0.3508, allocations: 0.5095 MB / 424.7 MB, free: 13.19 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005229/0.3513, allocations: 0.6101 MB / 425.3 MB, free: 12.58 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000116/0.3514, allocations: 76 kB / 425.4 MB, free: 12.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001547/0.3516, allocations: 80 kB / 425.5 MB, free: 12.43 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001734/0.3518, allocations: 238.8 kB / 425.7 MB, free: 12.19 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004791/0.3523, allocations: 0.6855 MB / 426.4 MB, free: 11.5 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001349/0.3536, allocations: 1.897 MB / 428.3 MB, free: 9.594 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.425e-06/0.3536, allocations: 7.922 kB / 428.3 MB, free: 9.586 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.356e-06/0.3536, allocations: 0 / 428.3 MB, free: 9.586 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.123e-05/0.3537, allocations: 0 / 428.3 MB, free: 9.586 MB / 298.7 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.002765/0.3564, allocations: 1.583 MB / 429.9 MB, free: 7.949 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.3565, allocations: 8.031 kB / 429.9 MB, free: 7.941 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002568/0.3568, allocations: 163.1 kB / 430 MB, free: 7.781 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008782/0.3577, allocations: 0.7374 MB / 430.8 MB, free: 7 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.501e-05/0.3577, allocations: 98.39 kB / 430.9 MB, free: 6.902 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001365/0.3579, allocations: 120 kB / 431 MB, free: 6.785 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002242/0.3601, allocations: 1.32 MB / 432.3 MB, free: 5.414 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.652e-05/0.3602, allocations: 4 kB / 432.3 MB, free: 5.41 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/0.3603, allocations: 51.98 kB / 432.4 MB, free: 5.359 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.384e-05/0.3603, allocations: 28 kB / 432.4 MB, free: 5.332 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002231/0.3625, allocations: 1.149 MB / 433.5 MB, free: 4.176 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007265/0.3698, allocations: 5.062 MB / 438.6 MB, free: 14.89 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002465/0.3723, allocations: 1.242 MB / 439.8 MB, free: 13.59 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001208/0.3735, allocations: 0.5529 MB / 440.4 MB, free: 13.03 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.691e-05/0.3736, allocations: 16.59 kB / 440.4 MB, free: 13.02 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.753e-05/0.3737, allocations: 39.22 kB / 440.4 MB, free: 12.96 MB / 314.7 MB Notification: Performance of pre-optimization done (n=79): time 2.985e-06/0.3737, allocations: 4 kB / 440.4 MB, free: 12.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=79): time 0.008776/0.3825, allocations: 3.158 MB / 443.6 MB, free: 9.672 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.5e-05/0.3826, allocations: 93.69 kB / 443.7 MB, free: 9.562 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001394/0.384, allocations: 0.8057 MB / 444.5 MB, free: 8.746 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.728e-05/0.3841, allocations: 41.7 kB / 444.5 MB, free: 8.699 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005527/0.3847, allocations: 0.5843 MB / 445.1 MB, free: 8.105 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002809/0.3849, allocations: 279.9 kB / 445.4 MB, free: 7.828 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.034e-05/0.385, allocations: 16 kB / 445.4 MB, free: 7.812 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.3852, allocations: 353.8 kB / 445.8 MB, free: 7.461 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009131/0.3861, allocations: 385.8 kB / 446.1 MB, free: 7.082 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001131/0.3872, allocations: 0.6051 MB / 446.7 MB, free: 6.387 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002011/0.3893, allocations: 0.9833 MB / 447.7 MB, free: 5.316 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.3893, allocations: 4 kB / 447.7 MB, free: 5.312 MB / 314.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003401/0.3927, allocations: 1.412 MB / 449.1 MB, free: 3.883 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.941e-05/0.3927, allocations: 8 kB / 449.2 MB, free: 3.875 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/0.3928, allocations: 8 kB / 449.2 MB, free: 3.867 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009018/0.3937, allocations: 234.7 kB / 449.4 MB, free: 3.629 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003614/0.3973, allocations: 0.9326 MB / 450.3 MB, free: 2.695 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01346/0.4108, allocations: 10.21 MB / 460.5 MB, free: 7.688 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/0.4121, allocations: 162.8 kB / 460.7 MB, free: 7.527 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.088e-05/0.4122, allocations: 32 kB / 460.7 MB, free: 7.496 MB / 330.7 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.0007263/0.4129, allocations: 279.6 kB / 461 MB, free: 7.215 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000184/0.4131, allocations: 98.88 kB / 461.1 MB, free: 7.117 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000178/0.4133, allocations: 104.9 kB / 461.2 MB, free: 7.008 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.4133, allocations: 8 kB / 461.2 MB, free: 7 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.556e-05/0.4133, allocations: 3.984 kB / 461.2 MB, free: 6.996 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.4133, allocations: 7.984 kB / 461.2 MB, free: 6.988 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005418/0.4188, allocations: 2.537 MB / 463.7 MB, free: 4.367 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.4188, allocations: 0 / 463.7 MB, free: 4.367 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000561/0.4194, allocations: 127.9 kB / 463.9 MB, free: 4.242 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001398/0.4208, allocations: 452.8 kB / 464.3 MB, free: 3.781 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.839e-05/0.4208, allocations: 16 kB / 464.3 MB, free: 3.766 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01374/0.4346, allocations: 10.11 MB / 474.4 MB, free: 8.852 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.4347, allocations: 0 / 474.4 MB, free: 8.852 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006922/0.4416, allocations: 2.048 MB / 476.5 MB, free: 6.762 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005939/0.4423, allocations: 183.8 kB / 476.7 MB, free: 6.562 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001613/0.4424, allocations: 27.94 kB / 476.7 MB, free: 6.535 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001088/0.4435, allocations: 119.9 kB / 476.8 MB, free: 6.418 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003019/0.4439, allocations: 60.47 kB / 476.9 MB, free: 6.359 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.873e-05/0.444, allocations: 20 kB / 476.9 MB, free: 6.34 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00112/0.4451, allocations: 0.5497 MB / 477.4 MB, free: 5.797 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4451, allocations: 0 / 477.4 MB, free: 5.797 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001972/0.4471, allocations: 359 kB / 477.8 MB, free: 5.445 MB / 346.7 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.0003596/0.4475, allocations: 139.1 kB / 477.9 MB, free: 5.301 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.008184/0.4557, allocations: 2.135 MB / 480.1 MB, free: 3.125 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.133e-05/0.4557, allocations: 0 / 480.1 MB, free: 3.125 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002401/0.4581, allocations: 1.176 MB / 481.2 MB, free: 1.871 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002049/0.4602, allocations: 196.3 kB / 481.4 MB, free: 1.676 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008042/0.4683, allocations: 2.917 MB / 484.3 MB, free: 14.72 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00107/0.4694, allocations: 1.074 MB / 485.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0008413/0.4703, allocations: 103.6 kB / 485.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002132/0.4705, allocations: 55.44 kB / 485.6 MB, free: 13.46 MB / 362.7 MB Notification: Performance of SimCode: time 1.553e-06/0.4705, allocations: 0 / 485.6 MB, free: 13.46 MB / 362.7 MB Notification: Performance of Templates: time 0.03659/0.5071, allocations: 13.33 MB / 498.9 MB, free: 188 kB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches