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.001493/0.001493, allocations: 92.62 kB / 20.96 MB, free: 3.477 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.001581/0.001581, allocations: 149.4 kB / 24.25 MB, free: 188 kB / 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 1.542/1.542, allocations: 173.4 MB / 200.8 MB, free: 9.309 MB / 186.7 MB " [Timeout remaining time 178] 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.664e-06/1.664e-06, allocations: 0 / 267.4 MB, free: 6.68 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.488e-05/2.654e-05, allocations: 2.312 kB / 267.4 MB, free: 6.676 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.01005/0.01008, allocations: 6.855 MB / 274.2 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004688/0.01477, allocations: 1.847 MB / 276.1 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001445/0.01621, allocations: 35.81 kB / 276.1 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009655/0.01718, allocations: 233.7 kB / 276.3 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002026/0.0192, allocations: 475.9 kB / 276.8 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001695/0.0209, allocations: 0.511 MB / 277.3 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003113/0.02401, allocations: 1.856 MB / 279.2 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000912/0.02492, allocations: 416.3 kB / 279.6 MB, free: 10.39 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001576/0.0265, allocations: 0.994 MB / 280.6 MB, free: 9.395 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007797/0.02728, allocations: 0.5257 MB / 281.1 MB, free: 8.867 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002716/0.02755, allocations: 180 kB / 281.3 MB, free: 8.691 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002702/0.02782, allocations: 176 kB / 281.4 MB, free: 8.52 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003505/0.02817, allocations: 366.6 kB / 281.8 MB, free: 8.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006638/0.02884, allocations: 0.5378 MB / 282.3 MB, free: 7.621 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002636/0.03147, allocations: 2.091 MB / 284.4 MB, free: 5.523 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.03148, allocations: 4 kB / 284.4 MB, free: 5.52 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.03148, allocations: 0 / 284.4 MB, free: 5.52 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.75e-05/0.03151, allocations: 0 / 284.4 MB, free: 5.52 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.003879/0.03538, allocations: 1.732 MB / 286.2 MB, free: 3.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.03543, allocations: 16.91 kB / 286.2 MB, free: 3.734 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004391/0.03587, allocations: 267.9 kB / 286.4 MB, free: 3.473 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001333/0.0372, allocations: 0.7043 MB / 287.1 MB, free: 2.742 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.465e-05/0.0373, allocations: 94.77 kB / 287.2 MB, free: 2.648 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002146/0.03751, allocations: 132.3 kB / 287.4 MB, free: 2.52 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003077/0.04059, allocations: 1.635 MB / 289 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.789e-05/0.04062, allocations: 3.938 kB / 289 MB, free: 0.75 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001239/0.04074, allocations: 56 kB / 289.1 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.025e-05/0.04077, allocations: 28 kB / 289.1 MB, free: 0.668 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1199/0.1607, allocations: 1.113 MB / 290.2 MB, free: 32.4 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007229/0.1679, allocations: 4.294 MB / 294.5 MB, free: 30.11 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002411/0.1703, allocations: 0.9907 MB / 295.5 MB, free: 29.73 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001144/0.1714, allocations: 489.2 kB / 296 MB, free: 29.56 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.859e-05/0.1715, allocations: 16.12 kB / 296 MB, free: 29.56 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.1715, allocations: 49.19 kB / 296 MB, free: 29.51 MB / 266.7 MB Notification: Performance of pre-optimization done (n=79): time 2.645e-06/0.1715, allocations: 3.938 kB / 296 MB, free: 29.51 MB / 266.7 MB Notification: Performance of matching and sorting (n=79): time 0.008262/0.1798, allocations: 2.486 MB / 298.5 MB, free: 28.95 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/0.1798, allocations: 95.92 kB / 298.6 MB, free: 28.84 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009772/0.1808, allocations: 0.7507 MB / 299.4 MB, free: 28.52 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.465e-05/0.1809, allocations: 42.7 kB / 299.4 MB, free: 28.47 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002818/0.1812, allocations: 0.6093 MB / 300 MB, free: 28.06 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001606/0.1813, allocations: 287.2 kB / 300.3 MB, free: 27.88 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002248/0.1815, allocations: 172.4 kB / 300.5 MB, free: 27.78 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.103e-05/0.1816, allocations: 396.7 kB / 300.8 MB, free: 27.43 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008297/0.1825, allocations: 374.5 kB / 301.2 MB, free: 27.32 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009181/0.1834, allocations: 0.5819 MB / 301.8 MB, free: 26.94 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00164/0.185, allocations: 0.9429 MB / 302.7 MB, free: 26.34 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/0.185, allocations: 1.375 kB / 302.7 MB, free: 26.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002763/0.1878, allocations: 1.395 MB / 304.1 MB, free: 25.67 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.1878, allocations: 7.469 kB / 304.1 MB, free: 25.67 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/0.1878, allocations: 9.781 kB / 304.2 MB, free: 25.67 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001376/0.1892, allocations: 351.1 kB / 304.5 MB, free: 25.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003139/0.1923, allocations: 0.8358 MB / 305.3 MB, free: 24.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01018/0.2025, allocations: 10.07 MB / 315.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009815/0.2035, allocations: 147.3 kB / 315.5 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.694e-05/0.2036, allocations: 36 kB / 315.6 MB, free: 13.98 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.0004727/0.204, allocations: 273.5 kB / 315.8 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001815/0.2042, allocations: 119.4 kB / 316 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001544/0.2044, allocations: 104.1 kB / 316.1 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.2044, allocations: 8 kB / 316.1 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.58e-05/0.2044, allocations: 7.938 kB / 316.1 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.2044, allocations: 3.984 kB / 316.1 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004101/0.2085, allocations: 2.133 MB / 318.2 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.2085, allocations: 0 / 318.2 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004944/0.209, allocations: 123.9 kB / 318.3 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002325/0.2113, allocations: 0.6884 MB / 319 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.116e-05/0.2114, allocations: 19.98 kB / 319 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009595/0.221, allocations: 10.1 MB / 329.1 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.221, allocations: 0 / 329.1 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005562/0.2265, allocations: 1.948 MB / 331.1 MB, free: 13.76 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000358/0.2269, allocations: 111.2 kB / 331.2 MB, free: 13.65 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.227, allocations: 19.94 kB / 331.2 MB, free: 13.63 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007909/0.2278, allocations: 99.91 kB / 331.3 MB, free: 13.53 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001942/0.228, allocations: 64.55 kB / 331.4 MB, free: 13.47 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.832e-05/0.228, allocations: 23.98 kB / 331.4 MB, free: 13.45 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0008092/0.2288, allocations: 0.4991 MB / 331.9 MB, free: 12.95 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2288, allocations: 3.938 kB / 331.9 MB, free: 12.95 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001409/0.2303, allocations: 367.2 kB / 332.3 MB, free: 12.59 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.000214/0.2305, allocations: 123.2 kB / 332.4 MB, free: 12.46 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.006282/0.2368, allocations: 1.965 MB / 334.4 MB, free: 10.46 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/0.2368, allocations: 0 / 334.4 MB, free: 10.46 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002101/0.2389, allocations: 1.14 MB / 335.5 MB, free: 9.238 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001204/0.2401, allocations: 194.8 kB / 335.7 MB, free: 9.062 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005503/0.2456, allocations: 2.276 MB / 338 MB, free: 6.742 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008999/0.2465, allocations: 488 kB / 338.4 MB, free: 6.23 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004272/0.2469, allocations: 94.88 kB / 338.5 MB, free: 6.133 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001617/0.2471, allocations: 56.5 kB / 338.6 MB, free: 6.078 MB / 282.7 MB Notification: Performance of SimCode: time 1.042e-06/0.2471, allocations: 0 / 338.6 MB, free: 6.078 MB / 282.7 MB Notification: Performance of Templates: time 0.02671/0.2738, allocations: 13.36 MB / 351.9 MB, free: 8.938 MB / 298.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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.090916855027899]