Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002175/0.002175, allocations: 95.86 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00215/0.00215, allocations: 153.5 kB / 24.27 MB, free: 168 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.638/1.638, allocations: 173.3 MB / 200.8 MB, free: 9.309 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 267.4 MB, free: 6.672 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.67e-05/2.803e-05, allocations: 2.312 kB / 267.4 MB, free: 6.668 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.01064/0.01066, allocations: 7.599 MB / 275 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004392/0.01506, allocations: 1.854 MB / 276.8 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009105/0.01597, allocations: 31.81 kB / 276.9 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000589/0.01656, allocations: 245.6 kB / 277.1 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00112/0.01768, allocations: 468 kB / 277.6 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001067/0.01874, allocations: 0.5071 MB / 278.1 MB, free: 11.93 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002619/0.02136, allocations: 1.86 MB / 279.9 MB, free: 10.06 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008295/0.02219, allocations: 412.3 kB / 280.3 MB, free: 9.633 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001611/0.0238, allocations: 1.006 MB / 281.3 MB, free: 8.625 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009574/0.02476, allocations: 0.5531 MB / 281.9 MB, free: 8.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002917/0.02505, allocations: 180 kB / 282.1 MB, free: 7.895 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003055/0.02536, allocations: 179.9 kB / 282.2 MB, free: 7.719 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003557/0.02571, allocations: 366.7 kB / 282.6 MB, free: 7.359 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007133/0.02643, allocations: 0.5417 MB / 283.1 MB, free: 6.816 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003343/0.02977, allocations: 2.111 MB / 285.2 MB, free: 4.699 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.02977, allocations: 4 kB / 285.2 MB, free: 4.695 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.02978, allocations: 0 / 285.2 MB, free: 4.695 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.291e-05/0.02982, allocations: 0 / 285.2 MB, free: 4.695 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.005269/0.03509, allocations: 1.902 MB / 287.1 MB, free: 2.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.785e-05/0.03515, allocations: 12.92 kB / 287.2 MB, free: 2.738 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006526/0.0358, allocations: 260 kB / 287.4 MB, free: 2.484 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00189/0.03769, allocations: 0.711 MB / 288.1 MB, free: 1.746 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001401/0.03783, allocations: 94.77 kB / 288.2 MB, free: 1.652 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003179/0.03815, allocations: 128.3 kB / 288.3 MB, free: 1.527 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1464/0.1846, allocations: 1.67 MB / 290 MB, free: 31.83 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.075e-05/0.1846, allocations: 2.016 kB / 290 MB, free: 31.83 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001995/0.1848, allocations: 53.31 kB / 290.1 MB, free: 31.83 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.69e-05/0.1849, allocations: 30.59 kB / 290.1 MB, free: 31.83 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002719/0.1876, allocations: 1.016 MB / 291.1 MB, free: 31.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008265/0.1959, allocations: 5.13 MB / 296.2 MB, free: 28.75 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001937/0.1978, allocations: 0.9337 MB / 297.2 MB, free: 28.36 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009743/0.1988, allocations: 466.2 kB / 297.6 MB, free: 28.21 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.065e-05/0.1988, allocations: 14.77 kB / 297.6 MB, free: 28.21 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.1989, allocations: 56.92 kB / 297.7 MB, free: 28.16 MB / 266.7 MB Notification: Performance of pre-optimization done (n=79): time 2.335e-06/0.1989, allocations: 0 / 297.7 MB, free: 28.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=79): time 0.00638/0.2053, allocations: 1.95 MB / 299.7 MB, free: 27.64 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.2053, allocations: 91.55 kB / 299.7 MB, free: 27.54 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/0.2064, allocations: 0.958 MB / 300.7 MB, free: 27.09 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.045e-05/0.2064, allocations: 43.2 kB / 300.7 MB, free: 27.05 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003443/0.2068, allocations: 0.6949 MB / 301.4 MB, free: 26.57 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002021/0.207, allocations: 311.1 kB / 301.7 MB, free: 26.35 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002811/0.2073, allocations: 208.9 kB / 301.9 MB, free: 26.23 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.2075, allocations: 0.6295 MB / 302.6 MB, free: 25.68 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007206/0.2082, allocations: 325.9 kB / 302.9 MB, free: 25.57 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008091/0.209, allocations: 0.6406 MB / 303.5 MB, free: 25.09 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00137/0.2104, allocations: 1.008 MB / 304.5 MB, free: 24.45 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.695e-06/0.2104, allocations: 5.188 kB / 304.5 MB, free: 24.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002379/0.2127, allocations: 1.271 MB / 305.8 MB, free: 23.9 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.2128, allocations: 8.312 kB / 305.8 MB, free: 23.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.2128, allocations: 15.94 kB / 305.8 MB, free: 23.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001047/0.2138, allocations: 293.2 kB / 306.1 MB, free: 23.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002296/0.2161, allocations: 0.554 MB / 306.7 MB, free: 23.03 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008812/0.2249, allocations: 12.9 MB / 319.6 MB, free: 9.434 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009262/0.2259, allocations: 119.2 kB / 319.7 MB, free: 9.316 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/0.226, allocations: 36 kB / 319.7 MB, free: 9.281 MB / 266.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.0005202/0.2265, allocations: 324.4 kB / 320.1 MB, free: 8.953 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002591/0.2267, allocations: 127.4 kB / 320.2 MB, free: 8.828 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001955/0.2269, allocations: 96.12 kB / 320.3 MB, free: 8.727 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.88e-06/0.2269, allocations: 8 kB / 320.3 MB, free: 8.719 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.279e-05/0.227, allocations: 3.984 kB / 320.3 MB, free: 8.715 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.227, allocations: 4 kB / 320.3 MB, free: 8.711 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004046/0.231, allocations: 2.232 MB / 322.5 MB, free: 6.422 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.231, allocations: 3.938 kB / 322.5 MB, free: 6.418 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004874/0.2315, allocations: 119.9 kB / 322.6 MB, free: 6.301 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00181/0.2333, allocations: 0.5332 MB / 323.2 MB, free: 5.746 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.286e-05/0.2334, allocations: 19.98 kB / 323.2 MB, free: 5.727 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01253/0.2459, allocations: 13.06 MB / 336.2 MB, free: 7.949 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.2459, allocations: 4 kB / 336.3 MB, free: 7.945 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004389/0.2503, allocations: 1.82 MB / 338.1 MB, free: 6.074 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000328/0.2506, allocations: 107.2 kB / 338.2 MB, free: 5.969 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.2507, allocations: 12 kB / 338.2 MB, free: 5.957 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007093/0.2514, allocations: 83.94 kB / 338.3 MB, free: 5.875 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001972/0.2516, allocations: 64.53 kB / 338.3 MB, free: 5.812 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.543e-05/0.2517, allocations: 28 kB / 338.4 MB, free: 5.785 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0008355/0.2525, allocations: 0.5888 MB / 338.9 MB, free: 5.199 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2525, allocations: 0 / 338.9 MB, free: 5.199 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001429/0.2539, allocations: 371.1 kB / 339.3 MB, free: 4.836 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: 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.0002523/0.2542, allocations: 127.1 kB / 339.4 MB, free: 4.703 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.004953/0.2591, allocations: 1.795 MB / 341.2 MB, free: 2.844 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/0.2592, allocations: 4 kB / 341.2 MB, free: 2.84 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002206/0.2614, allocations: 1.473 MB / 342.7 MB, free: 1.258 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/0.2625, allocations: 188 kB / 342.9 MB, free: 1.082 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004714/0.2672, allocations: 2.202 MB / 345.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005891/0.2678, allocations: 492 kB / 345.6 MB, free: 14.32 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003658/0.2681, allocations: 90.89 kB / 345.7 MB, free: 14.23 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001543/0.2683, allocations: 56.5 kB / 345.7 MB, free: 14.18 MB / 298.7 MB Notification: Performance of SimCode: time 1.093e-06/0.2683, allocations: 0 / 345.7 MB, free: 14.18 MB / 298.7 MB Notification: Performance of Templates: time 0.0269/0.2952, allocations: 13.54 MB / 359.3 MB, free: 0.8477 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/ControlCircuit/ControlCircuit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.241632170975208]