Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.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.001962/0.001962, 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.002284/0.002284, allocations: 153.4 kB / 24.26 MB, free: 184 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.496/1.496, allocations: 173.4 MB / 200.8 MB, free: 9.289 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.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits") translateModel(Modelica.Electrical.Analog.Examples.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 267.4 MB, free: 6.676 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.829e-05/3.018e-05, allocations: 2.312 kB / 267.4 MB, free: 6.672 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.00745/0.007481, allocations: 4.754 MB / 272.1 MB, free: 1.891 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003184/0.01066, allocations: 1.403 MB / 273.5 MB, free: 496 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004965/0.01116, allocations: 39.69 kB / 273.5 MB, free: 456 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005218/0.01168, allocations: 217.8 kB / 273.8 MB, free: 236 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005959/0.01228, allocations: 205.8 kB / 274 MB, free: 28 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000963/0.01324, allocations: 403.2 kB / 274.4 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001806/0.01505, allocations: 1.149 MB / 275.5 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006412/0.01569, allocations: 316.8 kB / 275.8 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009135/0.0166, allocations: 0.5885 MB / 276.4 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004533/0.01706, allocations: 290.9 kB / 276.7 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001374/0.01719, allocations: 84 kB / 276.8 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002235/0.01742, allocations: 103.9 kB / 276.9 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002143/0.01763, allocations: 211 kB / 277.1 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003834/0.01801, allocations: 323 kB / 277.4 MB, free: 12.56 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001419/0.01943, allocations: 1.156 MB / 278.5 MB, free: 11.4 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.01944, allocations: 0 / 278.5 MB, free: 11.4 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.01944, allocations: 0 / 278.5 MB, free: 11.4 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.43e-05/0.01945, allocations: 0 / 278.5 MB, free: 11.4 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.002173/0.02163, allocations: 1.26 MB / 279.8 MB, free: 10.11 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.603e-05/0.02168, allocations: 16.02 kB / 279.8 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003553/0.02204, allocations: 211.2 kB / 280 MB, free: 9.887 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/0.02321, allocations: 0.6133 MB / 280.6 MB, free: 9.246 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.768e-05/0.02329, allocations: 70 kB / 280.7 MB, free: 9.176 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001515/0.02344, allocations: 104 kB / 280.8 MB, free: 9.074 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001986/0.02542, allocations: 1.073 MB / 281.9 MB, free: 7.867 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.46e-05/0.02546, allocations: 11.89 kB / 281.9 MB, free: 7.855 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.779e-05/0.02555, allocations: 44 kB / 281.9 MB, free: 7.812 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.358e-05/0.02558, allocations: 28 kB / 282 MB, free: 7.785 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001273/0.02685, allocations: 0.5617 MB / 282.5 MB, free: 7.223 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006189/0.03304, allocations: 5.135 MB / 287.7 MB, free: 1.812 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006267/0.03367, allocations: 232.9 kB / 287.9 MB, free: 1.566 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003669/0.03403, allocations: 157 kB / 288 MB, free: 1.41 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.728e-05/0.03412, allocations: 8 kB / 288.1 MB, free: 1.402 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.757e-05/0.03417, allocations: 42.5 kB / 288.1 MB, free: 1.352 MB / 266.7 MB Notification: Performance of pre-optimization done (n=28): time 1.473e-06/0.03417, allocations: 0 / 288.1 MB, free: 1.352 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.1152/0.1493, allocations: 1.59 MB / 289.7 MB, free: 32.66 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/0.1494, allocations: 82.52 kB / 289.8 MB, free: 32.56 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000722/0.1501, allocations: 0.649 MB / 290.4 MB, free: 32.43 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.1501, allocations: 35.36 kB / 290.4 MB, free: 32.4 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002695/0.1504, allocations: 0.6139 MB / 291.1 MB, free: 32.13 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.339e-05/0.1505, allocations: 153.8 kB / 291.2 MB, free: 32.04 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001481/0.1506, allocations: 133 kB / 291.3 MB, free: 31.96 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.357e-05/0.1507, allocations: 386.1 kB / 291.7 MB, free: 31.62 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000321/0.151, allocations: 152.2 kB / 291.9 MB, free: 31.57 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003924/0.1514, allocations: 0.4952 MB / 292.4 MB, free: 31.08 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007304/0.1522, allocations: 0.6924 MB / 293.1 MB, free: 30.52 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.929e-06/0.1522, allocations: 3.844 kB / 293.1 MB, free: 30.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001141/0.1533, allocations: 0.7615 MB / 293.8 MB, free: 30.2 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.1533, allocations: 10.7 kB / 293.8 MB, free: 30.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.066e-05/0.1533, allocations: 12.06 kB / 293.8 MB, free: 30.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.032e-05/0.1534, allocations: 20.73 kB / 293.9 MB, free: 30.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006577/0.154, allocations: 198.2 kB / 294.1 MB, free: 30.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.566e-05/0.1541, allocations: 25.12 kB / 294.1 MB, free: 30.17 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003919/0.1545, allocations: 34.03 kB / 294.1 MB, free: 30.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.557e-05/0.1545, allocations: 36.22 kB / 294.2 MB, free: 30.16 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (96): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002742/0.1548, allocations: 232.5 kB / 294.4 MB, free: 29.97 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.1549, allocations: 91.39 kB / 294.5 MB, free: 29.93 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001103/0.155, allocations: 76.56 kB / 294.5 MB, free: 29.87 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.155, allocations: 7.375 kB / 294.5 MB, free: 29.87 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.155, allocations: 0 / 294.5 MB, free: 29.87 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.155, allocations: 3.141 kB / 294.6 MB, free: 29.87 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001794/0.1568, allocations: 1.128 MB / 295.7 MB, free: 29.24 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.1568, allocations: 1.125 kB / 295.7 MB, free: 29.24 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00048/0.1573, allocations: 118 kB / 295.8 MB, free: 29.22 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.1573, allocations: 3.219 kB / 295.8 MB, free: 29.22 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.793e-05/0.1574, allocations: 10.89 kB / 295.8 MB, free: 29.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.1574, allocations: 7.797 kB / 295.8 MB, free: 29.21 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.1574, allocations: 2.344 kB / 295.8 MB, free: 29.21 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009332/0.1583, allocations: 0.7185 MB / 296.5 MB, free: 28.77 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.207e-05/0.1584, allocations: 68.77 kB / 296.6 MB, free: 28.73 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.067e-05/0.1584, allocations: 9.109 kB / 296.6 MB, free: 28.72 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000334/0.1588, allocations: 21.23 kB / 296.6 MB, free: 28.72 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.433e-05/0.1589, allocations: 29.83 kB / 296.7 MB, free: 28.71 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.408e-05/0.1589, allocations: 17.95 kB / 296.7 MB, free: 28.71 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004235/0.1593, allocations: 420.9 kB / 297.1 MB, free: 28.53 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1593, allocations: 1.25 kB / 297.1 MB, free: 28.53 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006715/0.16, allocations: 136.6 kB / 297.2 MB, free: 28.52 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (inductor2.i,capacitor2.v,inductor1.i,capacitor1.v) * 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 (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001089/0.1601, allocations: 112.6 kB / 297.3 MB, free: 28.41 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007315/0.1608, allocations: 414.7 kB / 297.7 MB, free: 28.29 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1608, allocations: 1.281 kB / 297.7 MB, free: 28.29 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000263/0.1611, allocations: 147.4 kB / 297.9 MB, free: 28.24 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005588/0.1616, allocations: 80.16 kB / 298 MB, free: 28.2 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002216/0.1639, allocations: 1.59 MB / 299.6 MB, free: 27.25 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004354/0.1643, allocations: 417.6 kB / 300 MB, free: 27.13 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002926/0.1646, allocations: 95.05 kB / 300.1 MB, free: 27.11 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/0.1647, allocations: 68.72 kB / 300.1 MB, free: 27.09 MB / 266.7 MB Notification: Performance of SimCode: time 7.61e-07/0.1647, allocations: 0 / 300.1 MB, free: 27.09 MB / 266.7 MB Notification: Performance of Templates: time 0.01029/0.175, allocations: 4.698 MB / 304.8 MB, free: 25.56 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ResonanceCircuits/ResonanceCircuits.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.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: 4.593964213039726]