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.001084/0.001084, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.0009839/0.0009839, allocations: 165 kB / 24.56 MB, free: 12 kB / 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 1.071/1.071, allocations: 177.1 MB / 205 MB, free: 5.617 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 2.204e-06/2.204e-06, allocations: 0 / 273 MB, free: 1.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.853e-05/3.074e-05, allocations: 2.312 kB / 273 MB, free: 1.477 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.009883/0.009914, allocations: 7.688 MB / 280.7 MB, free: 9.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005631/0.01554, allocations: 1.886 MB / 282.6 MB, free: 7.859 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001837/0.01738, allocations: 35.81 kB / 282.6 MB, free: 7.824 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009019/0.01828, allocations: 237.7 kB / 282.9 MB, free: 7.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001685/0.01997, allocations: 479.9 kB / 283.3 MB, free: 7.117 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001359/0.02133, allocations: 0.511 MB / 283.8 MB, free: 6.605 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002511/0.02384, allocations: 1.856 MB / 285.7 MB, free: 4.742 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008529/0.02469, allocations: 412.3 kB / 286.1 MB, free: 4.312 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001458/0.02615, allocations: 0.994 MB / 287.1 MB, free: 3.316 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006941/0.02684, allocations: 0.5608 MB / 287.7 MB, free: 2.754 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002028/0.02705, allocations: 180 kB / 287.8 MB, free: 2.578 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000193/0.02724, allocations: 176 kB / 288 MB, free: 2.406 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001953/0.02743, allocations: 362.7 kB / 288.4 MB, free: 2.051 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006395/0.02807, allocations: 0.5494 MB / 288.9 MB, free: 1.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001852/0.02993, allocations: 1.109 MB / 290 MB, free: 396 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.02993, allocations: 0 / 290 MB, free: 396 kB / 266.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.02993, allocations: 0 / 290 MB, free: 396 kB / 266.7 MB Notification: Performance of Transformations before backend: time 4.703e-05/0.02998, allocations: 0 / 290 MB, free: 396 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: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.1605/0.1905, allocations: 1.781 MB / 291.8 MB, free: 26.26 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.1905, allocations: 10.28 kB / 291.8 MB, free: 26.26 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004014/0.1909, allocations: 261.5 kB / 292.1 MB, free: 26.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.192, allocations: 0.7058 MB / 292.8 MB, free: 25.95 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.144e-05/0.192, allocations: 92.42 kB / 292.9 MB, free: 25.95 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001751/0.1922, allocations: 132.1 kB / 293 MB, free: 25.95 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001784/0.194, allocations: 1.309 MB / 294.3 MB, free: 25.35 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/0.194, allocations: 3.469 kB / 294.3 MB, free: 25.35 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.415e-05/0.1941, allocations: 53.97 kB / 294.4 MB, free: 25.35 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.63e-05/0.1941, allocations: 33.16 kB / 294.4 MB, free: 25.35 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/0.1952, allocations: 0.4961 MB / 294.9 MB, free: 25.32 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005529/0.2007, allocations: 4.328 MB / 299.2 MB, free: 22.94 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001145/0.2019, allocations: 0.6509 MB / 299.9 MB, free: 22.68 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005651/0.2024, allocations: 292.8 kB / 300.2 MB, free: 22.6 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.367e-05/0.2025, allocations: 15.38 kB / 300.2 MB, free: 22.6 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/0.2025, allocations: 49.98 kB / 300.2 MB, free: 22.55 MB / 266.7 MB Notification: Performance of pre-optimization done (n=79): time 3.506e-06/0.2025, allocations: 0 / 300.2 MB, free: 22.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=79): time 0.00324/0.2058, allocations: 1.463 MB / 301.7 MB, free: 22.2 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.2058, allocations: 89.95 kB / 301.8 MB, free: 22.1 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006877/0.2065, allocations: 0.7139 MB / 302.5 MB, free: 21.77 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.052e-05/0.2066, allocations: 42.38 kB / 302.5 MB, free: 21.72 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002776/0.2068, allocations: 0.6505 MB / 303.2 MB, free: 21.2 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001503/0.207, allocations: 292.4 kB / 303.5 MB, free: 20.97 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001952/0.2072, allocations: 177.9 kB / 303.6 MB, free: 20.87 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.2073, allocations: 0.5623 MB / 304.2 MB, free: 20.34 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002727/0.2076, allocations: 145.2 kB / 304.3 MB, free: 20.32 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003966/0.208, allocations: 451.1 kB / 304.8 MB, free: 19.93 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007129/0.2087, allocations: 0.6366 MB / 305.4 MB, free: 19.43 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.03e-05/0.2087, allocations: 1.281 kB / 305.4 MB, free: 19.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001277/0.21, allocations: 0.8842 MB / 306.3 MB, free: 19.06 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.927e-05/0.21, allocations: 8.719 kB / 306.3 MB, free: 19.06 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.21, allocations: 7.875 kB / 306.3 MB, free: 19.06 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006396/0.2107, allocations: 226 kB / 306.5 MB, free: 18.95 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/0.2119, allocations: 0.5511 MB / 307.1 MB, free: 18.71 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00491/0.2168, allocations: 11.88 MB / 319 MB, free: 6.137 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004872/0.2173, allocations: 111.3 kB / 319.1 MB, free: 6.027 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-05/0.2173, allocations: 43.98 kB / 319.1 MB, free: 5.984 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.0002607/0.2176, allocations: 212.3 kB / 319.3 MB, free: 5.766 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.2177, allocations: 119.5 kB / 319.4 MB, free: 5.648 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.527e-05/0.2178, allocations: 100.1 kB / 319.5 MB, free: 5.547 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.2178, allocations: 8 kB / 319.5 MB, free: 5.539 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.706e-05/0.2178, allocations: 4 kB / 319.6 MB, free: 5.535 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.2178, allocations: 7.922 kB / 319.6 MB, free: 5.527 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002079/0.2199, allocations: 1.62 MB / 321.2 MB, free: 3.848 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.2199, allocations: 0 / 321.2 MB, free: 3.848 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002776/0.2202, allocations: 119.9 kB / 321.3 MB, free: 3.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000758/0.2209, allocations: 398.7 kB / 321.7 MB, free: 3.32 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.418e-05/0.221, allocations: 16 kB / 321.7 MB, free: 3.305 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005956/0.2269, allocations: 11.89 MB / 333.6 MB, free: 6.691 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.2269, allocations: 4.25 kB / 333.6 MB, free: 6.688 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001647/0.2286, allocations: 1.225 MB / 334.8 MB, free: 5.41 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001897/0.2288, allocations: 103.3 kB / 334.9 MB, free: 5.309 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.312e-05/0.2288, allocations: 23.92 kB / 335 MB, free: 5.285 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003338/0.2292, allocations: 83.95 kB / 335 MB, free: 5.203 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001388/0.2293, allocations: 64.25 kB / 335.1 MB, free: 5.145 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.46e-05/0.2293, allocations: 27.98 kB / 335.1 MB, free: 5.117 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003932/0.2297, allocations: 458.9 kB / 335.6 MB, free: 4.676 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2297, allocations: 0 / 335.6 MB, free: 4.676 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001061/0.2308, allocations: 371.1 kB / 335.9 MB, free: 4.312 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.0001795/0.231, allocations: 131.1 kB / 336.1 MB, free: 4.172 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002282/0.2333, allocations: 1.438 MB / 337.5 MB, free: 2.684 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.2333, allocations: 0 / 337.5 MB, free: 2.684 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001214/0.2345, allocations: 1.314 MB / 338.8 MB, free: 1.262 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006621/0.2351, allocations: 187.4 kB / 339 MB, free: 1.086 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003356/0.2385, allocations: 2.025 MB / 341 MB, free: 15.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001925/0.2387, allocations: 205.9 kB / 341.2 MB, free: 14.8 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002782/0.239, allocations: 98.88 kB / 341.3 MB, free: 14.7 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.2391, allocations: 52.5 kB / 341.4 MB, free: 14.65 MB / 298.7 MB Notification: Performance of SimCode: time 1.282e-06/0.2391, allocations: 0 / 341.4 MB, free: 14.65 MB / 298.7 MB Notification: Performance of Templates: time 0.02215/0.2612, allocations: 13.55 MB / 354.9 MB, free: 1.367 MB / 298.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.6420902339741588]