Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00134/0.00134, allocations: 109.1 kB / 21.19 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001466/0.001466, allocations: 217 kB / 24.5 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 230.5 MB / 258.1 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 67.89 kB / 379 MB, free: 2.512 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.2364, allocations: 53.41 MB / 432.4 MB, free: 6.777 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.005139/0.2415, allocations: 3.745 MB / 436.2 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002575/0.2441, allocations: 1.518 MB / 437.7 MB, free: 1.492 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001865/0.2443, allocations: 12 kB / 437.7 MB, free: 1.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001835/0.2461, allocations: 0.7506 MB / 438.5 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009415/0.2471, allocations: 401.6 kB / 438.9 MB, free: 344 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.2481, allocations: 0.5562 MB / 439.4 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005182/0.2487, allocations: 458 kB / 439.9 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005646/0.2492, allocations: 371.3 kB / 440.2 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003198/0.2495, allocations: 207.3 kB / 440.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003216/0.2499, allocations: 262.9 kB / 440.7 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.952e-05/0.2499, allocations: 40 kB / 440.7 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004298/0.2503, allocations: 223.8 kB / 440.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.141e-05/0.2504, allocations: 103.6 kB / 441 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002046/0.2506, allocations: 234.8 kB / 441.3 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008188/0.2515, allocations: 0.6888 MB / 442 MB, free: 13.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2515, allocations: 0 / 442 MB, free: 13.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2515, allocations: 0 / 442 MB, free: 13.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.2515, allocations: 0 / 442 MB, free: 13.23 MB / 350.1 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.002039/0.2535, allocations: 0.8407 MB / 442.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.2535, allocations: 16.02 kB / 442.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003251/0.2568, allocations: 468.1 kB / 443.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004769/0.2573, allocations: 261.5 kB / 443.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.259e-05/0.2573, allocations: 37.69 kB / 443.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.601e-05/0.2574, allocations: 52.38 kB / 443.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009453/0.2583, allocations: 0.5181 MB / 444.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/0.2584, allocations: 4 kB / 444.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.919e-05/0.2584, allocations: 20 kB / 444.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.499e-05/0.2584, allocations: 12 kB / 444.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001025/0.2595, allocations: 0.5751 MB / 444.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002821/0.2623, allocations: 1.718 MB / 446.5 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001458/0.2637, allocations: 0.5624 MB / 447 MB, free: 8.016 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003484/0.2641, allocations: 186.1 kB / 447.2 MB, free: 7.832 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.256e-05/0.2642, allocations: 28.41 kB / 447.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/0.2642, allocations: 38.94 kB / 447.3 MB, free: 7.758 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 1.934e-06/0.2642, allocations: 0 / 447.3 MB, free: 7.758 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001884/0.2661, allocations: 0.7104 MB / 448 MB, free: 7.043 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.2661, allocations: 55.84 kB / 448 MB, free: 6.973 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001901/0.2663, allocations: 194.9 kB / 448.2 MB, free: 6.773 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.864e-05/0.2664, allocations: 33.7 kB / 448.3 MB, free: 6.734 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.2665, allocations: 217 kB / 448.5 MB, free: 6.516 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001274/0.2666, allocations: 170.5 kB / 448.6 MB, free: 6.348 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001331/0.2668, allocations: 86.19 kB / 448.7 MB, free: 6.258 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.2669, allocations: 342.8 kB / 449.1 MB, free: 5.914 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002987/0.2672, allocations: 148.9 kB / 449.2 MB, free: 5.766 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003504/0.2675, allocations: 224.2 kB / 449.4 MB, free: 5.523 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006781/0.2682, allocations: 411.4 kB / 449.8 MB, free: 5.098 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2682, allocations: 0 / 449.8 MB, free: 5.098 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001025/0.2693, allocations: 0.5358 MB / 450.4 MB, free: 4.551 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.2693, allocations: 8 kB / 450.4 MB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.2693, allocations: 0 / 450.4 MB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003518/0.2696, allocations: 92.69 kB / 450.5 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003761/0.27, allocations: 91.88 kB / 450.5 MB, free: 4.359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002099/0.2721, allocations: 1.945 MB / 452.5 MB, free: 2.301 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002556/0.2724, allocations: 47.66 kB / 452.5 MB, free: 2.254 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.239e-05/0.2724, allocations: 16 kB / 452.6 MB, free: 2.238 MB / 350.1 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 0.0002012/0.2726, allocations: 165.7 kB / 452.7 MB, free: 2.066 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.702e-05/0.2727, allocations: 35.86 kB / 452.8 MB, free: 2.031 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001104/0.2738, allocations: 0.5433 MB / 453.3 MB, free: 1.477 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.2738, allocations: 4 kB / 453.3 MB, free: 1.473 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2738, allocations: 4 kB / 453.3 MB, free: 1.469 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.2738, allocations: 3.984 kB / 453.3 MB, free: 1.465 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001693/0.2755, allocations: 1.103 MB / 454.4 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/0.2755, allocations: 3.938 kB / 454.4 MB, free: 316 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003346/0.2758, allocations: 75.91 kB / 454.5 MB, free: 240 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000283/0.2761, allocations: 88.8 kB / 454.6 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.657e-05/0.2761, allocations: 8 kB / 454.6 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001978/0.2781, allocations: 1.938 MB / 456.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2781, allocations: 32 / 456.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001356/0.2795, allocations: 0.7933 MB / 457.3 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.039e-05/0.2795, allocations: 31.7 kB / 457.3 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.231e-05/0.2796, allocations: 12 kB / 457.4 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002349/0.2798, allocations: 20.05 kB / 457.4 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.956e-05/0.2799, allocations: 40.36 kB / 457.4 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.75e-05/0.2799, allocations: 12 kB / 457.4 MB, free: 13.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001195/0.28, allocations: 135.2 kB / 457.6 MB, free: 13.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.28, allocations: 3.938 kB / 457.6 MB, free: 13.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006907/0.2807, allocations: 147.7 kB / 457.7 MB, free: 12.88 MB / 366.1 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.0002356/0.2809, allocations: 143.1 kB / 457.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001012/0.282, allocations: 0.5386 MB / 458.4 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.282, allocations: 4 kB / 458.4 MB, free: 12.17 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000569/0.2825, allocations: 361.4 kB / 458.7 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003175/0.2828, allocations: 26.75 kB / 458.8 MB, free: 11.78 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.2842, allocations: 0.8467 MB / 459.6 MB, free: 10.9 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004066/0.2846, allocations: 0.8045 MB / 460.4 MB, free: 10.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.2847, allocations: 43.42 kB / 460.5 MB, free: 10.03 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2847, allocations: 192 / 460.5 MB, free: 10.03 MB / 366.1 MB Notification: Performance of Templates: time 0.009109/0.2938, allocations: 6.519 MB / 467 MB, free: 3.504 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.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: 7.4190896288491786]