Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.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.001068/0.001068, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00156/0.002628, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0009698/0.0009698, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001393/0.002363, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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.8066/0.8066, allocations: 173.4 MB / 186 MB, free: 7.539 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1323/0.9388, allocations: 52.49 MB / 238.5 MB, free: 7.625 MB / 234.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.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 239.7 MB, free: 6.367 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.03e-05/2.176e-05, allocations: 2.312 kB / 239.7 MB, free: 6.363 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.005168/0.00519, allocations: 3.646 MB / 243.4 MB, free: 2.719 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002076/0.007266, allocations: 1.434 MB / 244.8 MB, free: 1.277 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001566/0.007422, allocations: 8 kB / 244.8 MB, free: 1.27 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001228/0.00865, allocations: 0.8009 MB / 245.6 MB, free: 480 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009201/0.00957, allocations: 0.5201 MB / 246.1 MB, free: 15.95 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006411/0.01021, allocations: 411.1 kB / 246.5 MB, free: 15.55 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004392/0.01065, allocations: 478.5 kB / 247 MB, free: 15.09 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000492/0.01114, allocations: 348.8 kB / 247.4 MB, free: 14.74 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000375/0.01152, allocations: 311.2 kB / 247.7 MB, free: 14.43 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002732/0.01179, allocations: 216.1 kB / 247.9 MB, free: 14.22 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.992e-05/0.01185, allocations: 40.69 kB / 247.9 MB, free: 14.18 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003596/0.01221, allocations: 199.8 kB / 248.1 MB, free: 13.99 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.236e-05/0.01228, allocations: 86.19 kB / 248.2 MB, free: 13.91 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000135/0.01242, allocations: 123.8 kB / 248.3 MB, free: 13.79 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005897/0.01301, allocations: 470.2 kB / 248.8 MB, free: 13.32 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.07e-05/0.01302, allocations: 0 / 248.8 MB, free: 13.32 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.12e-07/0.01302, allocations: 0 / 248.8 MB, free: 13.32 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.203e-05/0.01303, allocations: 0 / 248.8 MB, free: 13.32 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001833/0.01486, allocations: 1.014 MB / 249.8 MB, free: 12.27 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.0149, allocations: 12.03 kB / 249.8 MB, free: 12.25 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002675/0.01757, allocations: 0.6854 MB / 250.5 MB, free: 11.57 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001897/0.01776, allocations: 169.2 kB / 250.6 MB, free: 11.38 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.01779, allocations: 41.69 kB / 250.7 MB, free: 11.34 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.272e-05/0.01784, allocations: 52.38 kB / 250.7 MB, free: 11.29 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003412/0.01818, allocations: 381.4 kB / 251.1 MB, free: 10.9 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.01819, allocations: 192 / 251.1 MB, free: 10.9 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.017e-05/0.01822, allocations: 28.12 kB / 251.1 MB, free: 10.88 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.208e-06/0.01823, allocations: 16 kB / 251.2 MB, free: 10.86 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000244/0.01848, allocations: 234.2 kB / 251.4 MB, free: 10.63 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001242/0.01972, allocations: 1.186 MB / 252.6 MB, free: 9.395 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006368/0.02035, allocations: 0.5066 MB / 253.1 MB, free: 8.871 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.879e-05/0.02043, allocations: 90.31 kB / 253.2 MB, free: 8.781 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.96e-05/0.02047, allocations: 16.48 kB / 253.2 MB, free: 8.766 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.02049, allocations: 46.94 kB / 253.2 MB, free: 8.711 MB / 250.7 MB Notification: Performance of pre-optimization done (n=47): time 1.413e-06/0.0205, allocations: 0 / 253.2 MB, free: 8.711 MB / 250.7 MB Notification: Performance of matching and sorting (n=47): time 0.0006297/0.02113, allocations: 422.6 kB / 253.6 MB, free: 8.293 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.281e-05/0.02115, allocations: 63.89 kB / 253.7 MB, free: 8.219 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.91e-05/0.02123, allocations: 165.6 kB / 253.9 MB, free: 8.047 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.02125, allocations: 33.7 kB / 253.9 MB, free: 8.008 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.121e-05/0.02132, allocations: 228.9 kB / 254.1 MB, free: 7.781 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.033e-05/0.02139, allocations: 162.6 kB / 254.3 MB, free: 7.621 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.572e-05/0.02147, allocations: 90.11 kB / 254.4 MB, free: 7.523 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.199e-05/0.02154, allocations: 334.8 kB / 254.7 MB, free: 7.188 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.659e-05/0.02159, allocations: 60.91 kB / 254.8 MB, free: 7.129 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.18e-05/0.02169, allocations: 132.3 kB / 254.9 MB, free: 6.977 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001778/0.02186, allocations: 228.1 kB / 255.1 MB, free: 6.727 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.02187, allocations: 8 kB / 255.1 MB, free: 6.719 MB / 250.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0002891/0.02216, allocations: 303 kB / 255.4 MB, free: 6.418 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.02217, allocations: 7.938 kB / 255.4 MB, free: 6.41 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.02217, allocations: 8 kB / 255.4 MB, free: 6.402 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000208/0.02238, allocations: 89 kB / 255.5 MB, free: 6.312 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001816/0.02256, allocations: 99.89 kB / 255.6 MB, free: 6.215 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008763/0.02344, allocations: 1.602 MB / 257.2 MB, free: 4.523 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.811e-05/0.02354, allocations: 47.66 kB / 257.3 MB, free: 4.477 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.02355, allocations: 8 kB / 257.3 MB, free: 4.469 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (50): * Single equations (assignments): 49 * 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 8.177e-05/0.02363, allocations: 133.8 kB / 257.4 MB, free: 4.328 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.696e-05/0.02367, allocations: 31.97 kB / 257.4 MB, free: 4.297 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003372/0.02401, allocations: 318.2 kB / 257.7 MB, free: 3.973 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.02401, allocations: 4 kB / 257.7 MB, free: 3.969 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.02401, allocations: 3.938 kB / 257.7 MB, free: 3.965 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.02402, allocations: 7.984 kB / 257.8 MB, free: 3.957 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005345/0.02455, allocations: 0.6104 MB / 258.4 MB, free: 3.32 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.02455, allocations: 4 kB / 258.4 MB, free: 3.316 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.02471, allocations: 75.91 kB / 258.4 MB, free: 3.242 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.107e-05/0.02473, allocations: 31.78 kB / 258.5 MB, free: 3.211 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001699/0.0249, allocations: 84.78 kB / 258.6 MB, free: 3.125 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.02491, allocations: 12 kB / 258.6 MB, free: 3.113 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007803/0.02569, allocations: 1.583 MB / 260.1 MB, free: 1.438 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.02569, allocations: 4.031 kB / 260.2 MB, free: 1.434 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000359/0.02605, allocations: 447.5 kB / 260.6 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.027e-05/0.02607, allocations: 11.94 kB / 260.6 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.988e-05/0.02616, allocations: 19.98 kB / 260.6 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.578e-05/0.02621, allocations: 32.44 kB / 260.7 MB, free: 0.918 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.02622, allocations: 12.06 kB / 260.7 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.763e-05/0.02625, allocations: 37.69 kB / 260.7 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.02625, allocations: 0 / 260.7 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002785/0.02653, allocations: 159.6 kB / 260.9 MB, free: 0.7109 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 (42): * Single equations (assignments): 41 * 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.0001308/0.02666, allocations: 120.4 kB / 261 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003479/0.027, allocations: 406.5 kB / 261.4 MB, free: 180 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.237e-06/0.02701, allocations: 4 kB / 261.4 MB, free: 176 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002224/0.02724, allocations: 316.1 kB / 261.7 MB, free: 15.85 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/0.02744, allocations: 166.8 kB / 261.8 MB, free: 15.66 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003499/0.03094, allocations: 0.732 MB / 262.6 MB, free: 14.9 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.453e-05/0.03099, allocations: 110.3 kB / 262.7 MB, free: 14.78 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001046/0.0311, allocations: 46.95 kB / 262.7 MB, free: 14.73 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.0312, allocations: 91.36 kB / 262.8 MB, free: 14.64 MB / 266.7 MB Notification: Performance of SimCode: time 5.21e-07/0.0312, allocations: 0 / 262.8 MB, free: 14.64 MB / 266.7 MB Notification: Performance of Templates: time 0.00592/0.03712, allocations: 4.596 MB / 267.4 MB, free: 10.08 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/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.347220655530691]