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.001486/0.001486, allocations: 84.25 kB / 22.22 MB, free: 2.281 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.001164/0.001164, allocations: 171.1 kB / 25.61 MB, free: 8.871 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.957/0.957, allocations: 177 MB / 205.9 MB, free: 4.438 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.583e-06/1.583e-06, allocations: 0 / 274.2 MB, free: 4.223 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.233e-05/1.392e-05, allocations: 2.312 kB / 274.2 MB, free: 4.219 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.005814/0.005828, allocations: 7.621 MB / 281.8 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003105/0.008933, allocations: 1.801 MB / 283.6 MB, free: 10.77 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000614/0.009547, allocations: 39.75 kB / 283.6 MB, free: 10.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003682/0.009916, allocations: 237.6 kB / 283.8 MB, free: 10.5 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006534/0.01057, allocations: 0.492 MB / 284.3 MB, free: 10 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005999/0.01117, allocations: 423.4 kB / 284.8 MB, free: 9.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001827/0.013, allocations: 1.852 MB / 286.6 MB, free: 7.73 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005202/0.01352, allocations: 412.5 kB / 287 MB, free: 7.305 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009282/0.01444, allocations: 1.002 MB / 288 MB, free: 6.301 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006579/0.0151, allocations: 0.5608 MB / 288.6 MB, free: 5.738 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002269/0.01533, allocations: 184 kB / 288.8 MB, free: 5.559 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001661/0.0155, allocations: 180 kB / 288.9 MB, free: 5.383 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001953/0.01569, allocations: 382.5 kB / 289.3 MB, free: 5.008 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004013/0.01609, allocations: 0.5494 MB / 289.9 MB, free: 4.457 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000933/0.01703, allocations: 1.137 MB / 291 MB, free: 3.316 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.01703, allocations: 0 / 291 MB, free: 3.316 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.01703, allocations: 0 / 291 MB, free: 3.316 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.733e-05/0.01707, allocations: 4 kB / 291 MB, free: 3.312 MB / 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.002366/0.01943, allocations: 1.79 MB / 292.8 MB, free: 1.48 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.01947, allocations: 16.02 kB / 292.8 MB, free: 1.465 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002655/0.01973, allocations: 279.9 kB / 293.1 MB, free: 1.191 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008313/0.02056, allocations: 0.725 MB / 293.8 MB, free: 448 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.349e-05/0.02063, allocations: 98.95 kB / 293.9 MB, free: 348 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/0.02076, allocations: 139.9 kB / 294 MB, free: 208 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001072/0.02184, allocations: 1.308 MB / 295.3 MB, free: 14.75 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.02186, allocations: 3.938 kB / 295.3 MB, free: 14.74 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.845e-05/0.02193, allocations: 56 kB / 295.4 MB, free: 14.69 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.907e-05/0.02194, allocations: 36 kB / 295.4 MB, free: 14.65 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000484/0.02243, allocations: 400.7 kB / 295.8 MB, free: 14.25 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004134/0.02656, allocations: 3.778 MB / 299.6 MB, free: 10.3 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006206/0.02718, allocations: 0.5997 MB / 300.2 MB, free: 9.68 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002843/0.02747, allocations: 265.2 kB / 300.5 MB, free: 9.414 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.768e-05/0.0275, allocations: 17 kB / 300.5 MB, free: 9.398 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/0.02754, allocations: 62.31 kB / 300.5 MB, free: 9.324 MB / 282.7 MB Notification: Performance of pre-optimization done (n=94): time 2.164e-06/0.02754, allocations: 0 / 300.5 MB, free: 9.324 MB / 282.7 MB Notification: Performance of matching and sorting (n=94): time 0.001932/0.02947, allocations: 1.196 MB / 301.7 MB, free: 8.102 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/0.02951, allocations: 90.11 kB / 301.8 MB, free: 7.996 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004345/0.02994, allocations: 0.6864 MB / 302.5 MB, free: 7.293 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.871e-05/0.02998, allocations: 49.7 kB / 302.6 MB, free: 7.238 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000285/0.03027, allocations: 0.6589 MB / 303.2 MB, free: 6.57 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001507/0.03042, allocations: 337.1 kB / 303.5 MB, free: 6.238 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001687/0.03059, allocations: 192.4 kB / 303.7 MB, free: 6.043 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.03075, allocations: 0.5779 MB / 304.3 MB, free: 5.453 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001438/0.03089, allocations: 118.5 kB / 304.4 MB, free: 5.336 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002732/0.03116, allocations: 386.3 kB / 304.8 MB, free: 4.855 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004563/0.03162, allocations: 0.5741 MB / 305.4 MB, free: 4.184 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.03162, allocations: 4 kB / 305.4 MB, free: 4.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001008/0.03263, allocations: 0.9164 MB / 306.3 MB, free: 3.227 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.03265, allocations: 8 kB / 306.3 MB, free: 3.219 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.03265, allocations: 7.938 kB / 306.3 MB, free: 3.211 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001104/0.03376, allocations: 418.1 kB / 306.7 MB, free: 2.777 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003654/0.03412, allocations: 191.7 kB / 306.9 MB, free: 2.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005689/0.03981, allocations: 12.19 MB / 319.1 MB, free: 5.699 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003212/0.04013, allocations: 103.3 kB / 319.2 MB, free: 5.598 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.395e-05/0.04017, allocations: 28 kB / 319.2 MB, free: 5.57 MB / 298.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.0001958/0.04036, allocations: 224.3 kB / 319.4 MB, free: 5.34 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/0.04049, allocations: 135.3 kB / 319.6 MB, free: 5.207 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.336e-05/0.04058, allocations: 113.4 kB / 319.7 MB, free: 5.09 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.04059, allocations: 15.94 kB / 319.7 MB, free: 5.074 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.04059, allocations: 0 / 319.7 MB, free: 5.074 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/0.0406, allocations: 3.984 kB / 319.7 MB, free: 5.07 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001801/0.0424, allocations: 1.497 MB / 321.2 MB, free: 3.504 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.04241, allocations: 0 / 321.2 MB, free: 3.504 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002701/0.04268, allocations: 123.8 kB / 321.3 MB, free: 3.383 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007915/0.04347, allocations: 405.7 kB / 321.7 MB, free: 2.961 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.788e-05/0.04349, allocations: 20 kB / 321.7 MB, free: 2.941 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005123/0.04862, allocations: 12.16 MB / 333.9 MB, free: 6.07 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.04862, allocations: 4 kB / 333.9 MB, free: 6.066 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.0497, allocations: 1.181 MB / 335.1 MB, free: 4.836 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.28e-05/0.0498, allocations: 111.2 kB / 335.2 MB, free: 4.727 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.951e-05/0.04986, allocations: 16 kB / 335.2 MB, free: 4.711 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005613/0.05042, allocations: 83.94 kB / 335.3 MB, free: 4.629 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.05053, allocations: 92.78 kB / 335.4 MB, free: 4.535 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-05/0.05056, allocations: 27.98 kB / 335.4 MB, free: 4.508 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002464/0.05081, allocations: 422.8 kB / 335.8 MB, free: 4.102 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05081, allocations: 0 / 335.8 MB, free: 4.102 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008282/0.05163, allocations: 403.1 kB / 336.2 MB, free: 3.707 MB / 314.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.0001443/0.05178, allocations: 139.3 kB / 336.3 MB, free: 3.559 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001008/0.05279, allocations: 1.575 MB / 337.9 MB, free: 1.879 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.05279, allocations: 0 / 337.9 MB, free: 1.879 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007312/0.05352, allocations: 1.361 MB / 339.3 MB, free: 420 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006188/0.05414, allocations: 203.7 kB / 339.5 MB, free: 228 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002361/0.0565, allocations: 2.085 MB / 341.6 MB, free: 14.08 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000159/0.05666, allocations: 222.7 kB / 341.8 MB, free: 13.84 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002273/0.05689, allocations: 91.34 kB / 341.9 MB, free: 13.75 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003698/0.05726, allocations: 294.1 kB / 342.2 MB, free: 13.46 MB / 330.7 MB Notification: Performance of SimCode: time 8.12e-07/0.05726, allocations: 0 / 342.2 MB, free: 13.46 MB / 330.7 MB Notification: Performance of Templates: time 0.1181/0.1754, allocations: 16.57 MB / 358.7 MB, free: 80.78 MB / 330.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.497936255298555]