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.001057/0.001057, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001567/0.002624, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0009378/0.0009378, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01338/0.01431, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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.903/0.903, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2018/1.105, allocations: 52.48 MB / 238.5 MB, free: 7.629 MB / 234.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 1.012e-06/1.012e-06, allocations: 0 / 239.8 MB, free: 6.316 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.697e-05/1.798e-05, allocations: 3.719 kB / 239.8 MB, free: 6.312 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.005772/0.00579, allocations: 7.558 MB / 247.3 MB, free: 14.73 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002417/0.008207, allocations: 1.962 MB / 249.3 MB, free: 12.78 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003138/0.008521, allocations: 31.81 kB / 249.3 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002687/0.00879, allocations: 242.7 kB / 249.6 MB, free: 12.51 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005065/0.009296, allocations: 480.3 kB / 250 MB, free: 12.04 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004789/0.009775, allocations: 0.5022 MB / 250.5 MB, free: 11.54 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001075/0.01085, allocations: 1.848 MB / 252.4 MB, free: 9.688 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004142/0.01126, allocations: 428.3 kB / 252.8 MB, free: 9.234 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008164/0.01208, allocations: 1.125 MB / 253.9 MB, free: 8.098 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004658/0.01255, allocations: 0.5686 MB / 254.5 MB, free: 7.527 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001564/0.0127, allocations: 176 kB / 254.7 MB, free: 7.355 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001616/0.01286, allocations: 180 kB / 254.9 MB, free: 7.18 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001481/0.01301, allocations: 271.2 kB / 255.1 MB, free: 6.914 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000305/0.01332, allocations: 459.8 kB / 255.6 MB, free: 6.465 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007019/0.01402, allocations: 1.021 MB / 256.6 MB, free: 5.441 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.598e-06/0.01403, allocations: 3.984 kB / 256.6 MB, free: 5.438 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.01403, allocations: 1.969 kB / 256.6 MB, free: 5.438 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.502e-05/0.01405, allocations: 0 / 256.6 MB, free: 5.438 MB / 250.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.001631/0.01568, allocations: 1.96 MB / 258.6 MB, free: 3.449 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.407e-05/0.0157, allocations: 11.98 kB / 258.6 MB, free: 3.438 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001694/0.01587, allocations: 212.8 kB / 258.8 MB, free: 3.23 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005076/0.01638, allocations: 0.4935 MB / 259.3 MB, free: 2.707 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.478e-05/0.01642, allocations: 94.83 kB / 259.4 MB, free: 2.613 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.503e-05/0.01652, allocations: 128.4 kB / 259.5 MB, free: 2.488 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009189/0.01744, allocations: 1.245 MB / 260.7 MB, free: 1.109 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.01745, allocations: 0 / 260.7 MB, free: 1.109 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.395e-05/0.01751, allocations: 59.94 kB / 260.8 MB, free: 1.051 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.682e-05/0.01752, allocations: 32 kB / 260.8 MB, free: 1.02 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003847/0.01791, allocations: 327.8 kB / 261.1 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003198/0.02111, allocations: 3.545 MB / 264.7 MB, free: 12.97 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005628/0.02167, allocations: 0.5519 MB / 265.2 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002347/0.0219, allocations: 234.6 kB / 265.5 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.064e-05/0.02194, allocations: 12.66 kB / 265.5 MB, free: 12.15 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.02196, allocations: 55.14 kB / 265.5 MB, free: 12.09 MB / 266.7 MB Notification: Performance of pre-optimization done (n=79): time 1.563e-06/0.02196, allocations: 0 / 265.5 MB, free: 12.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=79): time 0.001907/0.02387, allocations: 1.228 MB / 266.8 MB, free: 10.83 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/0.0239, allocations: 89.7 kB / 266.8 MB, free: 10.73 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003658/0.02427, allocations: 0.6286 MB / 267.5 MB, free: 10.09 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.497e-05/0.0243, allocations: 41.7 kB / 267.5 MB, free: 10.04 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001958/0.0245, allocations: 0.5289 MB / 268 MB, free: 9.504 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/0.02462, allocations: 289.5 kB / 268.3 MB, free: 9.219 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001389/0.02476, allocations: 170.5 kB / 268.5 MB, free: 9.047 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.02487, allocations: 410.5 kB / 268.9 MB, free: 8.637 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.02498, allocations: 89.95 kB / 269 MB, free: 8.547 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002109/0.02519, allocations: 328.2 kB / 269.3 MB, free: 8.141 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003817/0.02558, allocations: 0.5236 MB / 269.8 MB, free: 7.527 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.461e-06/0.02558, allocations: 8 kB / 269.8 MB, free: 7.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.0006451/0.02623, allocations: 0.6423 MB / 270.5 MB, free: 6.859 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.02624, allocations: 16.05 kB / 270.5 MB, free: 6.844 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.02625, allocations: 4 kB / 270.5 MB, free: 6.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003878/0.02663, allocations: 202.4 kB / 270.7 MB, free: 6.633 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/0.02773, allocations: 0.6047 MB / 271.3 MB, free: 6.027 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003627/0.03135, allocations: 8.075 MB / 279.4 MB, free: 13.44 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002683/0.03162, allocations: 115.3 kB / 279.5 MB, free: 13.33 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.092e-05/0.03165, allocations: 28 kB / 279.5 MB, free: 13.3 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.000159/0.03181, allocations: 181.5 kB / 279.7 MB, free: 13.11 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.667e-05/0.0319, allocations: 87.91 kB / 279.8 MB, free: 13.03 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.409e-05/0.03198, allocations: 96.12 kB / 279.9 MB, free: 12.93 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.03199, allocations: 11.98 kB / 279.9 MB, free: 12.92 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.03199, allocations: 4 kB / 279.9 MB, free: 12.91 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.03199, allocations: 3.984 kB / 279.9 MB, free: 12.91 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/0.03325, allocations: 1.135 MB / 281 MB, free: 11.72 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.03325, allocations: 3.984 kB / 281 MB, free: 11.72 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002964/0.03355, allocations: 143.8 kB / 281.2 MB, free: 11.58 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.336e-05/0.03362, allocations: 91.27 kB / 281.3 MB, free: 11.49 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005757/0.0342, allocations: 368.8 kB / 281.6 MB, free: 11.11 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.538e-05/0.03422, allocations: 16 kB / 281.6 MB, free: 11.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003552/0.03777, allocations: 8.03 MB / 289.7 MB, free: 2.543 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.03778, allocations: 0 / 289.7 MB, free: 2.543 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000894/0.03867, allocations: 0.9261 MB / 290.6 MB, free: 1.578 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.2e-05/0.03872, allocations: 16 kB / 290.6 MB, free: 1.562 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002765/0.039, allocations: 79.94 kB / 290.7 MB, free: 1.484 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.641e-05/0.03907, allocations: 68.47 kB / 290.8 MB, free: 1.418 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.223e-05/0.0391, allocations: 23.98 kB / 290.8 MB, free: 1.395 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000189/0.03929, allocations: 308.4 kB / 291.1 MB, free: 1.094 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03929, allocations: 0 / 291.1 MB, free: 1.094 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00061/0.0399, allocations: 375.1 kB / 291.4 MB, free: 0.7266 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.0001154/0.04001, allocations: 104.3 kB / 291.5 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001415/0.04143, allocations: 1.224 MB / 292.8 MB, free: 15.34 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-05/0.04145, allocations: 16.5 kB / 292.8 MB, free: 15.33 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005517/0.042, allocations: 0.9847 MB / 293.8 MB, free: 14.26 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009037/0.04291, allocations: 1.697 MB / 295.5 MB, free: 12.25 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00559/0.04849, allocations: 2.014 MB / 297.5 MB, free: 10.18 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001463/0.04864, allocations: 210.1 kB / 297.7 MB, free: 9.949 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002149/0.04886, allocations: 99.31 kB / 297.8 MB, free: 9.848 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00033/0.04919, allocations: 253.2 kB / 298 MB, free: 9.602 MB / 298.7 MB Notification: Performance of SimCode: time 6.11e-07/0.04919, allocations: 0 / 298 MB, free: 9.602 MB / 298.7 MB Notification: Performance of Templates: time 0.01769/0.06688, allocations: 15.91 MB / 313.9 MB, free: 9.926 MB / 314.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9193631634116173]