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.001098/0.001098, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001517/0.001517, allocations: 162.8 kB / 24.99 MB, free: 8.746 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 1.051/1.051, allocations: 177.1 MB / 205.3 MB, free: 5.594 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.403e-06/1.403e-06, allocations: 0 / 273.1 MB, free: 1.777 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.21e-05/2.351e-05, allocations: 2.312 kB / 273.1 MB, free: 1.773 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.006524/0.006548, allocations: 7.665 MB / 280.8 MB, free: 10.07 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005308/0.01186, allocations: 1.894 MB / 282.7 MB, free: 8.172 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001307/0.01316, allocations: 31.81 kB / 282.7 MB, free: 8.141 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000497/0.01366, allocations: 241.6 kB / 282.9 MB, free: 7.902 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009563/0.01462, allocations: 475.9 kB / 283.4 MB, free: 7.434 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009529/0.01557, allocations: 0.5071 MB / 283.9 MB, free: 6.926 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001664/0.01723, allocations: 1.856 MB / 285.8 MB, free: 5.062 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005497/0.01778, allocations: 412.3 kB / 286.2 MB, free: 4.633 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001216/0.019, allocations: 0.998 MB / 287.2 MB, free: 3.633 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006005/0.0196, allocations: 0.5608 MB / 287.7 MB, free: 3.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001675/0.01977, allocations: 176 kB / 287.9 MB, free: 2.898 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001668/0.01993, allocations: 180 kB / 288.1 MB, free: 2.723 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001867/0.02012, allocations: 370.7 kB / 288.4 MB, free: 2.359 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004496/0.02057, allocations: 0.5455 MB / 289 MB, free: 1.812 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009931/0.02156, allocations: 1.109 MB / 290.1 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.02157, allocations: 0 / 290.1 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.02157, allocations: 0 / 290.1 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.768e-05/0.02159, allocations: 0 / 290.1 MB, free: 0.6992 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.1162/0.1378, allocations: 1.775 MB / 291.9 MB, free: 29.35 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.434e-05/0.1379, allocations: 10.09 kB / 291.9 MB, free: 29.35 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006362/0.1385, allocations: 263 kB / 292.1 MB, free: 29.23 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001354/0.1399, allocations: 0.7106 MB / 292.8 MB, free: 28.86 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.087e-05/0.1399, allocations: 92.64 kB / 292.9 MB, free: 28.81 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000176/0.1401, allocations: 127 kB / 293 MB, free: 28.77 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002252/0.1424, allocations: 1.306 MB / 294.4 MB, free: 27.98 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.996e-05/0.1424, allocations: 5.219 kB / 294.4 MB, free: 27.98 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/0.1425, allocations: 51.56 kB / 294.4 MB, free: 27.94 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.99e-05/0.1425, allocations: 30.19 kB / 294.4 MB, free: 27.94 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001477/0.144, allocations: 0.5037 MB / 294.9 MB, free: 27.84 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006605/0.1506, allocations: 4.33 MB / 299.3 MB, free: 25.07 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.1517, allocations: 0.6509 MB / 299.9 MB, free: 24.81 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006034/0.1523, allocations: 288.2 kB / 300.2 MB, free: 24.73 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.481e-05/0.1524, allocations: 21.83 kB / 300.2 MB, free: 24.73 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.624e-05/0.1524, allocations: 48.27 kB / 300.3 MB, free: 24.68 MB / 266.7 MB Notification: Performance of pre-optimization done (n=79): time 3.287e-06/0.1524, allocations: 0 / 300.3 MB, free: 24.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=79): time 0.003054/0.1555, allocations: 1.459 MB / 301.7 MB, free: 24.34 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.1555, allocations: 86.67 kB / 301.8 MB, free: 24.24 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005888/0.1561, allocations: 0.7212 MB / 302.5 MB, free: 23.91 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.012e-05/0.1561, allocations: 37.83 kB / 302.6 MB, free: 23.87 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002197/0.1563, allocations: 0.6566 MB / 303.2 MB, free: 23.28 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001254/0.1565, allocations: 291.5 kB / 303.5 MB, free: 23.04 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001689/0.1566, allocations: 169.2 kB / 303.7 MB, free: 22.93 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.1567, allocations: 0.574 MB / 304.3 MB, free: 22.36 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002468/0.157, allocations: 139.4 kB / 304.4 MB, free: 22.32 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003209/0.1573, allocations: 452 kB / 304.8 MB, free: 21.89 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005739/0.1579, allocations: 0.6302 MB / 305.5 MB, free: 21.38 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.1579, allocations: 1.094 kB / 305.5 MB, free: 21.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001082/0.159, allocations: 0.8915 MB / 306.4 MB, free: 20.96 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.159, allocations: 7.719 kB / 306.4 MB, free: 20.96 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.159, allocations: 3.844 kB / 306.4 MB, free: 20.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005527/0.1595, allocations: 222.6 kB / 306.6 MB, free: 20.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001115/0.1607, allocations: 0.554 MB / 307.1 MB, free: 20.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003976/0.1646, allocations: 11.87 MB / 319 MB, free: 7.691 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005152/0.1651, allocations: 119.2 kB / 319.1 MB, free: 7.574 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.579e-05/0.1652, allocations: 43.98 kB / 319.2 MB, free: 7.531 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.0002602/0.1654, allocations: 220.4 kB / 319.4 MB, free: 7.309 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.1656, allocations: 119.4 kB / 319.5 MB, free: 7.191 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.467e-05/0.1656, allocations: 100.1 kB / 319.6 MB, free: 7.09 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.1656, allocations: 8.125 kB / 319.6 MB, free: 7.082 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-05/0.1657, allocations: 8 kB / 319.6 MB, free: 7.074 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.1657, allocations: 7.922 kB / 319.6 MB, free: 7.066 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001785/0.1674, allocations: 1.613 MB / 321.2 MB, free: 5.391 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.768e-06/0.1675, allocations: 0 / 321.2 MB, free: 5.391 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002665/0.1677, allocations: 119.9 kB / 321.4 MB, free: 5.273 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007023/0.1684, allocations: 395.8 kB / 321.7 MB, free: 4.863 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.066e-05/0.1685, allocations: 16 kB / 321.8 MB, free: 4.848 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004856/0.1733, allocations: 11.9 MB / 333.7 MB, free: 8.238 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.1733, allocations: 4 kB / 333.7 MB, free: 8.234 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001602/0.1749, allocations: 1.229 MB / 334.9 MB, free: 6.957 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001644/0.1751, allocations: 99.23 kB / 335 MB, free: 6.859 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.997e-05/0.1751, allocations: 16 kB / 335 MB, free: 6.844 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003338/0.1755, allocations: 91.88 kB / 335.1 MB, free: 6.754 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/0.1756, allocations: 64.47 kB / 335.2 MB, free: 6.691 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.149e-05/0.1756, allocations: 32.23 kB / 335.2 MB, free: 6.66 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003872/0.176, allocations: 458.9 kB / 335.6 MB, free: 6.219 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.176, allocations: 0 / 335.6 MB, free: 6.219 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009391/0.177, allocations: 371.1 kB / 336 MB, free: 5.855 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.0001542/0.1771, allocations: 127.1 kB / 336.1 MB, free: 5.719 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002084/0.1792, allocations: 1.442 MB / 337.6 MB, free: 4.227 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.1792, allocations: 0 / 337.6 MB, free: 4.227 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008098/0.18, allocations: 1.313 MB / 338.9 MB, free: 2.805 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006441/0.1807, allocations: 185.4 kB / 339.1 MB, free: 2.637 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00278/0.1834, allocations: 2.03 MB / 341.1 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001682/0.1836, allocations: 205.8 kB / 341.3 MB, free: 348 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002551/0.1839, allocations: 94.86 kB / 341.4 MB, free: 248 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.184, allocations: 64.5 kB / 341.4 MB, free: 184 kB / 282.7 MB Notification: Performance of SimCode: time 1.853e-06/0.184, allocations: 0 / 341.4 MB, free: 184 kB / 282.7 MB Notification: Performance of Templates: time 0.01796/0.2019, allocations: 13.54 MB / 355 MB, free: 2.883 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.4109583189710975]