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.001004/0.001004, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00455/0.005554, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001032/0.001032, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001324/0.002356, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9884/0.9884, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1382/1.127, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.382e-06/1.382e-06, allocations: 0 / 244.8 MB, free: 14.16 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.908e-05/2.046e-05, allocations: 5.828 kB / 244.8 MB, free: 14.16 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.006951/0.006971, allocations: 7.58 MB / 252.3 MB, free: 6.531 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002105/0.009076, allocations: 1.986 MB / 254.3 MB, free: 4.539 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003023/0.009378, allocations: 35.81 kB / 254.4 MB, free: 4.504 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002589/0.009637, allocations: 237.6 kB / 254.6 MB, free: 4.27 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004829/0.01012, allocations: 479.9 kB / 255.1 MB, free: 3.797 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004434/0.01056, allocations: 0.5032 MB / 255.6 MB, free: 3.293 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001009/0.01157, allocations: 1.84 MB / 257.4 MB, free: 1.445 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003747/0.01195, allocations: 428.3 kB / 257.8 MB, free: 1.004 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000749/0.0127, allocations: 1.135 MB / 259 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004188/0.01311, allocations: 0.5686 MB / 259.5 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001416/0.01326, allocations: 180 kB / 259.7 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001567/0.01341, allocations: 180 kB / 259.9 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001361/0.01355, allocations: 267.2 kB / 260.1 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002911/0.01384, allocations: 459.1 kB / 260.6 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006819/0.01452, allocations: 1.024 MB / 261.6 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.01453, allocations: 0 / 261.6 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.01453, allocations: 4 kB / 261.6 MB, free: 13.19 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.218e-05/0.01454, allocations: 0 / 261.6 MB, free: 13.19 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.001552/0.0161, allocations: 1.957 MB / 263.6 MB, free: 11.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.386e-05/0.01612, allocations: 11.98 kB / 263.6 MB, free: 11.19 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001899/0.01631, allocations: 212.8 kB / 263.8 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004901/0.0168, allocations: 0.4935 MB / 264.3 MB, free: 10.46 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.409e-05/0.01684, allocations: 94.83 kB / 264.4 MB, free: 10.36 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-05/0.01694, allocations: 128.3 kB / 264.5 MB, free: 10.24 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000877/0.01782, allocations: 1.241 MB / 265.8 MB, free: 8.863 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.01783, allocations: 7.875 kB / 265.8 MB, free: 8.855 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.321e-05/0.01789, allocations: 52 kB / 265.8 MB, free: 8.805 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/0.0179, allocations: 36 kB / 265.8 MB, free: 8.77 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000679/0.01858, allocations: 319.9 kB / 266.2 MB, free: 8.445 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007959/0.02654, allocations: 3.549 MB / 269.7 MB, free: 4.723 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009047/0.02745, allocations: 0.5518 MB / 270.3 MB, free: 4.145 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003691/0.02782, allocations: 230.6 kB / 270.5 MB, free: 3.914 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.788e-05/0.02786, allocations: 12.66 kB / 270.5 MB, free: 3.902 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/0.0279, allocations: 47.22 kB / 270.5 MB, free: 3.848 MB / 266.7 MB Notification: Performance of pre-optimization done (n=79): time 3.136e-06/0.0279, allocations: 0 / 270.5 MB, free: 3.848 MB / 266.7 MB Notification: Performance of matching and sorting (n=79): time 0.003088/0.03099, allocations: 1.252 MB / 271.8 MB, free: 2.57 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/0.03104, allocations: 85.77 kB / 271.9 MB, free: 2.469 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000648/0.03169, allocations: 0.6286 MB / 272.5 MB, free: 1.824 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.149e-05/0.03174, allocations: 41.7 kB / 272.5 MB, free: 1.777 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003029/0.03204, allocations: 0.529 MB / 273.1 MB, free: 1.242 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002253/0.03227, allocations: 293.4 kB / 273.4 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002403/0.03251, allocations: 174.5 kB / 273.5 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.03266, allocations: 402.5 kB / 273.9 MB, free: 384 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002126/0.03287, allocations: 93.95 kB / 274 MB, free: 288 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003468/0.03322, allocations: 335.7 kB / 274.3 MB, free: 15.86 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006682/0.03389, allocations: 0.5197 MB / 274.9 MB, free: 15.25 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.304e-05/0.0339, allocations: 4 kB / 274.9 MB, free: 15.25 MB / 282.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00121/0.03511, allocations: 0.6498 MB / 275.5 MB, free: 14.59 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.03513, allocations: 16.25 kB / 275.5 MB, free: 14.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.03515, allocations: 4 kB / 275.5 MB, free: 14.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007281/0.03587, allocations: 206.4 kB / 275.7 MB, free: 14.36 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001549/0.03742, allocations: 0.6032 MB / 276.3 MB, free: 13.75 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004015/0.04144, allocations: 8.057 MB / 284.4 MB, free: 5.184 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004479/0.04189, allocations: 115.3 kB / 284.5 MB, free: 5.07 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.138e-05/0.04192, allocations: 31.98 kB / 284.5 MB, free: 5.039 MB / 282.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.0002302/0.04215, allocations: 173.6 kB / 284.7 MB, free: 4.859 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.478e-05/0.04224, allocations: 83.91 kB / 284.8 MB, free: 4.777 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.315e-05/0.04233, allocations: 96.12 kB / 284.9 MB, free: 4.676 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.04233, allocations: 8 kB / 284.9 MB, free: 4.668 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.04234, allocations: 7.984 kB / 284.9 MB, free: 4.66 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.04234, allocations: 0 / 284.9 MB, free: 4.66 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001425/0.04377, allocations: 1.15 MB / 286.1 MB, free: 3.465 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.04377, allocations: 0 / 286.1 MB, free: 3.465 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003957/0.04417, allocations: 147.8 kB / 286.2 MB, free: 3.32 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.207e-05/0.04426, allocations: 87.2 kB / 286.3 MB, free: 3.234 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006535/0.04491, allocations: 372.8 kB / 286.6 MB, free: 2.852 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.438e-05/0.04497, allocations: 19.98 kB / 286.7 MB, free: 2.832 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1263/0.1713, allocations: 8.017 MB / 294.7 MB, free: 23.27 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.1713, allocations: 1.922 kB / 294.7 MB, free: 23.27 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001453/0.1727, allocations: 0.9172 MB / 295.6 MB, free: 22.98 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001259/0.1728, allocations: 19.3 kB / 295.6 MB, free: 22.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003349/0.1732, allocations: 87.22 kB / 295.7 MB, free: 22.98 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/0.1733, allocations: 64.95 kB / 295.8 MB, free: 22.98 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.689e-05/0.1733, allocations: 21.12 kB / 295.8 MB, free: 22.98 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003106/0.1736, allocations: 298.9 kB / 296.1 MB, free: 22.96 MB / 282.7 MB Notification: Performance of sort global known variables: time 2e-08/0.1736, allocations: 0 / 296.1 MB, free: 22.96 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001068/0.1747, allocations: 372.1 kB / 296.4 MB, free: 22.95 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.0001721/0.1749, allocations: 111.7 kB / 296.6 MB, free: 22.89 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001894/0.1768, allocations: 1.227 MB / 297.8 MB, free: 22.51 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-05/0.1768, allocations: 15.34 kB / 297.8 MB, free: 22.51 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006467/0.1775, allocations: 0.9865 MB / 298.8 MB, free: 21.82 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009844/0.1784, allocations: 1.698 MB / 300.5 MB, free: 20.19 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006551/0.185, allocations: 2.018 MB / 302.5 MB, free: 19.32 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.1852, allocations: 212.4 kB / 302.7 MB, free: 19.25 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003718/0.1856, allocations: 103.9 kB / 302.8 MB, free: 19.23 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004157/0.186, allocations: 253.5 kB / 303.1 MB, free: 19.18 MB / 282.7 MB Notification: Performance of SimCode: time 1.262e-06/0.186, allocations: 0.9375 kB / 303.1 MB, free: 19.18 MB / 282.7 MB Notification: Performance of Templates: time 0.02038/0.2064, allocations: 15.92 MB / 319 MB, free: 11.76 MB / 282.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.114014378748834]