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.0009222/0.0009222, allocations: 85.17 kB / 21.5 MB, free: 2.992 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.0009169/0.0009169, allocations: 147.1 kB / 24.9 MB, free: 8.727 MB / 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 0.9925/0.9925, allocations: 173.4 MB / 201.5 MB, free: 8.734 MB / 186.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.242e-06/1.242e-06, allocations: 0 / 268.6 MB, free: 5.914 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.959e-05/2.083e-05, allocations: 2.312 kB / 268.6 MB, free: 5.91 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.01342/0.01344, allocations: 7.525 MB / 276.1 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004827/0.01827, allocations: 1.939 MB / 278 MB, free: 12.4 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007257/0.01899, allocations: 35.81 kB / 278.1 MB, free: 12.37 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004549/0.01945, allocations: 233.7 kB / 278.3 MB, free: 12.14 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008279/0.02028, allocations: 475.9 kB / 278.8 MB, free: 11.67 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007845/0.02106, allocations: 0.5032 MB / 279.3 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001455/0.02251, allocations: 1.852 MB / 281.1 MB, free: 9.305 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005448/0.02306, allocations: 432.2 kB / 281.5 MB, free: 8.848 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001014/0.02407, allocations: 1.002 MB / 282.5 MB, free: 7.844 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000686/0.02476, allocations: 0.5647 MB / 283.1 MB, free: 7.277 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002163/0.02498, allocations: 180 kB / 283.3 MB, free: 7.102 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001951/0.02517, allocations: 184 kB / 283.5 MB, free: 6.922 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002137/0.02538, allocations: 362.6 kB / 283.8 MB, free: 6.566 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000436/0.02582, allocations: 0.5378 MB / 284.4 MB, free: 6.027 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001037/0.02686, allocations: 1.121 MB / 285.5 MB, free: 4.902 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.02686, allocations: 0 / 285.5 MB, free: 4.902 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.02686, allocations: 0 / 285.5 MB, free: 4.902 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.785e-05/0.02688, allocations: 0 / 285.5 MB, free: 4.902 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.002104/0.02899, allocations: 1.676 MB / 287.2 MB, free: 3.195 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.02902, allocations: 12.92 kB / 287.2 MB, free: 3.184 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002324/0.02925, allocations: 204.8 kB / 287.4 MB, free: 2.984 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007195/0.02997, allocations: 0.4897 MB / 287.9 MB, free: 2.469 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.284e-05/0.03004, allocations: 90.83 kB / 287.9 MB, free: 2.379 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/0.03016, allocations: 136.3 kB / 288.1 MB, free: 2.246 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/0.03141, allocations: 1.245 MB / 289.3 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/0.03144, allocations: 3.938 kB / 289.3 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.928e-05/0.03151, allocations: 56 kB / 289.4 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.271e-05/0.03153, allocations: 28 kB / 289.4 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005557/0.03209, allocations: 331.9 kB / 289.7 MB, free: 456 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1129/0.145, allocations: 3.523 MB / 293.3 MB, free: 28.81 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007083/0.1457, allocations: 0.5392 MB / 293.8 MB, free: 28.75 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000284/0.146, allocations: 236.5 kB / 294 MB, free: 28.73 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.848e-05/0.146, allocations: 14.58 kB / 294 MB, free: 28.73 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.146, allocations: 47.34 kB / 294.1 MB, free: 28.68 MB / 266.7 MB Notification: Performance of pre-optimization done (n=79): time 2.875e-06/0.1461, allocations: 1.094 kB / 294.1 MB, free: 28.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=79): time 0.002377/0.1484, allocations: 1.238 MB / 295.3 MB, free: 28.55 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.633e-05/0.1485, allocations: 86.58 kB / 295.4 MB, free: 28.46 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004997/0.149, allocations: 0.6288 MB / 296 MB, free: 28.32 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.546e-05/0.149, allocations: 41.27 kB / 296.1 MB, free: 28.29 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002207/0.1492, allocations: 0.5302 MB / 296.6 MB, free: 28.02 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/0.1493, allocations: 295.5 kB / 296.9 MB, free: 27.87 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001624/0.1495, allocations: 170 kB / 297.1 MB, free: 27.85 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.237e-05/0.1496, allocations: 405.5 kB / 297.5 MB, free: 27.54 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.1497, allocations: 91.91 kB / 297.5 MB, free: 27.53 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000226/0.15, allocations: 329.5 kB / 297.9 MB, free: 27.29 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000453/0.1504, allocations: 0.504 MB / 298.4 MB, free: 27.04 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.1504, allocations: 2.875 kB / 298.4 MB, free: 27.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.0009478/0.1514, allocations: 0.6408 MB / 299 MB, free: 26.91 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.1514, allocations: 7.781 kB / 299 MB, free: 26.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/0.1514, allocations: 7.203 kB / 299 MB, free: 26.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005307/0.152, allocations: 210.8 kB / 299.2 MB, free: 26.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/0.1532, allocations: 0.5873 MB / 299.8 MB, free: 26.85 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003221/0.1564, allocations: 8.051 MB / 307.9 MB, free: 19.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003826/0.1568, allocations: 125.7 kB / 308 MB, free: 19.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.512e-05/0.1568, allocations: 29.5 kB / 308 MB, free: 19.48 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.0002028/0.157, allocations: 169.1 kB / 308.2 MB, free: 19.36 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.1571, allocations: 87.05 kB / 308.3 MB, free: 19.36 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.35e-05/0.1572, allocations: 112.4 kB / 308.4 MB, free: 19.33 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.1572, allocations: 8.672 kB / 308.4 MB, free: 19.33 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/0.1572, allocations: 2.094 kB / 308.4 MB, free: 19.33 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.1572, allocations: 3.094 kB / 308.4 MB, free: 19.33 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001409/0.1587, allocations: 1.142 MB / 309.5 MB, free: 19.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.1587, allocations: 0 / 309.5 MB, free: 19.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003002/0.159, allocations: 137.4 kB / 309.7 MB, free: 19.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005744/0.1595, allocations: 363.8 kB / 310 MB, free: 18.95 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.988e-05/0.1596, allocations: 20.53 kB / 310.1 MB, free: 18.94 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002606/0.1622, allocations: 8.052 MB / 318.1 MB, free: 11.33 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1622, allocations: 3.844 kB / 318.1 MB, free: 11.33 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00079/0.163, allocations: 0.9214 MB / 319 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.026e-05/0.163, allocations: 87.2 kB / 319.1 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.103e-05/0.1631, allocations: 12 kB / 319.1 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002583/0.1633, allocations: 83.94 kB / 319.2 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.606e-05/0.1634, allocations: 68.53 kB / 319.3 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-05/0.1635, allocations: 12 kB / 319.3 MB, free: 10.23 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001677/0.1636, allocations: 302.7 kB / 319.6 MB, free: 9.949 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.1636, allocations: 0 / 319.6 MB, free: 9.949 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007664/0.1644, allocations: 367.2 kB / 319.9 MB, free: 9.59 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.0001156/0.1645, allocations: 116 kB / 320.1 MB, free: 9.469 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001312/0.1658, allocations: 1.205 MB / 321.3 MB, free: 8.219 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.471e-05/0.1658, allocations: 12.5 kB / 321.3 MB, free: 8.207 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004474/0.1663, allocations: 0.9315 MB / 322.2 MB, free: 7.191 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004954/0.1668, allocations: 187.9 kB / 322.4 MB, free: 7.016 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002059/0.1688, allocations: 1.96 MB / 324.3 MB, free: 5.02 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001115/0.1689, allocations: 205.9 kB / 324.5 MB, free: 4.797 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002109/0.1692, allocations: 94.95 kB / 324.6 MB, free: 4.699 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002758/0.1694, allocations: 229.2 kB / 324.9 MB, free: 4.473 MB / 266.7 MB Notification: Performance of SimCode: time 1.052e-06/0.1694, allocations: 0 / 324.9 MB, free: 4.473 MB / 266.7 MB Notification: Performance of Templates: time 0.01689/0.1863, allocations: 14.46 MB / 339.3 MB, free: 6.25 MB / 282.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 -s gbode -gbm=radauIIA3 -emit_protected -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.058776411693543]