Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009998/0.0009998, allocations: 80.31 kB / 22.21 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 168.5 kB / 25.61 MB, free: 8.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9323/0.9323, allocations: 177.2 MB / 206.1 MB, free: 4.484 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 274.2 MB, free: 4.352 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.181e-05/2.319e-05, allocations: 3.062 kB / 274.2 MB, free: 4.348 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.005811/0.005835, allocations: 7.49 MB / 281.7 MB, free: 12.83 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003269/0.009104, allocations: 1.888 MB / 283.6 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006214/0.009725, allocations: 35.75 kB / 283.7 MB, free: 10.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003727/0.0101, allocations: 237.7 kB / 283.9 MB, free: 10.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006609/0.01076, allocations: 475.9 kB / 284.4 MB, free: 10.21 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000683/0.01144, allocations: 0.5071 MB / 284.9 MB, free: 9.703 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001292/0.01273, allocations: 1.86 MB / 286.7 MB, free: 7.836 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005145/0.01325, allocations: 412.3 kB / 287.1 MB, free: 7.406 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008702/0.01412, allocations: 0.998 MB / 288.1 MB, free: 6.406 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004629/0.01458, allocations: 0.5569 MB / 288.7 MB, free: 5.848 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001394/0.01472, allocations: 176 kB / 288.9 MB, free: 5.676 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000151/0.01487, allocations: 180 kB / 289 MB, free: 5.5 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001794/0.01505, allocations: 366.7 kB / 289.4 MB, free: 5.141 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000349/0.0154, allocations: 0.5455 MB / 289.9 MB, free: 4.594 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008438/0.01624, allocations: 1.117 MB / 291 MB, free: 3.473 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.01625, allocations: 0 / 291 MB, free: 3.473 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.01625, allocations: 0 / 291 MB, free: 3.473 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.529e-05/0.01626, allocations: 0 / 291 MB, free: 3.473 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: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.001822/0.01809, allocations: 1.797 MB / 292.8 MB, free: 1.633 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.01812, allocations: 15.98 kB / 292.9 MB, free: 1.617 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002303/0.01835, allocations: 263.9 kB / 293.1 MB, free: 1.359 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006442/0.019, allocations: 0.6875 MB / 293.8 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.025e-05/0.01905, allocations: 90.83 kB / 293.9 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001218/0.01917, allocations: 132.3 kB / 294 MB, free: 436 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001072/0.02024, allocations: 1.233 MB / 295.3 MB, free: 15.05 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/0.02026, allocations: 3.938 kB / 295.3 MB, free: 15.05 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.845e-05/0.02033, allocations: 52 kB / 295.3 MB, free: 15 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.567e-05/0.02035, allocations: 28 kB / 295.3 MB, free: 14.97 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004601/0.02081, allocations: 391.7 kB / 295.7 MB, free: 14.57 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003881/0.02469, allocations: 4.369 MB / 300.1 MB, free: 10.01 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006884/0.02538, allocations: 0.6059 MB / 300.7 MB, free: 9.375 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002882/0.02567, allocations: 260.1 kB / 301 MB, free: 9.113 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.446e-05/0.0257, allocations: 16.66 kB / 301 MB, free: 9.098 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.02573, allocations: 46.05 kB / 301 MB, free: 9.043 MB / 282.7 MB Notification: Performance of pre-optimization done (n=79): time 2.474e-06/0.02573, allocations: 0 / 301 MB, free: 9.043 MB / 282.7 MB Notification: Performance of matching and sorting (n=79): time 0.002452/0.02818, allocations: 1.381 MB / 302.4 MB, free: 7.629 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/0.02822, allocations: 85.77 kB / 302.5 MB, free: 7.527 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004686/0.02869, allocations: 0.7018 MB / 303.2 MB, free: 6.812 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.854e-05/0.02873, allocations: 41.7 kB / 303.2 MB, free: 6.766 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002845/0.02901, allocations: 0.6547 MB / 303.9 MB, free: 6.102 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001484/0.02916, allocations: 297.4 kB / 304.2 MB, free: 5.809 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001662/0.02933, allocations: 172.2 kB / 304.3 MB, free: 5.633 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.02949, allocations: 0.5741 MB / 304.9 MB, free: 5.047 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.02964, allocations: 109.9 kB / 305 MB, free: 4.938 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002716/0.02991, allocations: 421.6 kB / 305.4 MB, free: 4.406 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004556/0.03037, allocations: 0.5869 MB / 306 MB, free: 3.699 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.03037, allocations: 0 / 306 MB, free: 3.699 MB / 282.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.0009092/0.03128, allocations: 0.808 MB / 306.8 MB, free: 2.867 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.0313, allocations: 8 kB / 306.8 MB, free: 2.859 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.03131, allocations: 8 kB / 306.8 MB, free: 2.852 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004768/0.03179, allocations: 227.1 kB / 307.1 MB, free: 2.617 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/0.03295, allocations: 0.5579 MB / 307.6 MB, free: 2.059 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005662/0.03862, allocations: 11.71 MB / 319.3 MB, free: 5.672 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004929/0.03911, allocations: 115.3 kB / 319.4 MB, free: 5.559 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.563e-05/0.03915, allocations: 32 kB / 319.5 MB, free: 5.527 MB / 298.7 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.0002632/0.03941, allocations: 220.3 kB / 319.7 MB, free: 5.301 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.03953, allocations: 127.4 kB / 319.8 MB, free: 5.176 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.731e-05/0.03962, allocations: 100.1 kB / 319.9 MB, free: 5.07 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.03962, allocations: 8 kB / 319.9 MB, free: 5.062 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.03963, allocations: 4 kB / 319.9 MB, free: 5.059 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.03964, allocations: 7.984 kB / 319.9 MB, free: 5.051 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001688/0.04133, allocations: 1.441 MB / 321.4 MB, free: 3.539 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.04133, allocations: 0 / 321.4 MB, free: 3.539 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002687/0.0416, allocations: 119.8 kB / 321.5 MB, free: 3.422 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006677/0.04227, allocations: 385.9 kB / 321.9 MB, free: 3.02 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.7e-05/0.04229, allocations: 19.98 kB / 321.9 MB, free: 3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005234/0.04753, allocations: 11.72 MB / 333.6 MB, free: 6.605 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.04753, allocations: 0 / 333.6 MB, free: 6.605 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001205/0.04873, allocations: 1.151 MB / 334.8 MB, free: 5.398 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001331/0.04887, allocations: 111.2 kB / 334.9 MB, free: 5.289 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.102e-05/0.04893, allocations: 15.94 kB / 334.9 MB, free: 5.273 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003341/0.04926, allocations: 88.19 kB / 335 MB, free: 5.188 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.04937, allocations: 68.47 kB / 335 MB, free: 5.121 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.702e-05/0.0494, allocations: 20 kB / 335.1 MB, free: 5.102 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002736/0.04967, allocations: 426.8 kB / 335.5 MB, free: 4.688 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.04967, allocations: 0 / 335.5 MB, free: 4.688 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008954/0.05057, allocations: 367.2 kB / 335.8 MB, free: 4.328 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: 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.0001427/0.05071, allocations: 119.2 kB / 335.9 MB, free: 4.203 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001871/0.05258, allocations: 1.396 MB / 337.3 MB, free: 2.754 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.05259, allocations: 4 kB / 337.3 MB, free: 2.75 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007818/0.05337, allocations: 1.282 MB / 338.6 MB, free: 1.359 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000773/0.05414, allocations: 196.6 kB / 338.8 MB, free: 1.172 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002563/0.0567, allocations: 2.02 MB / 340.8 MB, free: 15.1 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001677/0.05687, allocations: 205.9 kB / 341 MB, free: 14.88 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002614/0.05713, allocations: 86.89 kB / 341.1 MB, free: 14.79 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003528/0.05749, allocations: 270.1 kB / 341.4 MB, free: 14.53 MB / 330.7 MB Notification: Performance of SimCode: time 1.132e-06/0.05749, allocations: 0 / 341.4 MB, free: 14.53 MB / 330.7 MB Notification: Performance of Templates: time 0.01835/0.07584, allocations: 14.71 MB / 356.1 MB, free: 28 kB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.310382294934243]