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.001366/0.001366, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.00123/0.00123, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 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 1.036/1.036, allocations: 177 MB / 204.8 MB, free: 5.578 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 2.064e-06/2.064e-06, allocations: 0 / 273 MB, free: 1.398 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.501e-05/3.707e-05, allocations: 2.312 kB / 273 MB, free: 1.395 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.009978/0.01002, allocations: 7.809 MB / 280.8 MB, free: 9.543 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004066/0.01408, allocations: 1.804 MB / 282.6 MB, free: 7.734 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008228/0.0149, allocations: 35.81 kB / 282.6 MB, free: 7.699 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004326/0.01534, allocations: 245.5 kB / 282.8 MB, free: 7.457 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007268/0.01606, allocations: 0.4919 MB / 283.3 MB, free: 6.961 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005914/0.01665, allocations: 419.5 kB / 283.7 MB, free: 6.551 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001479/0.01813, allocations: 1.856 MB / 285.6 MB, free: 4.688 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005904/0.01872, allocations: 416.5 kB / 286 MB, free: 4.258 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009252/0.01965, allocations: 0.9979 MB / 287 MB, free: 3.258 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005224/0.02017, allocations: 0.5685 MB / 287.6 MB, free: 2.688 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001819/0.02035, allocations: 180 kB / 287.7 MB, free: 2.512 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001739/0.02053, allocations: 184 kB / 287.9 MB, free: 2.332 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001873/0.02071, allocations: 370.6 kB / 288.3 MB, free: 1.969 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003965/0.02111, allocations: 0.5611 MB / 288.9 MB, free: 1.406 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008988/0.02201, allocations: 1.129 MB / 290 MB, free: 280 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.02201, allocations: 0 / 290 MB, free: 280 kB / 266.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.02202, allocations: 0 / 290 MB, free: 280 kB / 266.7 MB Notification: Performance of Transformations before backend: time 1.95e-05/0.02203, allocations: 0 / 290 MB, free: 280 kB / 266.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.152/0.1741, allocations: 1.778 MB / 291.8 MB, free: 26.77 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.1741, allocations: 9.031 kB / 291.8 MB, free: 26.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003502/0.1744, allocations: 276.9 kB / 292 MB, free: 26.68 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000926/0.1754, allocations: 0.7392 MB / 292.8 MB, free: 26.41 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.527e-05/0.1755, allocations: 96.36 kB / 292.9 MB, free: 26.4 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001702/0.1756, allocations: 134.2 kB / 293 MB, free: 26.4 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001557/0.1772, allocations: 1.394 MB / 294.4 MB, free: 25.71 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.282e-05/0.1772, allocations: 4.156 kB / 294.4 MB, free: 25.71 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.047e-05/0.1773, allocations: 52.22 kB / 294.5 MB, free: 25.71 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.183e-05/0.1773, allocations: 35.03 kB / 294.5 MB, free: 25.71 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009776/0.1783, allocations: 0.5168 MB / 295 MB, free: 25.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004898/0.1832, allocations: 3.738 MB / 298.7 MB, free: 23.51 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009878/0.1842, allocations: 0.6506 MB / 299.4 MB, free: 23.24 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004395/0.1846, allocations: 311 kB / 299.7 MB, free: 23.16 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.316e-05/0.1847, allocations: 17.59 kB / 299.7 MB, free: 23.16 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.1847, allocations: 54.08 kB / 299.8 MB, free: 23.1 MB / 266.7 MB Notification: Performance of pre-optimization done (n=94): time 3.557e-06/0.1847, allocations: 0 / 299.8 MB, free: 23.1 MB / 266.7 MB Notification: Performance of matching and sorting (n=94): time 0.002452/0.1871, allocations: 1.291 MB / 301.1 MB, free: 22.73 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.1872, allocations: 88.34 kB / 301.1 MB, free: 22.64 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006292/0.1878, allocations: 0.7083 MB / 301.9 MB, free: 22.31 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.157e-05/0.1879, allocations: 47.86 kB / 301.9 MB, free: 22.26 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002449/0.1881, allocations: 0.6555 MB / 302.6 MB, free: 21.73 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001544/0.1882, allocations: 334.8 kB / 302.9 MB, free: 21.47 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001914/0.1884, allocations: 184.1 kB / 303.1 MB, free: 21.37 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.1886, allocations: 0.5701 MB / 303.6 MB, free: 20.84 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002541/0.1888, allocations: 147.3 kB / 303.8 MB, free: 20.82 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003618/0.1892, allocations: 422.6 kB / 304.2 MB, free: 20.48 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000618/0.1898, allocations: 0.6258 MB / 304.8 MB, free: 20.04 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.1898, allocations: 5.094 kB / 304.8 MB, free: 20.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001324/0.1911, allocations: 1.008 MB / 305.8 MB, free: 19.56 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.1911, allocations: 7.781 kB / 305.8 MB, free: 19.56 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.1912, allocations: 7.656 kB / 305.8 MB, free: 19.56 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009483/0.1921, allocations: 420.5 kB / 306.3 MB, free: 19.35 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003753/0.1925, allocations: 187.3 kB / 306.4 MB, free: 19.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004627/0.1971, allocations: 12.38 MB / 318.8 MB, free: 6.262 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005074/0.1976, allocations: 107.3 kB / 318.9 MB, free: 6.156 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.665e-05/0.1976, allocations: 43.98 kB / 319 MB, free: 6.113 MB / 266.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.0002906/0.1979, allocations: 223.2 kB / 319.2 MB, free: 5.887 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.198, allocations: 131.4 kB / 319.3 MB, free: 5.758 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.511e-05/0.1981, allocations: 113.3 kB / 319.4 MB, free: 5.641 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.1981, allocations: 8 kB / 319.4 MB, free: 5.633 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.679e-05/0.1981, allocations: 7.984 kB / 319.4 MB, free: 5.625 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.792e-06/0.1982, allocations: 3.984 kB / 319.4 MB, free: 5.621 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001799/0.2, allocations: 1.669 MB / 321.1 MB, free: 3.898 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.2, allocations: 3.312 kB / 321.1 MB, free: 3.898 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002658/0.2002, allocations: 119.8 kB / 321.2 MB, free: 3.781 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008115/0.201, allocations: 418.3 kB / 321.6 MB, free: 3.348 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.148e-05/0.2011, allocations: 23.98 kB / 321.7 MB, free: 3.324 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005526/0.2066, allocations: 12.37 MB / 334 MB, free: 6.223 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.2066, allocations: 4 kB / 334 MB, free: 6.219 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001573/0.2082, allocations: 1.26 MB / 335.3 MB, free: 4.906 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002129/0.2084, allocations: 118.9 kB / 335.4 MB, free: 4.793 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.984e-05/0.2085, allocations: 16 kB / 335.4 MB, free: 4.777 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003289/0.2088, allocations: 83.94 kB / 335.5 MB, free: 4.695 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000195/0.209, allocations: 96.77 kB / 335.6 MB, free: 4.598 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-05/0.209, allocations: 28 kB / 335.6 MB, free: 4.57 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004175/0.2094, allocations: 470.9 kB / 336.1 MB, free: 4.113 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2094, allocations: 0 / 336.1 MB, free: 4.113 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001087/0.2105, allocations: 399.1 kB / 336.5 MB, free: 3.723 MB / 282.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.0001685/0.2107, allocations: 127.2 kB / 336.6 MB, free: 3.59 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00144/0.2121, allocations: 1.624 MB / 338.2 MB, free: 1.863 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.2121, allocations: 4.312 kB / 338.2 MB, free: 1.859 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008471/0.213, allocations: 1.394 MB / 339.6 MB, free: 372 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006806/0.2137, allocations: 191 kB / 339.8 MB, free: 192 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003055/0.2167, allocations: 2.099 MB / 341.9 MB, free: 14.05 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000202/0.2169, allocations: 230.4 kB / 342.1 MB, free: 13.8 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002765/0.2172, allocations: 95.33 kB / 342.2 MB, free: 13.7 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.2173, allocations: 64.5 kB / 342.3 MB, free: 13.64 MB / 298.7 MB Notification: Performance of SimCode: time 1.503e-06/0.2173, allocations: 4 kB / 342.3 MB, free: 13.63 MB / 298.7 MB Notification: Performance of Templates: time 0.02035/0.2377, allocations: 15.2 MB / 357.5 MB, free: 14.7 MB / 314.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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.454672703985125]