Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.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.000852/0.000852, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001345/0.002197, allocations: 453.8 kB / 10.46 MB, free: 236 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.0008735/0.0008735, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001108/0.001982, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.936/0.936, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1693/1.105, allocations: 49.5 MB / 220.7 MB, free: 1.355 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 222 MB, free: 80 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.161e-05/2.351e-05, allocations: 6.312 kB / 222 MB, free: 72 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.005008/0.005032, allocations: 3.697 MB / 225.7 MB, free: 12.34 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002213/0.007245, allocations: 1.468 MB / 227.1 MB, free: 10.86 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002621/0.007507, allocations: 12 kB / 227.2 MB, free: 10.85 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00103/0.008537, allocations: 0.8047 MB / 228 MB, free: 10.04 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007766/0.009314, allocations: 401.7 kB / 228.4 MB, free: 9.648 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006896/0.01, allocations: 0.533 MB / 228.9 MB, free: 9.113 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005472/0.01055, allocations: 0.4976 MB / 229.4 MB, free: 8.613 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004771/0.01103, allocations: 356.1 kB / 229.7 MB, free: 8.262 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004133/0.01144, allocations: 324 kB / 230.1 MB, free: 7.945 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002699/0.01171, allocations: 223.4 kB / 230.3 MB, free: 7.727 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.368e-05/0.01176, allocations: 44 kB / 230.3 MB, free: 7.684 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004373/0.0122, allocations: 207.7 kB / 230.5 MB, free: 7.48 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.223e-05/0.01225, allocations: 83.69 kB / 230.6 MB, free: 7.398 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001149/0.01237, allocations: 131.8 kB / 230.7 MB, free: 7.27 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005461/0.01292, allocations: 486.1 kB / 231.2 MB, free: 6.793 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.342e-05/0.01293, allocations: 3.984 kB / 231.2 MB, free: 6.789 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.01293, allocations: 0 / 231.2 MB, free: 6.789 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.365e-05/0.01294, allocations: 0 / 231.2 MB, free: 6.789 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.00141/0.01435, allocations: 1.043 MB / 232.2 MB, free: 5.703 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.004e-05/0.01438, allocations: 12.03 kB / 232.3 MB, free: 5.691 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002165/0.01655, allocations: 0.8162 MB / 233.1 MB, free: 4.875 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003561/0.01691, allocations: 185.1 kB / 233.3 MB, free: 4.668 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.458e-05/0.01694, allocations: 41.69 kB / 233.3 MB, free: 4.625 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.543e-05/0.01701, allocations: 60.36 kB / 233.4 MB, free: 4.566 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004269/0.01743, allocations: 409.3 kB / 233.8 MB, free: 4.152 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.01745, allocations: 192 / 233.8 MB, free: 4.152 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.123e-05/0.01748, allocations: 27.94 kB / 233.8 MB, free: 4.125 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/0.01749, allocations: 23.98 kB / 233.8 MB, free: 4.102 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002781/0.01777, allocations: 262.2 kB / 234.1 MB, free: 3.844 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001514/0.01929, allocations: 1.26 MB / 235.3 MB, free: 2.527 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007891/0.02008, allocations: 0.6004 MB / 235.9 MB, free: 1.918 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.814e-05/0.02017, allocations: 98.31 kB / 236 MB, free: 1.82 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.589e-05/0.02023, allocations: 24.42 kB / 236 MB, free: 1.797 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.02026, allocations: 39.06 kB / 236.1 MB, free: 1.75 MB / 234.7 MB Notification: Performance of pre-optimization done (n=49): time 1.714e-06/0.02026, allocations: 0 / 236.1 MB, free: 1.75 MB / 234.7 MB Notification: Performance of matching and sorting (n=49): time 0.0006896/0.02095, allocations: 430.6 kB / 236.5 MB, free: 1.32 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.02098, allocations: 59.91 kB / 236.6 MB, free: 1.25 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.02109, allocations: 178.5 kB / 236.7 MB, free: 1.062 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.02112, allocations: 33.7 kB / 236.8 MB, free: 1.023 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.02122, allocations: 252.6 kB / 237 MB, free: 0.7734 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.364e-05/0.0213, allocations: 174.5 kB / 237.2 MB, free: 0.6016 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.956e-05/0.02139, allocations: 102.2 kB / 237.3 MB, free: 0.4961 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.893e-05/0.02147, allocations: 342.7 kB / 237.6 MB, free: 156 kB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.259e-05/0.02153, allocations: 61.28 kB / 237.7 MB, free: 96 kB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.02166, allocations: 170.1 kB / 237.8 MB, free: 15.89 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002509/0.02191, allocations: 297.2 kB / 238.1 MB, free: 15.55 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.02192, allocations: 0 / 238.1 MB, free: 15.55 MB / 250.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0003747/0.02229, allocations: 339.1 kB / 238.5 MB, free: 15.21 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.02231, allocations: 8 kB / 238.5 MB, free: 15.2 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.02231, allocations: 0 / 238.5 MB, free: 15.2 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002661/0.02258, allocations: 96.91 kB / 238.6 MB, free: 15.11 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002311/0.02281, allocations: 119.8 kB / 238.7 MB, free: 14.99 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001303/0.02411, allocations: 1.59 MB / 240.3 MB, free: 13.32 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001626/0.02428, allocations: 51.62 kB / 240.3 MB, free: 13.27 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.155e-05/0.0243, allocations: 16 kB / 240.3 MB, free: 13.25 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001145/0.02441, allocations: 145.7 kB / 240.5 MB, free: 13.1 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.33e-05/0.02446, allocations: 35.92 kB / 240.5 MB, free: 13.06 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000391/0.02485, allocations: 323 kB / 240.8 MB, free: 12.73 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/0.02485, allocations: 7.938 kB / 240.8 MB, free: 12.73 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.02486, allocations: 4 kB / 240.8 MB, free: 12.72 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.02487, allocations: 7.984 kB / 240.9 MB, free: 12.71 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006806/0.02555, allocations: 0.6222 MB / 241.5 MB, free: 12.07 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.02555, allocations: 0 / 241.5 MB, free: 12.07 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001746/0.02572, allocations: 83.84 kB / 241.6 MB, free: 11.99 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.99e-05/0.02575, allocations: 35.69 kB / 241.6 MB, free: 11.95 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001948/0.02595, allocations: 88.77 kB / 241.7 MB, free: 11.86 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.082e-05/0.02597, allocations: 15.94 kB / 241.7 MB, free: 11.85 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009093/0.02688, allocations: 1.575 MB / 243.3 MB, free: 10.19 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.02688, allocations: 0 / 243.3 MB, free: 10.19 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004326/0.02731, allocations: 475.4 kB / 243.7 MB, free: 9.699 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.373e-05/0.02734, allocations: 8 kB / 243.7 MB, free: 9.691 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.853e-05/0.02743, allocations: 12 kB / 243.8 MB, free: 9.68 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.829e-05/0.0275, allocations: 40.42 kB / 243.8 MB, free: 9.641 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.02752, allocations: 8 kB / 243.8 MB, free: 9.633 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.134e-05/0.02756, allocations: 44.81 kB / 243.8 MB, free: 9.586 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.02756, allocations: 0 / 243.8 MB, free: 9.586 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003784/0.02794, allocations: 159.7 kB / 244 MB, free: 9.43 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * 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 (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001968/0.02813, allocations: 116.3 kB / 244.1 MB, free: 9.309 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004781/0.02861, allocations: 430.1 kB / 244.5 MB, free: 8.875 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.596e-05/0.02863, allocations: 11.94 kB / 244.5 MB, free: 8.863 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002645/0.02889, allocations: 321.3 kB / 244.9 MB, free: 8.535 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/0.02915, allocations: 178.8 kB / 245 MB, free: 8.336 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003974/0.03313, allocations: 0.7899 MB / 245.8 MB, free: 7.512 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.307e-05/0.03321, allocations: 114.6 kB / 245.9 MB, free: 7.379 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001266/0.03334, allocations: 50.95 kB / 246 MB, free: 7.332 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.03346, allocations: 99.34 kB / 246.1 MB, free: 7.234 MB / 250.7 MB Notification: Performance of SimCode: time 1.052e-06/0.03346, allocations: 3.938 kB / 246.1 MB, free: 7.23 MB / 250.7 MB Notification: Performance of Templates: time 0.007233/0.0407, allocations: 4.668 MB / 250.8 MB, free: 2.582 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7708673207089305]