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.001348/0.001348, allocations: 112.5 kB / 17.7 MB, free: 5.434 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.00166/0.00166, allocations: 191 kB / 18.63 MB, free: 4.504 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.634/1.634, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001088/0.001088, allocations: 47.88 kB / 302.1 MB, free: 5.18 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1267, allocations: 49.44 MB / 351.5 MB, free: 3.711 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.009505/0.1362, allocations: 7.864 MB / 359.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004795/0.1411, allocations: 1.87 MB / 361.2 MB, free: 9.926 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001094/0.1422, allocations: 31.81 kB / 361.3 MB, free: 9.895 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006419/0.1429, allocations: 237.7 kB / 361.5 MB, free: 9.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001225/0.1441, allocations: 440.3 kB / 361.9 MB, free: 9.227 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001261/0.1454, allocations: 0.4915 MB / 362.4 MB, free: 8.734 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001928/0.1474, allocations: 1.806 MB / 364.2 MB, free: 6.922 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001004/0.1484, allocations: 0.6091 MB / 364.8 MB, free: 6.289 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001029/0.1495, allocations: 0.6384 MB / 365.5 MB, free: 5.648 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000865/0.1504, allocations: 0.7156 MB / 366.2 MB, free: 4.93 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002208/0.1506, allocations: 179.9 kB / 366.4 MB, free: 4.754 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002465/0.1508, allocations: 180 kB / 366.6 MB, free: 4.578 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003347/0.1512, allocations: 354.8 kB / 366.9 MB, free: 4.23 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008648/0.1521, allocations: 0.7775 MB / 367.7 MB, free: 3.449 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002372/0.1544, allocations: 2.044 MB / 369.7 MB, free: 1.398 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.1545, allocations: 0 / 369.7 MB, free: 1.398 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.717e-06/0.1545, allocations: 0 / 369.7 MB, free: 1.398 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.627e-05/0.1545, allocations: 0 / 369.7 MB, free: 1.398 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: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.2651/0.4196, allocations: 1.788 MB / 371.5 MB, free: 25.25 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.751e-05/0.4197, allocations: 9.812 kB / 371.5 MB, free: 25.25 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003889/0.4201, allocations: 154.2 kB / 371.7 MB, free: 25.18 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001473/0.4216, allocations: 0.7576 MB / 372.4 MB, free: 24.67 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/0.4217, allocations: 96.42 kB / 372.5 MB, free: 24.62 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002206/0.4219, allocations: 126 kB / 372.6 MB, free: 24.58 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003131/0.425, allocations: 1.308 MB / 374 MB, free: 24.02 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.983e-05/0.4251, allocations: 3.938 kB / 374 MB, free: 24.01 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001218/0.4252, allocations: 56.62 kB / 374 MB, free: 23.97 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-05/0.4253, allocations: 29.25 kB / 374 MB, free: 23.97 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00289/0.4282, allocations: 1.12 MB / 375.2 MB, free: 23.59 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009337/0.4375, allocations: 4.938 MB / 380.1 MB, free: 20.64 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002632/0.4402, allocations: 1.212 MB / 381.3 MB, free: 20.02 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001307/0.4416, allocations: 0.5239 MB / 381.8 MB, free: 19.84 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.999e-05/0.4417, allocations: 16.52 kB / 381.9 MB, free: 19.84 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.089e-05/0.4417, allocations: 49.78 kB / 381.9 MB, free: 19.79 MB / 302.1 MB Notification: Performance of pre-optimization done (n=79): time 3.757e-06/0.4417, allocations: 1.641 kB / 381.9 MB, free: 19.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=79): time 0.01048/0.4522, allocations: 2.921 MB / 384.8 MB, free: 18.67 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.796e-05/0.4524, allocations: 94.14 kB / 384.9 MB, free: 18.57 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001639/0.4541, allocations: 0.8112 MB / 385.7 MB, free: 18.22 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001236/0.4542, allocations: 45.61 kB / 385.8 MB, free: 18.18 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004471/0.4546, allocations: 0.5851 MB / 386.4 MB, free: 17.68 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002475/0.4549, allocations: 281.8 kB / 386.6 MB, free: 17.44 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000328/0.4552, allocations: 165.2 kB / 386.8 MB, free: 17.34 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.4553, allocations: 343.6 kB / 387.1 MB, free: 17.01 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009795/0.4563, allocations: 370 kB / 387.5 MB, free: 16.84 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001057/0.4574, allocations: 0.5784 MB / 388.1 MB, free: 16.4 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002206/0.4596, allocations: 0.9582 MB / 389 MB, free: 15.78 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.598e-05/0.4597, allocations: 2.938 kB / 389 MB, free: 15.78 MB / 302.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00342/0.4631, allocations: 1.355 MB / 390.4 MB, free: 15.13 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.006e-05/0.4631, allocations: 7.688 kB / 390.4 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.579e-05/0.4632, allocations: 11.31 kB / 390.4 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009858/0.4642, allocations: 218.3 kB / 390.6 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003654/0.4678, allocations: 0.8327 MB / 391.4 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01249/0.4803, allocations: 10.85 MB / 402.3 MB, free: 4.625 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/0.4819, allocations: 139 kB / 402.4 MB, free: 4.488 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-05/0.4819, allocations: 36 kB / 402.5 MB, free: 4.453 MB / 302.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.0007318/0.4827, allocations: 281.5 kB / 402.7 MB, free: 4.168 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002392/0.4829, allocations: 106.8 kB / 402.8 MB, free: 4.062 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001836/0.4831, allocations: 108.9 kB / 403 MB, free: 3.953 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.248e-06/0.4831, allocations: 8.875 kB / 403 MB, free: 3.945 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.177e-05/0.4832, allocations: 0 / 403 MB, free: 3.945 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-06/0.4832, allocations: 3.984 kB / 403 MB, free: 3.941 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004846/0.488, allocations: 2.459 MB / 405.4 MB, free: 1.426 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/0.4881, allocations: 0 / 405.4 MB, free: 1.426 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005254/0.4886, allocations: 115.9 kB / 405.5 MB, free: 1.312 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001223/0.4899, allocations: 435.4 kB / 406 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.289e-05/0.4899, allocations: 16 kB / 406 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01406/0.504, allocations: 10.89 MB / 416.9 MB, free: 5.133 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.5041, allocations: 4.031 kB / 416.9 MB, free: 5.129 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005098/0.5092, allocations: 1.94 MB / 418.8 MB, free: 3.137 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006046/0.5098, allocations: 191.7 kB / 419 MB, free: 2.93 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/0.5099, allocations: 16 kB / 419 MB, free: 2.914 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008082/0.5108, allocations: 103.9 kB / 419.1 MB, free: 2.812 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002159/0.511, allocations: 64.41 kB / 419.2 MB, free: 2.75 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.493e-05/0.511, allocations: 20 kB / 419.2 MB, free: 2.73 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008724/0.5119, allocations: 0.5575 MB / 419.8 MB, free: 2.176 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.5119, allocations: 0 / 419.8 MB, free: 2.176 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001627/0.5136, allocations: 359 kB / 420.1 MB, free: 1.824 MB / 318.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.0002583/0.5138, allocations: 127.1 kB / 420.2 MB, free: 1.688 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.006211/0.5201, allocations: 1.994 MB / 422.2 MB, free: 15.67 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.398e-05/0.5201, allocations: 0 / 422.2 MB, free: 15.67 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001948/0.5221, allocations: 1.16 MB / 423.4 MB, free: 14.42 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001427/0.5235, allocations: 205.3 kB / 423.6 MB, free: 14.23 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005678/0.5292, allocations: 2.288 MB / 425.9 MB, free: 11.91 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001105/0.5304, allocations: 1.077 MB / 427 MB, free: 10.8 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0006524/0.5311, allocations: 103.5 kB / 427.1 MB, free: 10.7 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002103/0.5313, allocations: 59.44 kB / 427.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of SimCode: time 2.905e-06/0.5313, allocations: 0 / 427.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of Templates: time 0.03485/0.5662, allocations: 14.39 MB / 441.5 MB, free: 12.39 MB / 350.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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/ControlCircuit/ControlCircuit.csv","/var/lib/jenkins1/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