Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.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.001886/0.001886, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002241/0.002241, allocations: 161.7 kB / 24.27 MB, free: 168 kB / 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 1.48/1.48, allocations: 177.2 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 272.3 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.763e-05/2.912e-05, allocations: 2.312 kB / 272.3 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.007177/0.007206, allocations: 4.785 MB / 277.1 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003416/0.01062, allocations: 1.477 MB / 278.6 MB, free: 11.51 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003995/0.01102, allocations: 35.69 kB / 278.6 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000488/0.01151, allocations: 221.7 kB / 278.9 MB, free: 11.26 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005647/0.01207, allocations: 209.8 kB / 279.1 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008909/0.01297, allocations: 419.2 kB / 279.5 MB, free: 10.64 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001414/0.01438, allocations: 1.153 MB / 280.6 MB, free: 9.484 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006281/0.01501, allocations: 316.9 kB / 280.9 MB, free: 9.148 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009363/0.01594, allocations: 0.5923 MB / 281.5 MB, free: 8.555 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004409/0.01639, allocations: 286.9 kB / 281.8 MB, free: 8.273 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001386/0.01652, allocations: 87.98 kB / 281.9 MB, free: 8.188 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002234/0.01675, allocations: 104 kB / 282 MB, free: 8.086 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002122/0.01696, allocations: 219 kB / 282.2 MB, free: 7.871 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000375/0.01733, allocations: 319 kB / 282.5 MB, free: 7.559 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001426/0.01876, allocations: 1.171 MB / 283.7 MB, free: 6.383 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.01876, allocations: 0 / 283.7 MB, free: 6.383 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.01876, allocations: 0 / 283.7 MB, free: 6.383 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.093e-05/0.01878, allocations: 0 / 283.7 MB, free: 6.383 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.002095/0.02087, allocations: 1.26 MB / 285 MB, free: 5.09 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.765e-05/0.02093, allocations: 16.02 kB / 285 MB, free: 5.074 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000524/0.02145, allocations: 223.1 kB / 285.2 MB, free: 4.855 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001515/0.02297, allocations: 0.6173 MB / 285.8 MB, free: 4.211 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.214e-05/0.02305, allocations: 74 kB / 285.9 MB, free: 4.137 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001508/0.0232, allocations: 100 kB / 286 MB, free: 4.039 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00193/0.02513, allocations: 1.085 MB / 287.1 MB, free: 2.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.312e-05/0.02516, allocations: 7.938 kB / 287.1 MB, free: 2.812 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.744e-05/0.02525, allocations: 44 kB / 287.1 MB, free: 2.77 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.861e-05/0.02528, allocations: 28 kB / 287.1 MB, free: 2.742 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001241/0.02652, allocations: 0.5539 MB / 287.7 MB, free: 2.191 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1128/0.1393, allocations: 5.148 MB / 292.8 MB, free: 24.54 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005515/0.1398, allocations: 226.7 kB / 293.1 MB, free: 24.49 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003016/0.1401, allocations: 146.5 kB / 293.2 MB, free: 24.48 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001073/0.1403, allocations: 18.55 kB / 293.2 MB, free: 24.48 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.1403, allocations: 35.14 kB / 293.3 MB, free: 24.44 MB / 266.7 MB Notification: Performance of pre-optimization done (n=28): time 2.304e-06/0.1403, allocations: 0 / 293.3 MB, free: 24.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.00358/0.1439, allocations: 1.612 MB / 294.9 MB, free: 23.69 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.1439, allocations: 84.14 kB / 294.9 MB, free: 23.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007127/0.1446, allocations: 0.6483 MB / 295.6 MB, free: 23.31 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.1446, allocations: 35.86 kB / 295.6 MB, free: 23.27 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000312/0.1449, allocations: 0.6135 MB / 296.2 MB, free: 22.85 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.784e-05/0.145, allocations: 154.8 kB / 296.4 MB, free: 22.75 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001587/0.1452, allocations: 136.4 kB / 296.5 MB, free: 22.67 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.1453, allocations: 386.6 kB / 296.9 MB, free: 22.32 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00033/0.1456, allocations: 150.7 kB / 297.1 MB, free: 22.28 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004211/0.1461, allocations: 0.4978 MB / 297.6 MB, free: 21.78 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007665/0.1468, allocations: 0.698 MB / 298.3 MB, free: 21.18 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.1468, allocations: 5.594 kB / 298.3 MB, free: 21.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001166/0.148, allocations: 0.7561 MB / 299 MB, free: 20.87 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.555e-05/0.148, allocations: 10.02 kB / 299 MB, free: 20.87 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/0.148, allocations: 12.56 kB / 299 MB, free: 20.87 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.993e-05/0.1481, allocations: 16.53 kB / 299.1 MB, free: 20.87 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006615/0.1487, allocations: 200.6 kB / 299.2 MB, free: 20.85 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.783e-05/0.1488, allocations: 23.44 kB / 299.3 MB, free: 20.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003745/0.1491, allocations: 32.47 kB / 299.3 MB, free: 20.83 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.042e-05/0.1492, allocations: 40.55 kB / 299.3 MB, free: 20.83 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.0002578/0.1495, allocations: 230.8 kB / 299.6 MB, free: 20.64 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.1496, allocations: 93.95 kB / 299.7 MB, free: 20.59 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001118/0.1497, allocations: 82.16 kB / 299.7 MB, free: 20.54 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.1497, allocations: 4.672 kB / 299.7 MB, free: 20.54 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/0.1497, allocations: 1.562 kB / 299.7 MB, free: 20.54 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.1497, allocations: 3.75 kB / 299.7 MB, free: 20.54 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001903/0.1516, allocations: 1.122 MB / 300.9 MB, free: 19.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.1516, allocations: 9.75 kB / 300.9 MB, free: 19.9 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004693/0.1521, allocations: 108 kB / 301 MB, free: 19.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.1521, allocations: 2.469 kB / 301 MB, free: 19.89 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.692e-05/0.1521, allocations: 14.22 kB / 301 MB, free: 19.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.1521, allocations: 3.875 kB / 301 MB, free: 19.88 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.1521, allocations: 2.641 kB / 301 MB, free: 19.88 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009844/0.1531, allocations: 0.7222 MB / 301.7 MB, free: 19.43 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.842e-05/0.1532, allocations: 65.02 kB / 301.8 MB, free: 19.39 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.186e-05/0.1533, allocations: 9.922 kB / 301.8 MB, free: 19.39 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002976/0.1536, allocations: 25.39 kB / 301.8 MB, free: 19.38 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.899e-05/0.1537, allocations: 28.69 kB / 301.9 MB, free: 19.38 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.358e-05/0.1537, allocations: 14.19 kB / 301.9 MB, free: 19.37 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004546/0.1541, allocations: 423.8 kB / 302.3 MB, free: 19.19 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1541, allocations: 0 / 302.3 MB, free: 19.19 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006597/0.1548, allocations: 142.1 kB / 302.4 MB, free: 19.17 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.0001245/0.1549, allocations: 104.9 kB / 302.5 MB, free: 19.07 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007585/0.1557, allocations: 418.9 kB / 302.9 MB, free: 18.94 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1557, allocations: 0 / 302.9 MB, free: 18.94 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002799/0.156, allocations: 149.7 kB / 303.1 MB, free: 18.9 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005604/0.1565, allocations: 78.38 kB / 303.2 MB, free: 18.85 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002343/0.1589, allocations: 1.6 MB / 304.8 MB, free: 17.89 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004299/0.1593, allocations: 427.6 kB / 305.2 MB, free: 17.76 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002493/0.1596, allocations: 92.45 kB / 305.3 MB, free: 17.75 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001498/0.1597, allocations: 69.02 kB / 305.3 MB, free: 17.73 MB / 266.7 MB Notification: Performance of SimCode: time 7.61e-07/0.1597, allocations: 0 / 305.3 MB, free: 17.73 MB / 266.7 MB Notification: Performance of Templates: time 0.009426/0.1691, allocations: 4.71 MB / 310 MB, free: 14.81 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ResonanceCircuits/ResonanceCircuits.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.605754439020529]