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.001823/0.001823, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.002317/0.002317, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.505/1.505, allocations: 230.3 MB / 258 MB, free: 8.25 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.002006/0.002006, allocations: 63.89 kB / 378.8 MB, free: 2.773 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.2519, allocations: 53.36 MB / 432.1 MB, free: 7.086 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.005685/0.2576, allocations: 3.752 MB / 435.9 MB, free: 3.324 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002926/0.2605, allocations: 1.518 MB / 437.4 MB, free: 1.797 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002959/0.2608, allocations: 11.94 kB / 437.4 MB, free: 1.785 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001928/0.2628, allocations: 0.739 MB / 438.1 MB, free: 1.043 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001056/0.2638, allocations: 413.5 kB / 438.5 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001139/0.265, allocations: 0.5522 MB / 439.1 MB, free: 92 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005664/0.2655, allocations: 462 kB / 439.5 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005558/0.2661, allocations: 302.1 kB / 439.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003374/0.2664, allocations: 211.2 kB / 440 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003401/0.2668, allocations: 266.9 kB / 440.3 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.943e-05/0.2668, allocations: 44 kB / 440.4 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004568/0.2673, allocations: 211.8 kB / 440.6 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.2674, allocations: 103.6 kB / 440.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002371/0.2676, allocations: 234.8 kB / 440.9 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008957/0.2685, allocations: 0.6868 MB / 441.6 MB, free: 13.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.2685, allocations: 8 kB / 441.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2685, allocations: 0 / 441.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.137e-05/0.2685, allocations: 0 / 441.6 MB, free: 13.59 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.002211/0.2707, allocations: 0.8407 MB / 442.4 MB, free: 12.72 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.2708, allocations: 12.03 kB / 442.4 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003703/0.2745, allocations: 472.1 kB / 442.9 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004647/0.2749, allocations: 245.9 kB / 443.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.6e-05/0.275, allocations: 45.69 kB / 443.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.593e-05/0.2751, allocations: 56.31 kB / 443.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/0.2761, allocations: 0.5142 MB / 443.7 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.304e-05/0.2762, allocations: 3.938 kB / 443.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.436e-05/0.2762, allocations: 24 kB / 443.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.605e-05/0.2762, allocations: 16 kB / 443.8 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001154/0.2774, allocations: 0.5712 MB / 444.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003067/0.2805, allocations: 1.721 MB / 446.1 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001681/0.2821, allocations: 0.564 MB / 446.6 MB, free: 8.375 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003835/0.2825, allocations: 190 kB / 446.8 MB, free: 8.188 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.663e-05/0.2826, allocations: 24.39 kB / 446.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.414e-05/0.2827, allocations: 46.98 kB / 446.9 MB, free: 8.109 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 1.884e-06/0.2827, allocations: 0 / 446.9 MB, free: 8.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.002139/0.2848, allocations: 0.7142 MB / 447.6 MB, free: 7.387 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.2848, allocations: 55.84 kB / 447.7 MB, free: 7.316 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000214/0.2851, allocations: 190.9 kB / 447.9 MB, free: 7.121 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.877e-05/0.2851, allocations: 33.7 kB / 447.9 MB, free: 7.082 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001582/0.2853, allocations: 221 kB / 448.1 MB, free: 6.859 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001518/0.2854, allocations: 166.5 kB / 448.3 MB, free: 6.695 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001501/0.2856, allocations: 86.17 kB / 448.4 MB, free: 6.605 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.2857, allocations: 342.8 kB / 448.7 MB, free: 6.262 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003373/0.2861, allocations: 148.9 kB / 448.8 MB, free: 6.113 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000407/0.2865, allocations: 228.2 kB / 449.1 MB, free: 5.867 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007542/0.2872, allocations: 395.4 kB / 449.4 MB, free: 5.457 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.2872, allocations: 8 kB / 449.5 MB, free: 5.449 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00117/0.2884, allocations: 0.5355 MB / 450 MB, free: 4.906 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.2884, allocations: 8.219 kB / 450 MB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.2884, allocations: 4 kB / 450 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004034/0.2888, allocations: 84.8 kB / 450.1 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000407/0.2892, allocations: 95.83 kB / 450.2 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002332/0.2916, allocations: 1.934 MB / 452.1 MB, free: 2.668 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000283/0.2919, allocations: 43.67 kB / 452.2 MB, free: 2.625 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.719e-05/0.2919, allocations: 23.98 kB / 452.2 MB, free: 2.602 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.0002195/0.2921, allocations: 173 kB / 452.3 MB, free: 2.426 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.403e-05/0.2922, allocations: 27.81 kB / 452.4 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001249/0.2934, allocations: 0.5434 MB / 452.9 MB, free: 1.844 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.2934, allocations: 4 kB / 452.9 MB, free: 1.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.2934, allocations: 0 / 452.9 MB, free: 1.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.2935, allocations: 11.92 kB / 452.9 MB, free: 1.828 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001865/0.2953, allocations: 1.095 MB / 454 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/0.2953, allocations: 11.94 kB / 454 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003535/0.2957, allocations: 75.89 kB / 454.1 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003022/0.296, allocations: 84.75 kB / 454.2 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.291e-05/0.296, allocations: 19.98 kB / 454.2 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002227/0.2982, allocations: 1.93 MB / 456.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.2982, allocations: 0 / 456.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001529/0.2998, allocations: 0.7972 MB / 456.9 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.737e-05/0.2998, allocations: 35.69 kB / 457 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.886e-05/0.2999, allocations: 12 kB / 457 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002529/0.3001, allocations: 19.98 kB / 457 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.18e-05/0.3002, allocations: 36.44 kB / 457 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.051e-05/0.3003, allocations: 15.98 kB / 457.1 MB, free: 13.51 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001484/0.3004, allocations: 131.2 kB / 457.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3004, allocations: 0 / 457.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006243/0.301, allocations: 147.7 kB / 457.3 MB, free: 13.24 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.0002415/0.3013, allocations: 143.1 kB / 457.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00117/0.3024, allocations: 0.5464 MB / 458 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3024, allocations: 0 / 458 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006346/0.3031, allocations: 356.9 kB / 458.4 MB, free: 12.17 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.3034, allocations: 32.44 kB / 458.4 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.3049, allocations: 0.8194 MB / 459.2 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004563/0.3053, allocations: 0.8045 MB / 460 MB, free: 10.46 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001853/0.3055, allocations: 46.95 kB / 460.1 MB, free: 10.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001/0.3056, allocations: 31.42 kB / 460.1 MB, free: 10.38 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3056, allocations: 3.938 kB / 460.1 MB, free: 10.38 MB / 366.1 MB Notification: Performance of Templates: time 0.01045/0.3161, allocations: 4.776 MB / 464.9 MB, free: 5.613 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins/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: 4.615499132312834]