Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.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.001094/0.001094, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001477/0.002571, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001059/0.001059, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00137/0.00243, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.006/1.006, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08884/1.095, allocations: 53.64 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineVoltage.phi|inductor1.i|inductor2.i|sineVoltage.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance") translateModel(Modelica.Electrical.Analog.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineVoltage.phi|inductor1.i|inductor2.i|sineVoltage.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 244.5 MB, free: 14.3 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.035e-05/2.218e-05, allocations: 2.312 kB / 244.5 MB, free: 14.3 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SeriesResonance): time 0.003191/0.003213, allocations: 2.927 MB / 247.5 MB, free: 11.36 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008397/0.004053, allocations: 0.7163 MB / 248.2 MB, free: 10.63 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001256/0.004178, allocations: 7.938 kB / 248.2 MB, free: 10.62 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001174/0.004296, allocations: 71.34 kB / 248.3 MB, free: 10.55 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001215/0.004417, allocations: 91.14 kB / 248.4 MB, free: 10.46 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001525/0.00457, allocations: 99.73 kB / 248.4 MB, free: 10.37 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000261/0.004831, allocations: 386.2 kB / 248.8 MB, free: 9.988 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001662/0.004997, allocations: 108.4 kB / 248.9 MB, free: 9.879 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002629/0.00526, allocations: 239.5 kB / 249.2 MB, free: 9.645 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001232/0.005383, allocations: 119.6 kB / 249.3 MB, free: 9.527 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.345e-05/0.005416, allocations: 32 kB / 249.3 MB, free: 9.496 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.962e-05/0.005446, allocations: 32 kB / 249.3 MB, free: 9.465 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.546e-05/0.005482, allocations: 55.81 kB / 249.4 MB, free: 9.41 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.437e-05/0.005556, allocations: 99.81 kB / 249.5 MB, free: 9.312 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002184/0.005774, allocations: 227.1 kB / 249.7 MB, free: 9.09 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.402e-05/0.005788, allocations: 4 kB / 249.7 MB, free: 9.086 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.005789, allocations: 0 / 249.7 MB, free: 9.086 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.503e-05/0.005804, allocations: 0 / 249.7 MB, free: 9.086 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0006128/0.006417, allocations: 0.5816 MB / 250.3 MB, free: 8.48 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.058e-05/0.006447, allocations: 8.031 kB / 250.3 MB, free: 8.473 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.978e-05/0.006507, allocations: 52.89 kB / 250.4 MB, free: 8.422 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/0.006702, allocations: 177.2 kB / 250.5 MB, free: 8.223 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.006723, allocations: 29.02 kB / 250.6 MB, free: 8.195 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.93e-05/0.006762, allocations: 28.38 kB / 250.6 MB, free: 8.168 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002598/0.007022, allocations: 258.7 kB / 250.8 MB, free: 7.895 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.007034, allocations: 4.125 kB / 250.8 MB, free: 7.891 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.639e-05/0.007051, allocations: 12.38 kB / 250.9 MB, free: 7.879 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.007061, allocations: 15.92 kB / 250.9 MB, free: 7.863 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.384e-05/0.007154, allocations: 72.56 kB / 250.9 MB, free: 7.789 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007154/0.00787, allocations: 0.685 MB / 251.6 MB, free: 7.066 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000127/0.007997, allocations: 90.52 kB / 251.7 MB, free: 6.969 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.746e-05/0.008034, allocations: 39.97 kB / 251.8 MB, free: 6.93 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.008049, allocations: 0 / 251.8 MB, free: 6.93 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.008079, allocations: 42.5 kB / 251.8 MB, free: 6.879 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 9.42e-07/0.008079, allocations: 0 / 251.8 MB, free: 6.879 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0001617/0.008241, allocations: 105.9 kB / 251.9 MB, free: 6.77 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.503e-05/0.008266, allocations: 55.34 kB / 252 MB, free: 6.703 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.465e-05/0.008361, allocations: 191.7 kB / 252.1 MB, free: 6.504 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.008373, allocations: 29.7 kB / 252.2 MB, free: 6.469 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.214e-05/0.008435, allocations: 192.3 kB / 252.4 MB, free: 6.277 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.689e-05/0.008472, allocations: 67.41 kB / 252.4 MB, free: 6.211 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.319e-05/0.008515, allocations: 49.69 kB / 252.5 MB, free: 6.156 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.117e-05/0.008586, allocations: 330.8 kB / 252.8 MB, free: 5.824 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.579e-05/0.008612, allocations: 19.98 kB / 252.8 MB, free: 5.805 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.15e-05/0.008664, allocations: 81.91 kB / 252.9 MB, free: 5.703 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.52e-05/0.008749, allocations: 117.8 kB / 253 MB, free: 5.566 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.008751, allocations: 4 kB / 253 MB, free: 5.562 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0001184/0.00887, allocations: 133.4 kB / 253.1 MB, free: 5.426 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.008881, allocations: 4 kB / 253.2 MB, free: 5.422 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.008885, allocations: 4 kB / 253.2 MB, free: 5.418 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.257e-06/0.008894, allocations: 4 kB / 253.2 MB, free: 5.414 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000229/0.009123, allocations: 79.83 kB / 253.2 MB, free: 5.336 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.107e-06/0.009128, allocations: 7.938 kB / 253.2 MB, free: 5.328 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.558e-05/0.009183, allocations: 31.89 kB / 253.3 MB, free: 5.297 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.667e-06/0.009192, allocations: 8.047 kB / 253.3 MB, free: 5.289 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (29): * Single equations (assignments): 29 * 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 6.358e-05/0.009255, allocations: 121.8 kB / 253.4 MB, free: 5.16 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.356e-05/0.009279, allocations: 15.97 kB / 253.4 MB, free: 5.145 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001145/0.009393, allocations: 115.4 kB / 253.5 MB, free: 5.027 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.009395, allocations: 0 / 253.5 MB, free: 5.027 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.009397, allocations: 4 kB / 253.5 MB, free: 5.023 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.009399, allocations: 0 / 253.5 MB, free: 5.023 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/0.009533, allocations: 145.7 kB / 253.7 MB, free: 4.863 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.009535, allocations: 11.92 kB / 253.7 MB, free: 4.852 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001528/0.009688, allocations: 66.39 kB / 253.8 MB, free: 4.789 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.821e-05/0.009706, allocations: 23.8 kB / 253.8 MB, free: 4.766 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.083e-06/0.009708, allocations: 0 / 253.8 MB, free: 4.766 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.009716, allocations: 4 kB / 253.8 MB, free: 4.762 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.009718, allocations: 4 kB / 253.8 MB, free: 4.758 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.009719, allocations: 0 / 253.8 MB, free: 4.758 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001627/0.009881, allocations: 235.3 kB / 254 MB, free: 4.512 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.009897, allocations: 3.938 kB / 254 MB, free: 4.508 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.161e-05/0.009969, allocations: 16 kB / 254 MB, free: 4.492 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.871e-05/0.009997, allocations: 11.97 kB / 254 MB, free: 4.48 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.01, allocations: 8 kB / 254.1 MB, free: 4.473 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.442e-05/0.01004, allocations: 48.8 kB / 254.1 MB, free: 4.422 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01004, allocations: 0 / 254.1 MB, free: 4.422 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000163/0.0102, allocations: 79.78 kB / 254.2 MB, free: 4.344 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (sineVoltage.phi,inductor1.i,capacitor1.v,cosineVoltage.phi,inductor2.i,capacitor2.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 (19): * Single equations (assignments): 19 * 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 7.206e-05/0.01027, allocations: 84.41 kB / 254.3 MB, free: 4.25 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001093/0.01038, allocations: 88.84 kB / 254.3 MB, free: 4.16 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.365e-06/0.01039, allocations: 8.062 kB / 254.4 MB, free: 4.152 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.084e-05/0.01043, allocations: 51.84 kB / 254.4 MB, free: 4.102 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001601/0.01059, allocations: 40.06 kB / 254.4 MB, free: 4.062 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002178/0.01277, allocations: 0.6411 MB / 255.1 MB, free: 3.395 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.516e-05/0.01282, allocations: 100 kB / 255.2 MB, free: 3.273 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.661e-05/0.01288, allocations: 18.05 kB / 255.2 MB, free: 3.258 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.381e-05/0.01297, allocations: 87.36 kB / 255.3 MB, free: 3.172 MB / 250.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01298, allocations: 0 / 255.3 MB, free: 3.172 MB / 250.7 MB Notification: Performance of Templates: time 0.004131/0.01711, allocations: 2.167 MB / 257.5 MB, free: 1.051 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/SeriesResonance/SeriesResonance.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: 2.4733764277771115]