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.001249/0.001249, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.0008837/0.0008837, allocations: 169.1 kB / 24.91 MB, free: 9.199 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 0.8706/0.8706, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.162e-06/1.162e-06, allocations: 3.938 kB / 273.5 MB, free: 1.258 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.598e-06/1.076e-05, allocations: 2.312 kB / 273.5 MB, free: 1.254 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.005348/0.005359, allocations: 7.5 MB / 281 MB, free: 9.715 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00209/0.007449, allocations: 1.975 MB / 283 MB, free: 7.734 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002996/0.007749, allocations: 35.81 kB / 283 MB, free: 7.699 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003097/0.008058, allocations: 241.7 kB / 283.3 MB, free: 7.461 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000522/0.00858, allocations: 479.8 kB / 283.7 MB, free: 6.988 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006446/0.009225, allocations: 0.5032 MB / 284.2 MB, free: 6.484 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001041/0.01027, allocations: 1.86 MB / 286.1 MB, free: 4.617 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004041/0.01067, allocations: 428.3 kB / 286.5 MB, free: 4.168 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006322/0.0113, allocations: 0.994 MB / 287.5 MB, free: 3.172 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004348/0.01174, allocations: 0.5648 MB / 288.1 MB, free: 2.605 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001442/0.01188, allocations: 179.9 kB / 288.2 MB, free: 2.43 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001398/0.01202, allocations: 180 kB / 288.4 MB, free: 2.254 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000175/0.0122, allocations: 358.7 kB / 288.8 MB, free: 1.902 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003301/0.01253, allocations: 0.5456 MB / 289.3 MB, free: 1.355 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007194/0.01325, allocations: 1.113 MB / 290.4 MB, free: 244 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.01325, allocations: 0 / 290.4 MB, free: 244 kB / 266.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.01325, allocations: 0 / 290.4 MB, free: 244 kB / 266.7 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.01326, allocations: 4 kB / 290.4 MB, free: 240 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.0928/0.1061, allocations: 1.664 MB / 292.1 MB, free: 26.92 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.1061, allocations: 8.781 kB / 292.1 MB, free: 26.92 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002018/0.1063, allocations: 207.8 kB / 292.3 MB, free: 26.92 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005216/0.1068, allocations: 0.498 MB / 292.8 MB, free: 26.65 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.512e-05/0.1069, allocations: 93.39 kB / 292.9 MB, free: 26.65 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.107, allocations: 129.2 kB / 293 MB, free: 26.65 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009324/0.1079, allocations: 1.24 MB / 294.3 MB, free: 26.08 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.1079, allocations: 1.891 kB / 294.3 MB, free: 26.08 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.29e-05/0.108, allocations: 50.66 kB / 294.3 MB, free: 26.08 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.956e-05/0.108, allocations: 33.25 kB / 294.3 MB, free: 26.08 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004415/0.1084, allocations: 332.9 kB / 294.7 MB, free: 26.05 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00332/0.1117, allocations: 3.53 MB / 298.2 MB, free: 24.49 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006046/0.1124, allocations: 0.5422 MB / 298.7 MB, free: 24.32 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002625/0.1126, allocations: 239.5 kB / 299 MB, free: 24.27 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.769e-05/0.1127, allocations: 15.22 kB / 299 MB, free: 24.27 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.1127, allocations: 50.42 kB / 299 MB, free: 24.22 MB / 266.7 MB Notification: Performance of pre-optimization done (n=79): time 1.854e-06/0.1127, allocations: 0 / 299 MB, free: 24.22 MB / 266.7 MB Notification: Performance of matching and sorting (n=79): time 0.002123/0.1148, allocations: 1.228 MB / 300.3 MB, free: 24.05 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.002e-05/0.1148, allocations: 87.47 kB / 300.3 MB, free: 23.95 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003888/0.1152, allocations: 0.634 MB / 301 MB, free: 23.77 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.111e-05/0.1152, allocations: 39.2 kB / 301 MB, free: 23.73 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/0.1154, allocations: 0.5264 MB / 301.5 MB, free: 23.38 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.1155, allocations: 298.6 kB / 301.8 MB, free: 23.16 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/0.1156, allocations: 172.3 kB / 302 MB, free: 23.08 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.319e-05/0.1157, allocations: 415.2 kB / 302.4 MB, free: 22.76 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.1158, allocations: 90.59 kB / 302.5 MB, free: 22.76 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001923/0.116, allocations: 321.2 kB / 302.8 MB, free: 22.52 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003517/0.1164, allocations: 0.5049 MB / 303.3 MB, free: 22.24 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.1164, allocations: 6.688 kB / 303.3 MB, free: 22.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.0006924/0.1171, allocations: 0.636 MB / 304 MB, free: 22.07 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.1171, allocations: 12.09 kB / 304 MB, free: 22.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.1171, allocations: 7.688 kB / 304 MB, free: 22.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003975/0.1175, allocations: 202.4 kB / 304.2 MB, free: 22.03 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009797/0.1185, allocations: 0.5535 MB / 304.7 MB, free: 21.92 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002566/0.121, allocations: 8.05 MB / 312.8 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002748/0.1213, allocations: 115.3 kB / 312.9 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.815e-05/0.1213, allocations: 35.72 kB / 312.9 MB, free: 13.49 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.0001417/0.1215, allocations: 165.6 kB / 313.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.165e-05/0.1216, allocations: 83.92 kB / 313.2 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.255e-05/0.1216, allocations: 108.1 kB / 313.3 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.1216, allocations: 8.125 kB / 313.3 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1216, allocations: 7.938 kB / 313.3 MB, free: 13.1 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.1216, allocations: 7.922 kB / 313.3 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001195/0.1228, allocations: 1.14 MB / 314.4 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.1228, allocations: 4 kB / 314.4 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002453/0.1231, allocations: 111.9 kB / 314.6 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005458/0.1236, allocations: 368.3 kB / 314.9 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.163e-05/0.1237, allocations: 15.98 kB / 314.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002336/0.126, allocations: 8.054 MB / 323 MB, free: 2.852 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.126, allocations: 0 / 323 MB, free: 2.852 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007922/0.1268, allocations: 0.9144 MB / 323.9 MB, free: 1.895 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.049e-05/0.1269, allocations: 95.14 kB / 324 MB, free: 1.801 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.237e-05/0.1269, allocations: 12 kB / 324 MB, free: 1.789 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002735/0.1272, allocations: 84.19 kB / 324.1 MB, free: 1.707 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.319e-05/0.1273, allocations: 64.53 kB / 324.1 MB, free: 1.645 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/0.1273, allocations: 20 kB / 324.2 MB, free: 1.625 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001557/0.1274, allocations: 296.5 kB / 324.5 MB, free: 1.336 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1274, allocations: 0 / 324.5 MB, free: 1.336 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005957/0.128, allocations: 371.2 kB / 324.8 MB, free: 0.9727 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.0001006/0.1281, allocations: 112.3 kB / 324.9 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001337/0.1295, allocations: 1.191 MB / 326.1 MB, free: 15.63 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-05/0.1295, allocations: 13.31 kB / 326.1 MB, free: 15.62 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000744/0.1302, allocations: 0.9502 MB / 327.1 MB, free: 14.59 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004873/0.1307, allocations: 186.5 kB / 327.3 MB, free: 14.41 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002135/0.1329, allocations: 1.962 MB / 329.2 MB, free: 12.41 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001435/0.133, allocations: 201.9 kB / 329.4 MB, free: 12.2 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002068/0.1332, allocations: 90.89 kB / 329.5 MB, free: 12.1 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003041/0.1335, allocations: 233.2 kB / 329.7 MB, free: 11.87 MB / 282.7 MB Notification: Performance of SimCode: time 7.11e-07/0.1335, allocations: 0 / 329.7 MB, free: 11.87 MB / 282.7 MB Notification: Performance of Templates: time 0.01652/0.15, allocations: 14.29 MB / 344 MB, free: 13.85 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: 2.8422340229153633]