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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001848/0.001848, allocations: 109 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002064/0.002064, allocations: 213.9 kB / 24.54 MB, free: 4.02 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.521/1.521, allocations: 230.3 MB / 258 MB, free: 8.219 MB / 206.1 MB
"
[Timeout remaining time 178]
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=1000,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=1000,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") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 67.83 kB / 378.8 MB, free: 2.742 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3003/0.3021, allocations: 53.36 MB / 432.2 MB, free: 7.066 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.009555/0.3117, allocations: 7.943 MB / 440.1 MB, free: 15.09 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.004657/0.3164, allocations: 1.909 MB / 442 MB, free: 13.18 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001552/0.3179, allocations: 27.88 kB / 442 MB, free: 13.15 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0007393/0.3186, allocations: 241.7 kB / 442.3 MB, free: 12.91 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001413/0.3201, allocations: 460.2 kB / 442.7 MB, free: 12.46 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001213/0.3213, allocations: 0.4955 MB / 443.2 MB, free: 11.96 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.002434/0.3237, allocations: 1.794 MB / 445 MB, free: 10.16 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0007885/0.3245, allocations: 448.3 kB / 445.4 MB, free: 9.695 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.00104/0.3255, allocations: 0.654 MB / 446.1 MB, free: 9.039 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0009122/0.3264, allocations: 0.7195 MB / 446.8 MB, free: 8.316 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0002393/0.3267, allocations: 180 kB / 447 MB, free: 8.141 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002653/0.327, allocations: 180 kB / 447.2 MB, free: 7.965 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0003131/0.3273, allocations: 346.8 kB / 447.5 MB, free: 7.625 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0007893/0.3281, allocations: 0.7814 MB / 448.3 MB, free: 6.84 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.002364/0.3304, allocations: 2.052 MB / 450.3 MB, free: 4.785 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.3304, allocations: 0 / 450.3 MB, free: 4.785 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.443e-06/0.3304, allocations: 3.938 kB / 450.3 MB, free: 4.781 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 3.27e-05/0.3305, allocations: 0 / 450.3 MB, free: 4.781 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.003965/0.3344, allocations: 1.755 MB / 452.1 MB, free: 2.988 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.3345, allocations: 8.031 kB / 452.1 MB, free: 2.98 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002731/0.3347, allocations: 164 kB / 452.3 MB, free: 2.82 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/0.336, allocations: 0.6932 MB / 453 MB, free: 2.102 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.57e-05/0.3361, allocations: 98.39 kB / 453.1 MB, free: 2.004 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001716/0.3363, allocations: 120 kB / 453.2 MB, free: 1.887 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.00261/0.3389, allocations: 1.309 MB / 454.5 MB, free: 0.5273 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.464e-05/0.3389, allocations: 3.984 kB / 454.5 MB, free: 0.5234 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000116/0.339, allocations: 52 kB / 454.5 MB, free: 484 kB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.222e-05/0.339, allocations: 28 kB / 454.6 MB, free: 456 kB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002655/0.3417, allocations: 1.122 MB / 455.7 MB, free: 15.32 MB / 366.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008405/0.3501, allocations: 4.871 MB / 460.6 MB, free: 10.22 MB / 366.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.002516/0.3526, allocations: 0.9987 MB / 461.6 MB, free: 9.199 MB / 366.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001183/0.3538, allocations: 486.1 kB / 462 MB, free: 8.723 MB / 366.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 4.816e-05/0.3539, allocations: 12.8 kB / 462 MB, free: 8.711 MB / 366.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.756e-05/0.3539, allocations: 43.22 kB / 462.1 MB, free: 8.66 MB / 366.1 MB
Notification: Performance of pre-optimization done (n=79): time 2.876e-06/0.3539, allocations: 7.938 kB / 462.1 MB, free: 8.652 MB / 366.1 MB
Notification: Performance of matching and sorting (n=79): time 0.009165/0.3631, allocations: 2.473 MB / 464.6 MB, free: 6.152 MB / 366.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.269e-05/0.3631, allocations: 89.77 kB / 464.7 MB, free: 6.047 MB / 366.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001477/0.3646, allocations: 0.8097 MB / 465.5 MB, free: 5.23 MB / 366.1 MB
Notification: Performance of collectPreVariables (initialization): time 8.934e-05/0.3647, allocations: 45.7 kB / 465.5 MB, free: 5.18 MB / 366.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0005506/0.3653, allocations: 0.6091 MB / 466.1 MB, free: 4.562 MB / 366.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0002864/0.3655, allocations: 285.5 kB / 466.4 MB, free: 4.281 MB / 366.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002826/0.3658, allocations: 174.5 kB / 466.6 MB, free: 4.105 MB / 366.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001744/0.366, allocations: 345.9 kB / 466.9 MB, free: 3.762 MB / 366.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009573/0.367, allocations: 369.8 kB / 467.3 MB, free: 3.398 MB / 366.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001127/0.3681, allocations: 0.5785 MB / 467.8 MB, free: 2.734 MB / 366.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001977/0.3701, allocations: 0.952 MB / 468.8 MB, free: 1.695 MB / 366.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.3701, allocations: 0 / 468.8 MB, free: 1.695 MB / 366.1 MB
Notification: Performance of matching and sorting (n=125) (initialization): time 0.003376/0.3734, allocations: 1.354 MB / 470.2 MB, free: 328 kB / 366.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.722e-05/0.3735, allocations: 10.5 kB / 470.2 MB, free: 320 kB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.972e-05/0.3735, allocations: 12 kB / 470.2 MB, free: 308 kB / 366.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0008504/0.3743, allocations: 234.6 kB / 470.4 MB, free: 64 kB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003841/0.3782, allocations: 0.8272 MB / 471.2 MB, free: 15.23 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01539/0.3936, allocations: 10.22 MB / 481.5 MB, free: 4.324 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/0.3947, allocations: 147.2 kB / 481.6 MB, free: 4.18 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.909e-05/0.3948, allocations: 36 kB / 481.6 MB, free: 4.145 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.0005845/0.3954, allocations: 274 kB / 481.9 MB, free: 3.867 MB / 382.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002123/0.3956, allocations: 103.3 kB / 482 MB, free: 3.766 MB / 382.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002197/0.3958, allocations: 112.8 kB / 482.1 MB, free: 3.652 MB / 382.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/0.3958, allocations: 11.98 kB / 482.1 MB, free: 3.641 MB / 382.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-05/0.3958, allocations: 0 / 482.1 MB, free: 3.641 MB / 382.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.699e-06/0.3958, allocations: 7.984 kB / 482.1 MB, free: 3.633 MB / 382.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00562/0.4015, allocations: 2.422 MB / 484.6 MB, free: 1.137 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.4015, allocations: 0 / 484.6 MB, free: 1.137 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005773/0.402, allocations: 119.9 kB / 484.7 MB, free: 1.02 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.001444/0.4035, allocations: 428.7 kB / 485.1 MB, free: 0.582 MB / 382.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.309e-05/0.4035, allocations: 16 kB / 485.1 MB, free: 0.5664 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01504/0.4186, allocations: 10.29 MB / 495.4 MB, free: 5.59 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.4186, allocations: 0 / 495.4 MB, free: 5.59 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005361/0.424, allocations: 1.937 MB / 497.3 MB, free: 3.609 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0003834/0.4243, allocations: 115.2 kB / 497.4 MB, free: 3.496 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.4245, allocations: 27.92 kB / 497.5 MB, free: 3.469 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008145/0.4253, allocations: 103.9 kB / 497.6 MB, free: 3.367 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002042/0.4255, allocations: 64.47 kB / 497.6 MB, free: 3.305 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.68e-05/0.4255, allocations: 27.98 kB / 497.7 MB, free: 3.277 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0009333/0.4265, allocations: 0.5459 MB / 498.2 MB, free: 2.734 MB / 398.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.4265, allocations: 0 / 498.2 MB, free: 2.734 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.001643/0.4281, allocations: 363.3 kB / 498.6 MB, free: 2.379 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.0002681/0.4284, allocations: 127.4 kB / 498.7 MB, free: 2.242 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.00629/0.4347, allocations: 1.956 MB / 0.4889 GB, free: 252 kB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 6.523e-06/0.4347, allocations: 1.062 kB / 0.4889 GB, free: 252 kB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.001998/0.4367, allocations: 1.14 MB / 0.49 GB, free: 15.03 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/0.438, allocations: 215 kB / 0.4902 GB, free: 14.84 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005525/0.4435, allocations: 2.321 MB / 0.4925 GB, free: 12.48 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009146/0.4444, allocations: 1.081 MB / 0.4936 GB, free: 11.37 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 0.0004337/0.4448, allocations: 103.5 kB / 0.4937 GB, free: 11.26 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001522/0.445, allocations: 55.44 kB / 0.4937 GB, free: 11.21 MB / 414.1 MB
Notification: Performance of SimCode: time 1.984e-06/0.445, allocations: 0 / 0.4937 GB, free: 11.21 MB / 414.1 MB
Notification: Performance of Templates: time 0.02976/0.4747, allocations: 15.36 MB / 0.5087 GB, free: 11.95 MB / 430.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.makefile [Timeout 660]
(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) [Timeout 480]
diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660]
""
[Timeout remaining time 660]
Reference file matches
[Calling sys.exit(0), Time elapsed: 5.414002299308777]