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.001627/0.001627, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.00199/0.00199, allocations: 216 kB / 23.73 MB, free: 4.164 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.502/1.502, allocations: 230.5 MB / 257.4 MB, free: 7.805 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.002944/0.002944, allocations: 67.91 kB / 378.3 MB, free: 2.289 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.3125, allocations: 53.4 MB / 431.7 MB, free: 6.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.008913/0.3214, allocations: 6.967 MB / 438.6 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004086/0.3255, allocations: 1.78 MB / 440.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001038/0.3266, allocations: 31.81 kB / 440.5 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008271/0.3274, allocations: 249.6 kB / 440.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001616/0.329, allocations: 480.1 kB / 441.2 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009979/0.33, allocations: 415.5 kB / 441.6 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002304/0.3323, allocations: 1.79 MB / 443.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007046/0.333, allocations: 416.2 kB / 443.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007394/0.3337, allocations: 0.65 MB / 444.4 MB, free: 9.703 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008014/0.3345, allocations: 0.6411 MB / 445.1 MB, free: 9.059 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000229/0.3348, allocations: 180 kB / 445.2 MB, free: 8.883 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002799/0.3351, allocations: 184 kB / 445.4 MB, free: 8.703 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003297/0.3354, allocations: 362.7 kB / 445.8 MB, free: 8.348 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006795/0.3361, allocations: 0.6572 MB / 446.4 MB, free: 7.688 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00208/0.3381, allocations: 2.115 MB / 448.5 MB, free: 5.566 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3382, allocations: 0 / 448.5 MB, free: 5.566 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.3382, allocations: 0 / 448.5 MB, free: 5.566 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.672e-05/0.3382, allocations: 3.938 kB / 448.5 MB, free: 5.562 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.002878/0.3411, allocations: 1.697 MB / 450.2 MB, free: 3.828 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.3411, allocations: 12.03 kB / 450.3 MB, free: 3.816 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002399/0.3413, allocations: 168 kB / 450.4 MB, free: 3.652 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00134/0.3427, allocations: 0.7343 MB / 451.2 MB, free: 2.891 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.573e-05/0.3428, allocations: 94.58 kB / 451.2 MB, free: 2.797 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001985/0.343, allocations: 131.9 kB / 451.4 MB, free: 2.668 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002486/0.3454, allocations: 1.716 MB / 453.1 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.448e-05/0.3455, allocations: 0 / 453.1 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/0.3456, allocations: 55.98 kB / 453.1 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.663e-05/0.3456, allocations: 36 kB / 453.2 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001868/0.3475, allocations: 1.005 MB / 454.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006725/0.3542, allocations: 3.812 MB / 458 MB, free: 11.73 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001412/0.3556, allocations: 0.8293 MB / 458.8 MB, free: 10.89 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008173/0.3564, allocations: 447.2 kB / 459.3 MB, free: 10.45 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.716e-05/0.3565, allocations: 9 kB / 459.3 MB, free: 10.44 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.278e-05/0.3565, allocations: 51.56 kB / 459.3 MB, free: 10.38 MB / 366.1 MB Notification: Performance of pre-optimization done (n=94): time 2.194e-06/0.3565, allocations: 3.938 kB / 459.3 MB, free: 10.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=94): time 0.004886/0.3614, allocations: 1.711 MB / 461 MB, free: 8.637 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.994e-05/0.3615, allocations: 98.09 kB / 461.1 MB, free: 8.523 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009645/0.3624, allocations: 0.7427 MB / 461.9 MB, free: 7.773 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.009e-05/0.3625, allocations: 49.64 kB / 461.9 MB, free: 7.719 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004709/0.3629, allocations: 0.6056 MB / 462.5 MB, free: 7.105 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002781/0.3632, allocations: 333.2 kB / 462.9 MB, free: 6.777 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002639/0.3635, allocations: 182.9 kB / 463 MB, free: 6.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002547/0.3637, allocations: 398.7 kB / 463.4 MB, free: 6.191 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005868/0.3643, allocations: 302.5 kB / 463.7 MB, free: 5.898 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007526/0.3651, allocations: 0.4986 MB / 464.2 MB, free: 5.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00133/0.3664, allocations: 0.8165 MB / 465 MB, free: 4.434 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.3664, allocations: 4 kB / 465 MB, free: 4.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002746/0.3692, allocations: 1.314 MB / 466.3 MB, free: 3.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.3692, allocations: 8 kB / 466.4 MB, free: 3.082 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.3692, allocations: 4 kB / 466.4 MB, free: 3.078 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001377/0.3706, allocations: 396.9 kB / 466.7 MB, free: 2.672 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007057/0.3713, allocations: 195.7 kB / 466.9 MB, free: 2.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01153/0.3828, allocations: 10 MB / 476.9 MB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008213/0.3836, allocations: 123.1 kB / 477.1 MB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.436e-05/0.3837, allocations: 36 kB / 477.1 MB, free: 7.68 MB / 382.1 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.0005065/0.3842, allocations: 293.5 kB / 477.4 MB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001773/0.3844, allocations: 107.3 kB / 477.5 MB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002029/0.3846, allocations: 105.4 kB / 477.6 MB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.3846, allocations: 12 kB / 477.6 MB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.3846, allocations: 0 / 477.6 MB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.226e-05/0.3846, allocations: 11.91 kB / 477.6 MB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003911/0.3885, allocations: 1.916 MB / 479.5 MB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/0.3885, allocations: 3.938 kB / 479.5 MB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00055/0.3891, allocations: 119.9 kB / 479.7 MB, free: 5.043 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001313/0.3904, allocations: 393 kB / 480 MB, free: 4.641 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.969e-05/0.3904, allocations: 23.98 kB / 480.1 MB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01198/0.4024, allocations: 10.03 MB / 490.1 MB, free: 9.949 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.398e-06/0.4024, allocations: 3.984 kB / 490.1 MB, free: 9.945 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003277/0.4057, allocations: 1.639 MB / 491.7 MB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002385/0.4059, allocations: 111.2 kB / 491.8 MB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001335/0.4061, allocations: 19.94 kB / 491.9 MB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008015/0.4069, allocations: 91.86 kB / 492 MB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002151/0.4071, allocations: 92.88 kB / 492 MB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-05/0.4071, allocations: 31.98 kB / 492.1 MB, free: 7.922 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007482/0.4079, allocations: 0.4951 MB / 492.6 MB, free: 7.434 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4079, allocations: 0 / 492.6 MB, free: 7.434 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001392/0.4093, allocations: 403.1 kB / 493 MB, free: 7.039 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: 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.0002624/0.4095, allocations: 139.3 kB / 493.1 MB, free: 6.895 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002498/0.412, allocations: 1.52 MB / 494.6 MB, free: 5.301 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.412, allocations: 0 / 494.6 MB, free: 5.301 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001647/0.4137, allocations: 1.163 MB / 495.8 MB, free: 4.062 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009535/0.4146, allocations: 197.1 kB / 496 MB, free: 3.879 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004401/0.4191, allocations: 2.265 MB / 498.2 MB, free: 1.574 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006046/0.4197, allocations: 0.5096 MB / 498.7 MB, free: 1.023 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000373/0.42, allocations: 91.34 kB / 498.8 MB, free: 0.9297 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001523/0.4202, allocations: 59.42 kB / 498.9 MB, free: 0.8711 MB / 398.1 MB Notification: Performance of SimCode: time 8.32e-07/0.4202, allocations: 0 / 498.9 MB, free: 0.8711 MB / 398.1 MB Notification: Performance of Templates: time 0.02843/0.4486, allocations: 16.47 MB / 0.5033 GB, free: 0.5938 MB / 414.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.440046578645706]