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.00142/0.00142, allocations: 96.3 kB / 21.73 MB, free: 2.699 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.001586/0.001586, allocations: 166 kB / 25.02 MB, free: 8.43 MB / 18.57 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 1.374/1.374, allocations: 158.6 MB / 186.8 MB, free: 2.848 MB / 170.7 MB " [Timeout remaining time 178] 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.744e-06/1.744e-06, allocations: 0 / 250.4 MB, free: 3.945 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.618e-05/2.792e-05, allocations: 2.312 kB / 250.4 MB, free: 3.941 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.005641/0.005669, allocations: 3.434 MB / 253.8 MB, free: 496 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002786/0.008455, allocations: 1.391 MB / 255.2 MB, free: 15.09 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00019/0.008645, allocations: 8 kB / 255.2 MB, free: 15.08 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001974/0.01062, allocations: 0.7308 MB / 255.9 MB, free: 14.34 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001056/0.01167, allocations: 413.7 kB / 256.3 MB, free: 13.94 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001157/0.01283, allocations: 0.5159 MB / 256.8 MB, free: 13.42 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006058/0.01344, allocations: 0.4937 MB / 257.3 MB, free: 12.93 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006517/0.01409, allocations: 362 kB / 257.7 MB, free: 12.57 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004609/0.01455, allocations: 307.2 kB / 258 MB, free: 12.27 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000332/0.01488, allocations: 219.4 kB / 258.2 MB, free: 12.05 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.297e-05/0.01495, allocations: 44 kB / 258.2 MB, free: 12.01 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004345/0.01539, allocations: 199.7 kB / 258.4 MB, free: 11.81 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.0155, allocations: 115.5 kB / 258.6 MB, free: 11.7 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002067/0.01571, allocations: 175.5 kB / 258.7 MB, free: 11.53 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009604/0.01667, allocations: 0.7163 MB / 259.4 MB, free: 10.81 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.01667, allocations: 0 / 259.4 MB, free: 10.81 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.01667, allocations: 0 / 259.4 MB, free: 10.81 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.01668, allocations: 0 / 259.4 MB, free: 10.81 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002423/0.0191, allocations: 0.864 MB / 260.3 MB, free: 9.91 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.01914, allocations: 15.98 kB / 260.3 MB, free: 9.895 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004319/0.02346, allocations: 0.7224 MB / 261 MB, free: 9.172 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005341/0.024, allocations: 257.1 kB / 261.3 MB, free: 8.895 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.444e-05/0.02405, allocations: 45.69 kB / 261.3 MB, free: 8.852 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.02416, allocations: 56.31 kB / 261.4 MB, free: 8.797 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001133/0.02529, allocations: 0.5788 MB / 262 MB, free: 8.207 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/0.02531, allocations: 4.188 kB / 262 MB, free: 8.203 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.756e-05/0.02538, allocations: 27.94 kB / 262 MB, free: 8.176 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.813e-05/0.0254, allocations: 16 kB / 262 MB, free: 8.16 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001232/0.02663, allocations: 0.6259 MB / 262.6 MB, free: 7.531 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003134/0.02976, allocations: 1.606 MB / 264.3 MB, free: 5.855 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00181/0.03157, allocations: 0.6397 MB / 264.9 MB, free: 5.23 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000396/0.03197, allocations: 190.3 kB / 265.1 MB, free: 5.043 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.621e-05/0.03204, allocations: 16.48 kB / 265.1 MB, free: 5.023 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/0.03207, allocations: 39.06 kB / 265.1 MB, free: 4.977 MB / 250.7 MB Notification: Performance of pre-optimization done (n=49): time 1.864e-06/0.03208, allocations: 3.938 kB / 265.1 MB, free: 4.973 MB / 250.7 MB Notification: Performance of matching and sorting (n=49): time 0.002083/0.03416, allocations: 0.7318 MB / 265.9 MB, free: 4.238 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.189e-05/0.03421, allocations: 59.91 kB / 265.9 MB, free: 4.164 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002231/0.03443, allocations: 190.2 kB / 266.1 MB, free: 3.969 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.108e-05/0.03448, allocations: 37.7 kB / 266.1 MB, free: 3.926 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000196/0.03467, allocations: 248.8 kB / 266.4 MB, free: 3.676 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001792/0.03485, allocations: 178.5 kB / 266.6 MB, free: 3.5 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001617/0.03501, allocations: 90.34 kB / 266.7 MB, free: 3.406 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.03521, allocations: 334.8 kB / 267 MB, free: 3.07 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005565/0.03576, allocations: 161.2 kB / 267.1 MB, free: 2.91 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004536/0.03622, allocations: 278.9 kB / 267.4 MB, free: 2.598 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008198/0.03704, allocations: 461.8 kB / 267.9 MB, free: 2.105 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.03704, allocations: 0 / 267.9 MB, free: 2.105 MB / 250.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001235/0.03827, allocations: 0.6073 MB / 268.5 MB, free: 1.488 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.03829, allocations: 8 kB / 268.5 MB, free: 1.48 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.0383, allocations: 0 / 268.5 MB, free: 1.48 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005039/0.0388, allocations: 120.9 kB / 268.6 MB, free: 1.359 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004294/0.03923, allocations: 103.9 kB / 268.7 MB, free: 1.258 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002411/0.04164, allocations: 1.904 MB / 270.6 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003053/0.04195, allocations: 55.61 kB / 270.7 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.974e-05/0.04199, allocations: 23.83 kB / 270.7 MB, free: 15.18 MB / 266.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.0002179/0.04221, allocations: 169.7 kB / 270.8 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.531e-05/0.0423, allocations: 47.86 kB / 270.9 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001231/0.04353, allocations: 0.5525 MB / 271.4 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.928e-06/0.04354, allocations: 8 kB / 271.4 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-06/0.04354, allocations: 0 / 271.4 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.04355, allocations: 3.984 kB / 271.5 MB, free: 14.37 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001778/0.04533, allocations: 0.9684 MB / 272.4 MB, free: 13.37 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.04533, allocations: 11.88 kB / 272.4 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003561/0.04569, allocations: 79.89 kB / 272.5 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004014/0.04609, allocations: 108.8 kB / 272.6 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.021e-05/0.04612, allocations: 11.98 kB / 272.6 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002545/0.04867, allocations: 1.919 MB / 274.5 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.04867, allocations: 4.062 kB / 274.6 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001526/0.05019, allocations: 0.8109 MB / 275.4 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.043e-05/0.05024, allocations: 31.75 kB / 275.4 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.477e-05/0.05029, allocations: 15.94 kB / 275.4 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002383/0.05053, allocations: 15.98 kB / 275.4 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.885e-05/0.05063, allocations: 36.5 kB / 275.5 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.072e-05/0.05067, allocations: 19.98 kB / 275.5 MB, free: 10.19 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000135/0.0508, allocations: 136.2 kB / 275.6 MB, free: 10.05 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0508, allocations: 0 / 275.6 MB, free: 10.05 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006264/0.05143, allocations: 159.6 kB / 275.8 MB, free: 9.898 MB / 266.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.0002594/0.05169, allocations: 139.1 kB / 275.9 MB, free: 9.75 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001176/0.05286, allocations: 0.5738 MB / 276.5 MB, free: 9.164 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.05287, allocations: 0 / 276.5 MB, free: 9.164 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006294/0.0535, allocations: 361.2 kB / 276.8 MB, free: 8.801 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003469/0.05384, allocations: 36.8 kB / 276.9 MB, free: 8.766 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/0.0554, allocations: 0.8178 MB / 277.7 MB, free: 7.918 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/0.05565, allocations: 217 kB / 277.9 MB, free: 7.688 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001983/0.05585, allocations: 50.94 kB / 277.9 MB, free: 7.637 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.05595, allocations: 32.5 kB / 278 MB, free: 7.605 MB / 266.7 MB Notification: Performance of SimCode: time 4.31e-07/0.05595, allocations: 0 / 278 MB, free: 7.605 MB / 266.7 MB Notification: Performance of Templates: time 0.0106/0.06656, allocations: 4.289 MB / 282.3 MB, free: 3.34 MB / 266.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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.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.3540772929554805]