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.001744/0.001744, allocations: 100 kB / 21.18 MB, free: 0.5195 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.002123/0.002123, allocations: 181 kB / 24.45 MB, free: 3.863 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.466/1.466, allocations: 225.7 MB / 253.3 MB, free: 12.82 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.001645/0.001645, allocations: 51.92 kB / 371.6 MB, free: 9.195 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2591, allocations: 52.18 MB / 423.8 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.005557/0.2646, allocations: 3.39 MB / 427.2 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002883/0.2675, allocations: 1.332 MB / 428.5 MB, free: 9.727 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003518/0.2679, allocations: 8 kB / 428.6 MB, free: 9.719 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002113/0.27, allocations: 0.704 MB / 429.3 MB, free: 9.012 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001482/0.2714, allocations: 0.5205 MB / 429.8 MB, free: 8.492 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009957/0.2724, allocations: 404.7 kB / 430.2 MB, free: 8.098 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007094/0.2732, allocations: 458 kB / 430.6 MB, free: 7.648 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007462/0.2739, allocations: 350 kB / 431 MB, free: 7.301 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000426/0.2743, allocations: 211.2 kB / 431.2 MB, free: 7.094 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004028/0.2747, allocations: 235 kB / 431.4 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.333e-05/0.2748, allocations: 40 kB / 431.4 MB, free: 6.824 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005298/0.2754, allocations: 191.9 kB / 431.6 MB, free: 6.637 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00015/0.2755, allocations: 115.6 kB / 431.7 MB, free: 6.523 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002334/0.2757, allocations: 183.1 kB / 431.9 MB, free: 6.344 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001227/0.277, allocations: 0.6917 MB / 432.6 MB, free: 5.652 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.277, allocations: 0 / 432.6 MB, free: 5.652 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.277, allocations: 0 / 432.6 MB, free: 5.652 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.459e-05/0.277, allocations: 0 / 432.6 MB, free: 5.652 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.002419/0.2794, allocations: 0.8369 MB / 433.4 MB, free: 4.785 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.2794, allocations: 12.03 kB / 433.5 MB, free: 4.773 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003764/0.2832, allocations: 496.2 kB / 433.9 MB, free: 4.289 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005719/0.2838, allocations: 245.9 kB / 434.2 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.994e-05/0.2838, allocations: 37.69 kB / 434.2 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/0.284, allocations: 52.38 kB / 434.3 MB, free: 3.938 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/0.2851, allocations: 0.551 MB / 434.8 MB, free: 3.371 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.2852, allocations: 0 / 434.8 MB, free: 3.371 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001516/0.2853, allocations: 20 kB / 434.8 MB, free: 3.352 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.64e-05/0.2853, allocations: 19.92 kB / 434.9 MB, free: 3.332 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001112/0.2864, allocations: 0.5595 MB / 435.4 MB, free: 2.773 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002945/0.2894, allocations: 1.484 MB / 436.9 MB, free: 1.219 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001576/0.291, allocations: 0.5671 MB / 437.5 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004583/0.2914, allocations: 190 kB / 437.7 MB, free: 468 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.372e-05/0.2915, allocations: 16.42 kB / 437.7 MB, free: 452 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.2915, allocations: 35 kB / 437.7 MB, free: 408 kB / 334.1 MB Notification: Performance of pre-optimization done (n=47): time 2.345e-06/0.2915, allocations: 0 / 437.7 MB, free: 408 kB / 334.1 MB Notification: Performance of matching and sorting (n=47): time 0.002125/0.2936, allocations: 0.7142 MB / 438.4 MB, free: 15.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.311e-05/0.2937, allocations: 59.84 kB / 438.5 MB, free: 15.6 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001919/0.2939, allocations: 166.2 kB / 438.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.821e-05/0.2939, allocations: 33.7 kB / 438.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002508/0.2942, allocations: 228.9 kB / 438.9 MB, free: 15.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001962/0.2944, allocations: 170.5 kB / 439.1 MB, free: 14.99 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/0.2945, allocations: 86.14 kB / 439.1 MB, free: 14.9 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002047/0.2947, allocations: 334.8 kB / 439.5 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003193/0.295, allocations: 156.9 kB / 439.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003789/0.2954, allocations: 224.2 kB / 439.8 MB, free: 14.17 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007051/0.2961, allocations: 395.4 kB / 440.2 MB, free: 13.76 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.2961, allocations: 8 kB / 440.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001063/0.2972, allocations: 0.5199 MB / 440.8 MB, free: 13.22 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.2972, allocations: 12.22 kB / 440.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.2972, allocations: 0 / 440.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003766/0.2976, allocations: 96.73 kB / 440.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003744/0.298, allocations: 83.89 kB / 440.9 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002402/0.3004, allocations: 1.908 MB / 442.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002788/0.3006, allocations: 43.67 kB / 442.9 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.942e-05/0.3007, allocations: 20 kB / 442.9 MB, free: 10.96 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.0002427/0.3009, allocations: 167.2 kB / 443.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.113e-05/0.301, allocations: 27.92 kB / 443.1 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/0.3022, allocations: 0.5504 MB / 443.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.3022, allocations: 4 kB / 443.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.3022, allocations: 0 / 443.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.3022, allocations: 4 kB / 443.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001833/0.304, allocations: 0.9551 MB / 444.6 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.304, allocations: 4 kB / 444.6 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003256/0.3044, allocations: 75.89 kB / 444.7 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002927/0.3047, allocations: 84.75 kB / 444.8 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.805e-05/0.3047, allocations: 8 kB / 444.8 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002258/0.3069, allocations: 1.899 MB / 446.7 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.3069, allocations: 0 / 446.7 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001492/0.3084, allocations: 0.7973 MB / 447.5 MB, free: 6.207 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.72e-05/0.3085, allocations: 31.7 kB / 447.5 MB, free: 6.176 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.031e-05/0.3085, allocations: 8 kB / 447.5 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002333/0.3088, allocations: 23.98 kB / 447.5 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.294e-05/0.3089, allocations: 40.31 kB / 447.6 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.842e-05/0.3089, allocations: 11.98 kB / 447.6 MB, free: 6.094 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001215/0.309, allocations: 128.1 kB / 447.7 MB, free: 5.969 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.309, allocations: 0 / 447.7 MB, free: 5.969 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006183/0.3096, allocations: 151.7 kB / 447.9 MB, free: 5.82 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.0002482/0.3099, allocations: 131.2 kB / 448 MB, free: 5.684 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001138/0.311, allocations: 0.5463 MB / 448.5 MB, free: 5.125 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.311, allocations: 0 / 448.5 MB, free: 5.125 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006352/0.3117, allocations: 353.4 kB / 448.9 MB, free: 4.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.312, allocations: 28 kB / 448.9 MB, free: 4.742 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001547/0.3135, allocations: 0.835 MB / 449.8 MB, free: 3.871 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002226/0.3138, allocations: 204.8 kB / 450 MB, free: 3.648 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.3139, allocations: 35.42 kB / 450 MB, free: 3.613 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3139, allocations: 0 / 450 MB, free: 3.613 MB / 350.1 MB Notification: Performance of Templates: time 0.01076/0.3246, allocations: 6.426 MB / 456.4 MB, free: 13.18 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.4035518928430974]