Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001251/0.001251, allocations: 118.2 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001488/0.001488, allocations: 202 kB / 18.73 MB, free: 4.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001825, allocations: 59.89 kB / 358.7 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2932, allocations: 50.54 MB / 409.3 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.00859/0.3019, allocations: 7.891 MB / 417.2 MB, free: 9.668 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004414/0.3063, allocations: 1.897 MB / 419.1 MB, free: 7.766 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001135/0.3075, allocations: 23.94 kB / 419.1 MB, free: 7.742 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007489/0.3083, allocations: 245.6 kB / 419.3 MB, free: 7.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001602/0.3099, allocations: 440.2 kB / 419.8 MB, free: 7.066 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001031/0.311, allocations: 0.4955 MB / 420.3 MB, free: 6.57 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001908/0.3129, allocations: 1.794 MB / 422.1 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008143/0.3137, allocations: 0.6052 MB / 422.7 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008115/0.3146, allocations: 0.6422 MB / 423.3 MB, free: 3.492 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008141/0.3154, allocations: 0.7155 MB / 424 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002269/0.3156, allocations: 180 kB / 424.2 MB, free: 2.598 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002505/0.3159, allocations: 180 kB / 424.4 MB, free: 2.422 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000361/0.3162, allocations: 354.8 kB / 424.7 MB, free: 2.074 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009517/0.3172, allocations: 0.7814 MB / 425.5 MB, free: 1.289 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002044/0.3193, allocations: 2.051 MB / 427.5 MB, free: 15.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3193, allocations: 0 / 427.5 MB, free: 15.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3193, allocations: 0 / 427.5 MB, free: 15.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.3e-05/0.3193, allocations: 0 / 427.5 MB, free: 15.23 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: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.003713/0.3231, allocations: 1.823 MB / 429.4 MB, free: 13.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.344e-05/0.3231, allocations: 8.031 kB / 429.4 MB, free: 13.35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002718/0.3234, allocations: 164 kB / 429.5 MB, free: 13.19 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001285/0.3247, allocations: 0.7614 MB / 430.3 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001071/0.3248, allocations: 94.39 kB / 430.4 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001687/0.325, allocations: 127.9 kB / 430.5 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002679/0.3277, allocations: 1.312 MB / 431.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.869e-05/0.3277, allocations: 0 / 431.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/0.3278, allocations: 55.94 kB / 431.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.796e-05/0.3279, allocations: 32 kB / 431.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002426/0.3303, allocations: 1.118 MB / 433 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007446/0.3378, allocations: 4.966 MB / 438 MB, free: 4.402 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002465/0.3402, allocations: 1.223 MB / 439.2 MB, free: 3.117 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001102/0.3414, allocations: 0.5215 MB / 439.7 MB, free: 2.594 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.777e-05/0.3414, allocations: 12.66 kB / 439.8 MB, free: 2.582 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.821e-05/0.3415, allocations: 47.22 kB / 439.8 MB, free: 2.527 MB / 350.1 MB Notification: Performance of pre-optimization done (n=79): time 2.234e-06/0.3415, allocations: 0 / 439.8 MB, free: 2.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=79): time 0.008483/0.35, allocations: 2.94 MB / 442.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.909e-05/0.3501, allocations: 89.77 kB / 442.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001084/0.3511, allocations: 0.802 MB / 443.6 MB, free: 14.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.576e-05/0.3512, allocations: 37.7 kB / 443.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003903/0.3516, allocations: 0.6091 MB / 444.3 MB, free: 13.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002269/0.3519, allocations: 301.5 kB / 444.6 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002431/0.3521, allocations: 158.6 kB / 444.7 MB, free: 13.42 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.3523, allocations: 349.8 kB / 445.1 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008608/0.3531, allocations: 369.8 kB / 445.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009865/0.3541, allocations: 0.5778 MB / 446 MB, free: 12.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001851/0.356, allocations: 0.952 MB / 447 MB, free: 11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/0.356, allocations: 4 kB / 447 MB, free: 11 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003086/0.3591, allocations: 1.362 MB / 448.3 MB, free: 9.621 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.3591, allocations: 8.312 kB / 448.3 MB, free: 9.613 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.3592, allocations: 12 kB / 448.3 MB, free: 9.602 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007752/0.3599, allocations: 230.3 kB / 448.6 MB, free: 9.367 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0035/0.3634, allocations: 0.835 MB / 449.4 MB, free: 8.531 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01315/0.3766, allocations: 10.83 MB / 460.2 MB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009968/0.3776, allocations: 151.2 kB / 460.4 MB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.908e-05/0.3777, allocations: 39.94 kB / 460.4 MB, free: 12.68 MB / 382.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.0004649/0.3782, allocations: 273.5 kB / 460.7 MB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001612/0.3783, allocations: 103.3 kB / 460.8 MB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001755/0.3785, allocations: 108.8 kB / 460.9 MB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/0.3785, allocations: 16 kB / 460.9 MB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/0.3786, allocations: 4 kB / 460.9 MB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.3786, allocations: 7.922 kB / 460.9 MB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004815/0.3834, allocations: 2.456 MB / 463.4 MB, free: 9.621 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.3834, allocations: 4 kB / 463.4 MB, free: 9.617 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005304/0.384, allocations: 119.9 kB / 463.5 MB, free: 9.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001316/0.3853, allocations: 428.8 kB / 463.9 MB, free: 9.062 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.007e-05/0.3853, allocations: 19.98 kB / 463.9 MB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01191/0.3973, allocations: 10.89 MB / 474.8 MB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3973, allocations: 3.938 kB / 474.8 MB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004636/0.4019, allocations: 1.948 MB / 476.8 MB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003229/0.4023, allocations: 192.3 kB / 477 MB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.871e-05/0.4024, allocations: 16 kB / 477 MB, free: 11.1 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000786/0.4032, allocations: 103.8 kB / 477.1 MB, free: 11 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001651/0.4034, allocations: 68.42 kB / 477.2 MB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.791e-05/0.4034, allocations: 23.98 kB / 477.2 MB, free: 10.91 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000678/0.4041, allocations: 0.5459 MB / 477.7 MB, free: 10.37 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4041, allocations: 0 / 477.7 MB, free: 10.37 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001159/0.4053, allocations: 363.2 kB / 478.1 MB, free: 10.01 MB / 398.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.0001707/0.4054, allocations: 134.5 kB / 478.2 MB, free: 9.875 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005555/0.411, allocations: 1.995 MB / 480.2 MB, free: 7.844 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.411, allocations: 0 / 480.2 MB, free: 7.844 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00158/0.4126, allocations: 1.164 MB / 481.4 MB, free: 6.602 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/0.4137, allocations: 209.1 kB / 481.6 MB, free: 6.402 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004298/0.418, allocations: 2.323 MB / 483.9 MB, free: 4.035 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006174/0.4186, allocations: 1.078 MB / 485 MB, free: 2.93 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003611/0.419, allocations: 91.52 kB / 485.1 MB, free: 2.836 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001502/0.4191, allocations: 63.38 kB / 485.1 MB, free: 2.773 MB / 398.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4192, allocations: 4 kB / 485.1 MB, free: 2.77 MB / 398.1 MB Notification: Performance of Templates: time 0.02281/0.442, allocations: 14.62 MB / 499.7 MB, free: 4.266 MB / 414.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches