Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.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.001766/0.001766, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.002268/0.002268, allocations: 208.7 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.487/1.487, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001708/0.001708, allocations: 55.91 kB / 378.2 MB, free: 2.547 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.2373, allocations: 53.36 MB / 431.6 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.005176/0.2424, allocations: 3.407 MB / 435 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002619/0.2451, allocations: 1.394 MB / 436.4 MB, free: 1.902 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001772/0.2452, allocations: 8 kB / 436.4 MB, free: 1.895 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001843/0.2471, allocations: 0.6883 MB / 437.1 MB, free: 1.203 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009963/0.2481, allocations: 396.2 kB / 437.5 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001139/0.2492, allocations: 0.5089 MB / 438 MB, free: 316 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005797/0.2498, allocations: 466 kB / 438.4 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005958/0.2504, allocations: 355.3 kB / 438.8 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003289/0.2507, allocations: 211.2 kB / 439 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003132/0.251, allocations: 239 kB / 439.2 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.752e-05/0.2511, allocations: 44 kB / 439.3 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004194/0.2515, allocations: 203.8 kB / 439.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.275e-05/0.2516, allocations: 103.6 kB / 439.6 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001911/0.2518, allocations: 199 kB / 439.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008471/0.2526, allocations: 0.6849 MB / 440.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2526, allocations: 0 / 440.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2526, allocations: 0 / 440.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.2527, allocations: 0 / 440.4 MB, free: 13.84 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.002082/0.2547, allocations: 0.8505 MB / 441.3 MB, free: 12.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.2548, allocations: 8.031 kB / 441.3 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003428/0.2582, allocations: 476.1 kB / 441.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005254/0.2587, allocations: 245.8 kB / 442 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.14e-05/0.2588, allocations: 37.69 kB / 442 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.2589, allocations: 56.38 kB / 442.1 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/0.2599, allocations: 0.5393 MB / 442.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.228e-05/0.2599, allocations: 0 / 442.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.62e-05/0.26, allocations: 27.94 kB / 442.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/0.26, allocations: 12 kB / 442.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001096/0.2611, allocations: 0.5634 MB / 443.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002851/0.2639, allocations: 1.508 MB / 444.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001565/0.2655, allocations: 0.559 MB / 445.3 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003535/0.2658, allocations: 190 kB / 445.5 MB, free: 8.645 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.795e-05/0.2659, allocations: 20.42 kB / 445.5 MB, free: 8.625 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/0.2659, allocations: 35 kB / 445.5 MB, free: 8.582 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 4.167e-06/0.266, allocations: 3.984 kB / 445.5 MB, free: 8.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001953/0.2679, allocations: 0.722 MB / 446.3 MB, free: 7.848 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/0.268, allocations: 55.84 kB / 446.3 MB, free: 7.777 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001826/0.2681, allocations: 170.1 kB / 446.5 MB, free: 7.602 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.589e-05/0.2682, allocations: 37.7 kB / 446.5 MB, free: 7.559 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.2684, allocations: 225 kB / 446.7 MB, free: 7.332 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/0.2685, allocations: 166.5 kB / 446.9 MB, free: 7.168 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001518/0.2686, allocations: 94.12 kB / 447 MB, free: 7.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.2688, allocations: 334.8 kB / 447.3 MB, free: 6.734 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000317/0.2691, allocations: 144.9 kB / 447.5 MB, free: 6.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003882/0.2695, allocations: 236.1 kB / 447.7 MB, free: 6.336 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007059/0.2702, allocations: 399.5 kB / 448.1 MB, free: 5.922 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.2702, allocations: 0 / 448.1 MB, free: 5.922 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00107/0.2713, allocations: 0.5317 MB / 448.6 MB, free: 5.383 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.2713, allocations: 4 kB / 448.6 MB, free: 5.379 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.2713, allocations: 4 kB / 448.6 MB, free: 5.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003618/0.2717, allocations: 100.9 kB / 448.7 MB, free: 5.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003713/0.2721, allocations: 87.89 kB / 448.8 MB, free: 5.188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002188/0.2742, allocations: 1.891 MB / 450.7 MB, free: 3.195 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002626/0.2745, allocations: 43.72 kB / 450.7 MB, free: 3.152 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.368e-05/0.2745, allocations: 16 kB / 450.8 MB, free: 3.137 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.0002119/0.2747, allocations: 173.6 kB / 450.9 MB, free: 2.957 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.363e-05/0.2748, allocations: 27.81 kB / 451 MB, free: 2.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001161/0.276, allocations: 0.5388 MB / 451.5 MB, free: 2.383 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.276, allocations: 8 kB / 451.5 MB, free: 2.375 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.276, allocations: 4 kB / 451.5 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.276, allocations: 3.984 kB / 451.5 MB, free: 2.367 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001674/0.2777, allocations: 0.9706 MB / 452.5 MB, free: 1.359 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.2777, allocations: 0 / 452.5 MB, free: 1.359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003401/0.278, allocations: 79.89 kB / 452.6 MB, free: 1.281 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002741/0.2783, allocations: 80.81 kB / 452.6 MB, free: 1.199 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.474e-05/0.2783, allocations: 20.17 kB / 452.7 MB, free: 1.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002092/0.2804, allocations: 1.895 MB / 454.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2804, allocations: 0 / 454.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001401/0.2818, allocations: 0.7933 MB / 455.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.37e-05/0.2819, allocations: 35.75 kB / 455.4 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.119e-05/0.2819, allocations: 8 kB / 455.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002296/0.2821, allocations: 19.98 kB / 455.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.898e-05/0.2822, allocations: 36.31 kB / 455.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.803e-05/0.2823, allocations: 15.98 kB / 455.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001068/0.2824, allocations: 124.1 kB / 455.6 MB, free: 14.13 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2824, allocations: 0 / 455.6 MB, free: 14.13 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005808/0.2829, allocations: 151.6 kB / 455.7 MB, free: 13.98 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.00024/0.2832, allocations: 151.1 kB / 455.9 MB, free: 13.83 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001063/0.2842, allocations: 0.5386 MB / 456.4 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2842, allocations: 0 / 456.4 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005923/0.2848, allocations: 361.4 kB / 456.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.2852, allocations: 27.98 kB / 456.8 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.2865, allocations: 0.8107 MB / 457.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002057/0.2867, allocations: 204.8 kB / 457.8 MB, free: 11.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001703/0.2869, allocations: 51.08 kB / 457.9 MB, free: 11.78 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.247e-05/0.287, allocations: 31.44 kB / 457.9 MB, free: 11.75 MB / 366.1 MB Notification: Performance of SimCode: time 4.3e-07/0.287, allocations: 3.938 kB / 457.9 MB, free: 11.74 MB / 366.1 MB Notification: Performance of Templates: time 0.01056/0.2975, allocations: 4.73 MB / 462.6 MB, free: 7.051 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 4.634455341845751]