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.0008814/0.0008814, allocations: 85.05 kB / 21.5 MB, free: 2.98 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.0008873/0.0008873, allocations: 147.3 kB / 24.9 MB, free: 8.785 MB / 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 0.9492/0.9492, allocations: 173.4 MB / 201.5 MB, free: 8.762 MB / 186.7 MB " [Timeout remaining time 179] 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 3.868e-06/3.868e-06, allocations: 4 kB / 268.5 MB, free: 5.988 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.457e-05/2.843e-05, allocations: 2.312 kB / 268.5 MB, free: 5.984 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.008761/0.008789, allocations: 7.486 MB / 276 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005081/0.01387, allocations: 1.928 MB / 277.9 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001178/0.01505, allocations: 35.81 kB / 278 MB, free: 12.49 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006531/0.0157, allocations: 233.7 kB / 278.2 MB, free: 12.26 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001344/0.01705, allocations: 479.9 kB / 278.7 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001167/0.01821, allocations: 0.5071 MB / 279.2 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002465/0.02068, allocations: 1.856 MB / 281 MB, free: 9.414 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000729/0.02141, allocations: 436.2 kB / 281.5 MB, free: 8.953 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001295/0.0227, allocations: 0.9941 MB / 282.4 MB, free: 7.957 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000556/0.02326, allocations: 0.5608 MB / 283 MB, free: 7.395 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001766/0.02343, allocations: 180 kB / 283.2 MB, free: 7.219 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001717/0.0236, allocations: 180 kB / 283.4 MB, free: 7.043 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00023/0.02383, allocations: 362.7 kB / 283.7 MB, free: 6.688 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004572/0.02429, allocations: 0.5494 MB / 284.3 MB, free: 6.137 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001261/0.02555, allocations: 1.109 MB / 285.4 MB, free: 5.023 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.02556, allocations: 0 / 285.4 MB, free: 5.023 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.02556, allocations: 0 / 285.4 MB, free: 5.023 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.167e-05/0.02559, allocations: 0 / 285.4 MB, free: 5.023 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.002004/0.0276, allocations: 1.68 MB / 287.1 MB, free: 3.312 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.02763, allocations: 8.922 kB / 287.1 MB, free: 3.305 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002034/0.02783, allocations: 204.8 kB / 287.3 MB, free: 3.105 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007403/0.02857, allocations: 0.5052 MB / 287.8 MB, free: 2.574 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.018e-05/0.02862, allocations: 90.83 kB / 287.9 MB, free: 2.484 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.02874, allocations: 128.3 kB / 288 MB, free: 2.359 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/0.02975, allocations: 1.241 MB / 289.2 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.02977, allocations: 0 / 289.2 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.791e-05/0.02983, allocations: 52 kB / 289.3 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.744e-05/0.02984, allocations: 28 kB / 289.3 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000441/0.03029, allocations: 331.8 kB / 289.6 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1011/0.1314, allocations: 3.53 MB / 293.2 MB, free: 28.39 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006594/0.1321, allocations: 0.5375 MB / 293.7 MB, free: 28.33 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002784/0.1323, allocations: 241.8 kB / 293.9 MB, free: 28.31 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.936e-05/0.1324, allocations: 14.67 kB / 293.9 MB, free: 28.31 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.1324, allocations: 48.19 kB / 294 MB, free: 28.27 MB / 266.7 MB Notification: Performance of pre-optimization done (n=79): time 3.166e-06/0.1324, allocations: 0 / 294 MB, free: 28.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=79): time 0.002273/0.1347, allocations: 1.236 MB / 295.2 MB, free: 28.13 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.366e-05/0.1347, allocations: 86.11 kB / 295.3 MB, free: 28.04 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004529/0.1352, allocations: 0.6278 MB / 295.9 MB, free: 27.9 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.43e-05/0.1352, allocations: 41.48 kB / 296 MB, free: 27.87 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001844/0.1354, allocations: 0.5263 MB / 296.5 MB, free: 27.61 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.1355, allocations: 297.8 kB / 296.8 MB, free: 27.45 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001512/0.1356, allocations: 170 kB / 297 MB, free: 27.43 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.535e-05/0.1357, allocations: 407.7 kB / 297.4 MB, free: 27.11 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.1359, allocations: 95.78 kB / 297.5 MB, free: 27.11 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002039/0.1361, allocations: 330.5 kB / 297.8 MB, free: 26.87 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004075/0.1365, allocations: 0.5017 MB / 298.3 MB, free: 26.62 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/0.1365, allocations: 2.219 kB / 298.3 MB, free: 26.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.0008131/0.1373, allocations: 0.644 MB / 298.9 MB, free: 26.51 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.1373, allocations: 8.25 kB / 298.9 MB, free: 26.51 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.1373, allocations: 6.469 kB / 298.9 MB, free: 26.51 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004665/0.1378, allocations: 214 kB / 299.1 MB, free: 26.47 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/0.1389, allocations: 0.5495 MB / 299.7 MB, free: 26.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003065/0.142, allocations: 8.055 MB / 307.7 MB, free: 19.11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003416/0.1423, allocations: 117.6 kB / 307.9 MB, free: 19.08 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.105e-05/0.1424, allocations: 27.25 kB / 307.9 MB, free: 19.08 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.0001669/0.1425, allocations: 171.5 kB / 308.1 MB, free: 18.95 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.794e-05/0.1426, allocations: 84.14 kB / 308.1 MB, free: 18.95 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.5e-05/0.1427, allocations: 101.6 kB / 308.2 MB, free: 18.93 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.1427, allocations: 8.25 kB / 308.2 MB, free: 18.93 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.367e-06/0.1427, allocations: 8.25 kB / 308.3 MB, free: 18.93 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.1427, allocations: 13.98 kB / 308.3 MB, free: 18.92 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001355/0.144, allocations: 1.14 MB / 309.4 MB, free: 18.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.144, allocations: 4.062 kB / 309.4 MB, free: 18.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002495/0.1443, allocations: 118.8 kB / 309.5 MB, free: 18.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005819/0.1449, allocations: 357.6 kB / 309.9 MB, free: 18.54 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.499e-05/0.1449, allocations: 19.14 kB / 309.9 MB, free: 18.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002385/0.1473, allocations: 8.046 MB / 317.9 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1473, allocations: 3.938 kB / 317.9 MB, free: 11.08 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008083/0.1481, allocations: 0.9082 MB / 318.9 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.8e-05/0.1482, allocations: 91.27 kB / 318.9 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.027e-05/0.1482, allocations: 18.88 kB / 319 MB, free: 10.33 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002709/0.1485, allocations: 83.75 kB / 319 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.012e-05/0.1486, allocations: 68.08 kB / 319.1 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.929e-05/0.1486, allocations: 18.12 kB / 319.1 MB, free: 10.19 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001622/0.1488, allocations: 302.6 kB / 319.4 MB, free: 9.914 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1488, allocations: 0 / 319.4 MB, free: 9.914 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006809/0.1494, allocations: 370.6 kB / 319.8 MB, free: 9.582 MB / 266.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.0001113/0.1495, allocations: 109.2 kB / 319.9 MB, free: 9.48 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001274/0.1508, allocations: 1.197 MB / 321.1 MB, free: 8.273 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.419e-05/0.1508, allocations: 9.562 kB / 321.1 MB, free: 8.266 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003747/0.1512, allocations: 0.9426 MB / 322 MB, free: 7.242 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004628/0.1517, allocations: 185 kB / 322.2 MB, free: 7.066 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001951/0.1536, allocations: 1.964 MB / 324.2 MB, free: 5.062 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001086/0.1537, allocations: 213.7 kB / 324.4 MB, free: 4.836 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001965/0.1539, allocations: 94.88 kB / 324.5 MB, free: 4.738 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002705/0.1542, allocations: 229.2 kB / 324.7 MB, free: 4.512 MB / 266.7 MB Notification: Performance of SimCode: time 9.21e-07/0.1542, allocations: 0 / 324.7 MB, free: 4.512 MB / 266.7 MB Notification: Performance of Templates: time 0.01677/0.171, allocations: 14.27 MB / 339 MB, free: 6.48 MB / 282.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","",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.0069091711193323]