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.001309/0.001309, allocations: 104.6 kB / 21.18 MB, free: 0.7617 MB / 14.72 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.001337/0.001337, allocations: 193.2 kB / 24.48 MB, free: 4.164 MB / 14.72 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 1.46/1.46, allocations: 225.6 MB / 253.3 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001678/0.001678, allocations: 51.92 kB / 371.7 MB, free: 9.348 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.252, allocations: 52.18 MB / 423.9 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.005348/0.2574, allocations: 3.732 MB / 427.6 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002648/0.26, allocations: 1.452 MB / 429.1 MB, free: 9.488 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002409/0.2603, allocations: 8 kB / 429.1 MB, free: 9.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001902/0.2622, allocations: 0.7545 MB / 429.8 MB, free: 8.723 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001334/0.2635, allocations: 0.547 MB / 430.4 MB, free: 8.176 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009597/0.2645, allocations: 432.6 kB / 430.8 MB, free: 7.754 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006457/0.2651, allocations: 462 kB / 431.2 MB, free: 7.301 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006052/0.2657, allocations: 355.3 kB / 431.6 MB, free: 6.953 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003153/0.266, allocations: 211.2 kB / 431.8 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003437/0.2664, allocations: 274.9 kB / 432.1 MB, free: 6.477 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.351e-05/0.2665, allocations: 40 kB / 432.1 MB, free: 6.438 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004399/0.2669, allocations: 199.9 kB / 432.3 MB, free: 6.242 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.462e-05/0.267, allocations: 111.6 kB / 432.4 MB, free: 6.133 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002155/0.2672, allocations: 226.9 kB / 432.6 MB, free: 5.91 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000899/0.2681, allocations: 0.6888 MB / 433.3 MB, free: 5.219 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2681, allocations: 0 / 433.3 MB, free: 5.219 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2681, allocations: 0 / 433.3 MB, free: 5.219 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.2681, allocations: 0 / 433.3 MB, free: 5.219 MB / 334.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.002166/0.2703, allocations: 0.8408 MB / 434.2 MB, free: 4.348 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.2703, allocations: 12.03 kB / 434.2 MB, free: 4.336 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003471/0.2738, allocations: 488.2 kB / 434.7 MB, free: 3.859 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005237/0.2743, allocations: 245.9 kB / 434.9 MB, free: 3.594 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.39e-05/0.2744, allocations: 45.69 kB / 434.9 MB, free: 3.551 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.274e-05/0.2745, allocations: 60.31 kB / 435 MB, free: 3.492 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009625/0.2754, allocations: 0.5181 MB / 435.5 MB, free: 2.965 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.2754, allocations: 4 kB / 435.5 MB, free: 2.961 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.249e-05/0.2755, allocations: 20 kB / 435.5 MB, free: 2.941 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/0.2755, allocations: 12 kB / 435.6 MB, free: 2.93 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/0.2766, allocations: 0.5634 MB / 436.1 MB, free: 2.367 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002912/0.2795, allocations: 1.706 MB / 437.8 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001564/0.281, allocations: 0.5749 MB / 438.4 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003473/0.2814, allocations: 185.3 kB / 438.6 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.471e-05/0.2815, allocations: 16.42 kB / 438.6 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.2815, allocations: 35 kB / 438.6 MB, free: 15.76 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 3.106e-06/0.2815, allocations: 0 / 438.6 MB, free: 15.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001956/0.2834, allocations: 0.7103 MB / 439.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.2835, allocations: 63.83 kB / 439.4 MB, free: 14.96 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001999/0.2837, allocations: 178.3 kB / 439.6 MB, free: 14.78 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.346e-05/0.2837, allocations: 37.64 kB / 439.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001543/0.2839, allocations: 225 kB / 439.8 MB, free: 14.51 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001366/0.284, allocations: 166.5 kB / 440 MB, free: 14.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/0.2842, allocations: 86.17 kB / 440.1 MB, free: 14.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.2843, allocations: 342.7 kB / 440.4 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003095/0.2846, allocations: 148.9 kB / 440.6 MB, free: 13.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003674/0.285, allocations: 220.2 kB / 440.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006713/0.2857, allocations: 407.4 kB / 441.2 MB, free: 13.1 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.2857, allocations: 0 / 441.2 MB, free: 13.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001057/0.2867, allocations: 0.5317 MB / 441.7 MB, free: 12.56 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.2868, allocations: 4 kB / 441.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.2868, allocations: 7.984 kB / 441.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003691/0.2871, allocations: 92.95 kB / 441.8 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003896/0.2875, allocations: 91.89 kB / 441.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002247/0.2898, allocations: 1.935 MB / 443.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002909/0.2901, allocations: 51.78 kB / 443.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.42e-05/0.2901, allocations: 16 kB / 443.9 MB, free: 10.25 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.0002316/0.2903, allocations: 177.6 kB / 444.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.262e-05/0.2904, allocations: 23.86 kB / 444.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001176/0.2916, allocations: 0.5433 MB / 444.6 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.2916, allocations: 4 kB / 444.6 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.2916, allocations: 8 kB / 444.6 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.2916, allocations: 4 kB / 444.6 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001738/0.2933, allocations: 1.084 MB / 445.7 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.2933, allocations: 3.938 kB / 445.7 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003406/0.2937, allocations: 79.84 kB / 445.8 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000292/0.294, allocations: 88.73 kB / 445.9 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.853e-05/0.294, allocations: 11.94 kB / 445.9 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002113/0.2961, allocations: 1.942 MB / 447.9 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2961, allocations: 0 / 447.9 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001401/0.2975, allocations: 0.7856 MB / 448.6 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.926e-05/0.2976, allocations: 43.64 kB / 448.7 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.058e-05/0.2976, allocations: 8 kB / 448.7 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000234/0.2978, allocations: 19.98 kB / 448.7 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.249e-05/0.2979, allocations: 32.38 kB / 448.7 MB, free: 5.191 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.757e-05/0.2979, allocations: 16 kB / 448.8 MB, free: 5.176 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001336/0.2981, allocations: 136.2 kB / 448.9 MB, free: 5.043 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2981, allocations: 0 / 448.9 MB, free: 5.043 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006005/0.2987, allocations: 151.7 kB / 449 MB, free: 4.895 MB / 350.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.000236/0.2989, allocations: 138.3 kB / 449.2 MB, free: 4.754 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001116/0.3, allocations: 0.5424 MB / 449.7 MB, free: 4.203 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/0.3, allocations: 4 kB / 449.7 MB, free: 4.199 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005927/0.3006, allocations: 357.4 kB / 450.1 MB, free: 3.836 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003479/0.301, allocations: 40.11 kB / 450.1 MB, free: 3.797 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.3024, allocations: 0.828 MB / 450.9 MB, free: 2.938 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004448/0.3029, allocations: 0.8045 MB / 451.7 MB, free: 2.105 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/0.303, allocations: 43.42 kB / 451.8 MB, free: 2.062 MB / 350.1 MB Notification: Performance of SimCode: time 6.41e-07/0.303, allocations: 0 / 451.8 MB, free: 2.062 MB / 350.1 MB Notification: Performance of Templates: time 0.009879/0.3129, allocations: 6.314 MB / 458.1 MB, free: 11.75 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.554815127979964]