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.0007995/0.0007995, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003422/0.003422, allocations: 160.6 kB / 24.7 MB, free: 9.441 MB / 18.57 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 0.8563/0.8563, allocations: 177 MB / 204.9 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 1.493e-06/1.493e-06, allocations: 0 / 325.8 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.584e-05/2.733e-05, allocations: 3.125 kB / 325.8 MB, free: 15.21 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.007158/0.007185, allocations: 6.975 MB / 332.8 MB, free: 8.191 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002963/0.01015, allocations: 1.796 MB / 334.6 MB, free: 6.391 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000646/0.01079, allocations: 31.81 kB / 334.6 MB, free: 6.359 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003499/0.01114, allocations: 237.6 kB / 334.9 MB, free: 6.125 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006197/0.01176, allocations: 0.4997 MB / 335.4 MB, free: 5.621 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005002/0.01226, allocations: 415.5 kB / 335.8 MB, free: 5.215 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001038/0.0133, allocations: 1.863 MB / 337.6 MB, free: 3.344 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004478/0.01375, allocations: 412.5 kB / 338 MB, free: 2.922 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006345/0.01438, allocations: 0.9939 MB / 339 MB, free: 1.926 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004111/0.0148, allocations: 0.5257 MB / 339.6 MB, free: 1.398 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001356/0.01493, allocations: 184 kB / 339.7 MB, free: 1.215 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.01507, allocations: 183.9 kB / 339.9 MB, free: 1.035 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001652/0.01523, allocations: 374.6 kB / 340.3 MB, free: 0.668 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003101/0.01554, allocations: 0.5533 MB / 340.8 MB, free: 116 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00125/0.01679, allocations: 2.138 MB / 343 MB, free: 13.97 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.0168, allocations: 0 / 343 MB, free: 13.97 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.0168, allocations: 0 / 343 MB, free: 13.97 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.712e-05/0.01683, allocations: 0 / 343 MB, free: 13.97 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.002331/0.01916, allocations: 1.666 MB / 344.6 MB, free: 12.27 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.0192, allocations: 12.03 kB / 344.7 MB, free: 12.25 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002243/0.01943, allocations: 171.9 kB / 344.8 MB, free: 12.09 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/0.02054, allocations: 0.73 MB / 345.5 MB, free: 11.32 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.015e-05/0.02061, allocations: 94.95 kB / 345.6 MB, free: 11.23 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001627/0.02077, allocations: 135.9 kB / 345.8 MB, free: 11.1 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002152/0.02292, allocations: 1.723 MB / 347.5 MB, free: 9.23 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.44e-05/0.02295, allocations: 0 / 347.5 MB, free: 9.23 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.354e-05/0.02304, allocations: 52 kB / 347.5 MB, free: 9.18 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.444e-05/0.02306, allocations: 32 kB / 347.6 MB, free: 9.148 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001678/0.02474, allocations: 1.009 MB / 348.6 MB, free: 8.133 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005928/0.03067, allocations: 3.823 MB / 352.4 MB, free: 4.145 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001306/0.03198, allocations: 0.8333 MB / 353.2 MB, free: 3.293 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006601/0.03264, allocations: 427.5 kB / 353.7 MB, free: 2.871 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.546e-05/0.03268, allocations: 16.98 kB / 353.7 MB, free: 2.855 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.32e-05/0.03272, allocations: 47.56 kB / 353.7 MB, free: 2.797 MB / 314.7 MB Notification: Performance of pre-optimization done (n=94): time 3.948e-06/0.03273, allocations: 4 kB / 353.7 MB, free: 2.793 MB / 314.7 MB Notification: Performance of matching and sorting (n=94): time 0.003524/0.03625, allocations: 1.711 MB / 355.4 MB, free: 1.062 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.0363, allocations: 86.11 kB / 355.5 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006693/0.03697, allocations: 0.7583 MB / 356.3 MB, free: 196 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.518e-05/0.03701, allocations: 49.64 kB / 356.3 MB, free: 140 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002738/0.03729, allocations: 0.6056 MB / 356.9 MB, free: 15.52 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001711/0.03746, allocations: 329.1 kB / 357.3 MB, free: 15.2 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001711/0.03763, allocations: 186.9 kB / 357.4 MB, free: 15.01 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.03776, allocations: 402.7 kB / 357.8 MB, free: 14.61 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003624/0.03812, allocations: 306.5 kB / 358.1 MB, free: 14.31 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004299/0.03855, allocations: 0.4908 MB / 358.6 MB, free: 13.74 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008086/0.03936, allocations: 0.8165 MB / 359.4 MB, free: 12.86 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.03936, allocations: 0 / 359.4 MB, free: 12.86 MB / 330.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.00154/0.0409, allocations: 1.306 MB / 360.7 MB, free: 11.52 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.04092, allocations: 8 kB / 360.8 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.04094, allocations: 11.94 kB / 360.8 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007657/0.0417, allocations: 400.8 kB / 361.2 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003667/0.04207, allocations: 191.7 kB / 361.3 MB, free: 10.9 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006381/0.04845, allocations: 10.01 MB / 371.4 MB, free: 260 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004583/0.04891, allocations: 111.3 kB / 371.5 MB, free: 148 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.67e-05/0.04896, allocations: 40 kB / 371.5 MB, free: 108 kB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 10 (firstOrder2A.opAmp.satNeg,firstOrder2A.opAmp.satPos,addA.opAmp.satNeg,addA.opAmp.satPos,firstOrder1A.opAmp.satNeg,firstOrder1A.opAmp.satPos,PIA.opAmp.satNeg,PIA.opAmp.satPos,feedbackA.opAmp.satNeg,feedbackA.opAmp.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 103 * 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,6), (1,6), (1,2), (1,8), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004039/0.04936, allocations: 285.9 kB / 371.8 MB, free: 15.81 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.04946, allocations: 103.3 kB / 371.9 MB, free: 15.71 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.187e-05/0.04956, allocations: 113.3 kB / 372 MB, free: 15.6 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.04956, allocations: 8 kB / 372 MB, free: 15.59 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.168e-06/0.04957, allocations: 3.938 kB / 372 MB, free: 15.59 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.04958, allocations: 15.92 kB / 372 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002193/0.05177, allocations: 1.908 MB / 373.9 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.05177, allocations: 0 / 373.9 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002868/0.05206, allocations: 135.9 kB / 374.1 MB, free: 13.47 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006737/0.05273, allocations: 384.7 kB / 374.4 MB, free: 13.08 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.124e-05/0.05277, allocations: 32 kB / 374.5 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006266/0.05904, allocations: 10.02 MB / 384.5 MB, free: 2.387 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.05904, allocations: 0 / 384.5 MB, free: 2.387 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001793/0.06084, allocations: 1.624 MB / 386.1 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001632/0.061, allocations: 107.2 kB / 386.2 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.707e-05/0.06106, allocations: 23.98 kB / 386.2 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003368/0.06139, allocations: 87.94 kB / 386.3 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001564/0.06155, allocations: 92.77 kB / 386.4 MB, free: 424 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.169e-05/0.06158, allocations: 28.25 kB / 386.4 MB, free: 396 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004403/0.06202, allocations: 0.4951 MB / 386.9 MB, free: 15.89 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.06202, allocations: 0 / 386.9 MB, free: 15.89 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009339/0.06296, allocations: 407.1 kB / 387.3 MB, free: 15.5 MB / 362.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: 10 (feedbackA.opAmp.satPos,feedbackA.opAmp.satNeg,PIA.opAmp.satPos,PIA.opAmp.satNeg,firstOrder1A.opAmp.satPos,firstOrder1A.opAmp.satNeg,addA.opAmp.satPos,addA.opAmp.satNeg,firstOrder2A.opAmp.satPos,firstOrder2A.opAmp.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 62 * 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,6), (1,6), (1,2), (1,8), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001595/0.06312, allocations: 135.5 kB / 387.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001405/0.06452, allocations: 1.508 MB / 389 MB, free: 13.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.06452, allocations: 5.062 kB / 389 MB, free: 13.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001071/0.0656, allocations: 1.165 MB / 390.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006042/0.0662, allocations: 210.4 kB / 390.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002662/0.06886, allocations: 2.195 MB / 392.5 MB, free: 10.08 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003774/0.06924, allocations: 0.5174 MB / 393.1 MB, free: 9.531 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001393/0.06938, allocations: 68.5 kB / 393.1 MB, free: 9.465 MB / 362.7 MB Notification: Performance of SimCode: time 1.092e-06/0.06938, allocations: 0 / 393.1 MB, free: 9.465 MB / 362.7 MB Notification: Performance of Templates: time 0.02981/0.09919, allocations: 45.3 MB / 438.4 MB, free: 12.11 MB / 410.7 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: 6.447183400392532]