Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.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.0009871/0.0009871, allocations: 75.91 kB / 21.18 MB, free: 3.395 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.001026/0.001026, allocations: 145.1 kB / 24.54 MB, free: 32 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 0.9462/0.9462, allocations: 173.4 MB / 201.1 MB, free: 9.328 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.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.0.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.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 268 MB, free: 6.434 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.366e-05/3.581e-05, allocations: 2.312 kB / 268 MB, free: 6.43 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SeriesResonance): time 0.005761/0.005796, allocations: 2.882 MB / 270.9 MB, free: 3.531 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001944/0.007741, allocations: 0.6582 MB / 271.5 MB, free: 2.867 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003092/0.00805, allocations: 8 kB / 271.5 MB, free: 2.859 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002749/0.008325, allocations: 59.38 kB / 271.6 MB, free: 2.801 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003293/0.008654, allocations: 99.11 kB / 271.7 MB, free: 2.703 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002976/0.008952, allocations: 91.75 kB / 271.8 MB, free: 2.613 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003846/0.009336, allocations: 386.2 kB / 272.2 MB, free: 2.234 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002078/0.009544, allocations: 113.8 kB / 272.3 MB, free: 2.121 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003285/0.009873, allocations: 219.5 kB / 272.5 MB, free: 1.906 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001565/0.01003, allocations: 115.7 kB / 272.6 MB, free: 1.793 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.336e-05/0.01007, allocations: 32 kB / 272.6 MB, free: 1.762 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.682e-05/0.01012, allocations: 32 kB / 272.7 MB, free: 1.73 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.435e-05/0.01017, allocations: 79.67 kB / 272.7 MB, free: 1.652 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.673e-05/0.01027, allocations: 111.8 kB / 272.9 MB, free: 1.543 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003323/0.0106, allocations: 251 kB / 273.1 MB, free: 1.297 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.01061, allocations: 4 kB / 273.1 MB, free: 1.293 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.01061, allocations: 0 / 273.1 MB, free: 1.293 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.01062, allocations: 0 / 273.1 MB, free: 1.293 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.0007522/0.01137, allocations: 0.6325 MB / 273.7 MB, free: 0.625 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.01141, allocations: 12.92 kB / 273.8 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.491e-05/0.01151, allocations: 64.7 kB / 273.8 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002954/0.0118, allocations: 212 kB / 274 MB, free: 324 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.026e-05/0.01183, allocations: 21.03 kB / 274 MB, free: 300 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.122e-05/0.0119, allocations: 32.38 kB / 274.1 MB, free: 268 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000392/0.01229, allocations: 274.7 kB / 274.3 MB, free: 15.97 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.0123, allocations: 192 / 274.3 MB, free: 15.97 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.643e-05/0.01233, allocations: 16.38 kB / 274.4 MB, free: 15.96 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.556e-05/0.01234, allocations: 11.94 kB / 274.4 MB, free: 15.95 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001803/0.01252, allocations: 107.8 kB / 274.5 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001068/0.01359, allocations: 0.8634 MB / 275.3 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.01378, allocations: 111.2 kB / 275.4 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.992e-05/0.01385, allocations: 63.53 kB / 275.5 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.01387, allocations: 4 kB / 275.5 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.01389, allocations: 33.39 kB / 275.5 MB, free: 14.68 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.303e-06/0.0139, allocations: 0 / 275.5 MB, free: 14.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002845/0.01418, allocations: 152.5 kB / 275.7 MB, free: 14.53 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/0.01421, allocations: 51.41 kB / 275.7 MB, free: 14.46 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/0.01437, allocations: 245.7 kB / 276 MB, free: 14.21 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.01439, allocations: 25.7 kB / 276 MB, free: 14.18 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.815e-05/0.01448, allocations: 243 kB / 276.2 MB, free: 13.93 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.203e-05/0.01453, allocations: 71.42 kB / 276.3 MB, free: 13.86 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.677e-05/0.01458, allocations: 51.36 kB / 276.4 MB, free: 13.8 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.01471, allocations: 0.5078 MB / 276.9 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.9e-05/0.01477, allocations: 27.98 kB / 276.9 MB, free: 13.26 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.825e-05/0.01486, allocations: 97.78 kB / 277 MB, free: 13.13 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00016/0.01502, allocations: 137.7 kB / 277.1 MB, free: 12.97 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.01502, allocations: 4 kB / 277.1 MB, free: 12.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002233/0.01525, allocations: 189.4 kB / 277.3 MB, free: 12.77 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.01526, allocations: 4 kB / 277.3 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.01527, allocations: 3.938 kB / 277.3 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.01529, allocations: 4 kB / 277.3 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001862/0.01547, allocations: 67.84 kB / 277.4 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.01548, allocations: 4 kB / 277.4 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.013e-05/0.01555, allocations: 19.83 kB / 277.4 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.01556, allocations: 11.98 kB / 277.4 MB, free: 12.66 MB / 266.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 9.835e-05/0.01566, allocations: 168.5 kB / 277.6 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.346e-05/0.0157, allocations: 19.94 kB / 277.6 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002221/0.01592, allocations: 151.3 kB / 277.8 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.01592, allocations: 7.938 kB / 277.8 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.01593, allocations: 0 / 277.8 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.01593, allocations: 3.984 kB / 277.8 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002088/0.01614, allocations: 216.4 kB / 278 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.01614, allocations: 0 / 278 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.01631, allocations: 43.97 kB / 278 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.01631, allocations: 4 kB / 278 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.01633, allocations: 4 kB / 278 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.01633, allocations: 3.938 kB / 278 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.01633, allocations: 8 kB / 278.1 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002963/0.01663, allocations: 319.6 kB / 278.4 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.374e-05/0.01666, allocations: 19.89 kB / 278.4 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/0.01668, allocations: 4 kB / 278.4 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.737e-05/0.01677, allocations: 15.94 kB / 278.4 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.47e-05/0.01682, allocations: 11.97 kB / 278.4 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.01682, allocations: 4 kB / 278.4 MB, free: 11.61 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001336/0.01696, allocations: 172.3 kB / 278.6 MB, free: 11.44 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01696, allocations: 0 / 278.6 MB, free: 11.44 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002356/0.01719, allocations: 83.73 kB / 278.7 MB, free: 11.36 MB / 266.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 0.0001113/0.0173, allocations: 107.2 kB / 278.8 MB, free: 11.24 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001898/0.01749, allocations: 111.1 kB / 278.9 MB, free: 11.13 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.0175, allocations: 0 / 278.9 MB, free: 11.13 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.041e-05/0.01756, allocations: 59.55 kB / 278.9 MB, free: 11.07 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.01781, allocations: 24.41 kB / 279 MB, free: 11.04 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.01895, allocations: 0.709 MB / 279.7 MB, free: 10.3 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.604e-05/0.019, allocations: 84.2 kB / 279.8 MB, free: 10.2 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.619e-05/0.01906, allocations: 21.64 kB / 279.8 MB, free: 10.18 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.573e-05/0.0191, allocations: 16.5 kB / 279.8 MB, free: 10.16 MB / 266.7 MB Notification: Performance of SimCode: time 8.82e-07/0.0191, allocations: 0 / 279.8 MB, free: 10.16 MB / 266.7 MB Notification: Performance of Templates: time 0.004247/0.02335, allocations: 1.797 MB / 281.6 MB, free: 8.387 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 3.1200103550218046]