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.001456/0.001456, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001575/0.001575, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.396/1.396, allocations: 230.6 MB / 258.3 MB, free: 7.992 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.001499/0.001499, allocations: 43.94 kB / 379 MB, free: 2.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2295/0.231, allocations: 53.36 MB / 432.4 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.00506/0.2361, allocations: 3.753 MB / 436.1 MB, free: 3.129 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002728/0.2388, allocations: 1.511 MB / 437.7 MB, free: 1.609 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002129/0.239, allocations: 8 kB / 437.7 MB, free: 1.602 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001772/0.2408, allocations: 0.7539 MB / 438.4 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009326/0.2417, allocations: 402 kB / 438.8 MB, free: 464 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001057/0.2428, allocations: 0.5556 MB / 439.4 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005257/0.2433, allocations: 462 kB / 439.8 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005679/0.2439, allocations: 357.8 kB / 440.2 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003555/0.2442, allocations: 219.2 kB / 440.4 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003282/0.2445, allocations: 259 kB / 440.6 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.928e-05/0.2446, allocations: 47.98 kB / 440.7 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004151/0.245, allocations: 215.8 kB / 440.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.848e-05/0.2451, allocations: 107.6 kB / 441 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002013/0.2453, allocations: 230.8 kB / 441.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000823/0.2461, allocations: 0.6865 MB / 441.9 MB, free: 13.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.2461, allocations: 0 / 441.9 MB, free: 13.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.2461, allocations: 0 / 441.9 MB, free: 13.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.2461, allocations: 0 / 441.9 MB, free: 13.35 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.001958/0.2481, allocations: 0.8407 MB / 442.7 MB, free: 12.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.2481, allocations: 8.031 kB / 442.8 MB, free: 12.47 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00331/0.2514, allocations: 480.1 kB / 443.2 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004575/0.2519, allocations: 249.8 kB / 443.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.993e-05/0.2519, allocations: 37.69 kB / 443.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.622e-05/0.252, allocations: 60.31 kB / 443.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009509/0.253, allocations: 0.5181 MB / 444.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/0.253, allocations: 0 / 444.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.851e-05/0.253, allocations: 20 kB / 444.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/0.2531, allocations: 16 kB / 444.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/0.2541, allocations: 0.5712 MB / 444.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002851/0.2569, allocations: 1.714 MB / 446.4 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001496/0.2584, allocations: 0.5809 MB / 447 MB, free: 8.125 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003325/0.2587, allocations: 186.1 kB / 447.2 MB, free: 7.941 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.75e-05/0.2588, allocations: 20.42 kB / 447.2 MB, free: 7.922 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/0.2589, allocations: 35 kB / 447.2 MB, free: 7.879 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.054e-06/0.2589, allocations: 0 / 447.2 MB, free: 7.879 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001923/0.2608, allocations: 0.7181 MB / 447.9 MB, free: 7.152 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.2608, allocations: 59.84 kB / 448 MB, free: 7.078 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002004/0.261, allocations: 190.9 kB / 448.2 MB, free: 6.883 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.576e-05/0.2611, allocations: 33.7 kB / 448.2 MB, free: 6.844 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.2612, allocations: 225 kB / 448.4 MB, free: 6.617 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/0.2614, allocations: 170.5 kB / 448.6 MB, free: 6.449 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/0.2615, allocations: 82.19 kB / 448.7 MB, free: 6.363 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.2616, allocations: 338.8 kB / 449 MB, free: 6.023 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002963/0.2619, allocations: 148.9 kB / 449.2 MB, free: 5.875 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000363/0.2623, allocations: 232.2 kB / 449.4 MB, free: 5.625 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006547/0.2629, allocations: 403.5 kB / 449.8 MB, free: 5.207 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.263, allocations: 0 / 449.8 MB, free: 5.207 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001032/0.264, allocations: 0.5318 MB / 450.3 MB, free: 4.668 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.264, allocations: 8 kB / 450.3 MB, free: 4.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.264, allocations: 3.984 kB / 450.3 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003449/0.2644, allocations: 88.75 kB / 450.4 MB, free: 4.566 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003869/0.2647, allocations: 99.88 kB / 450.5 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002133/0.2669, allocations: 1.93 MB / 452.4 MB, free: 2.426 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002623/0.2671, allocations: 51.66 kB / 452.5 MB, free: 2.375 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.736e-05/0.2672, allocations: 20.19 kB / 452.5 MB, free: 2.355 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.0002148/0.2674, allocations: 165.8 kB / 452.7 MB, free: 2.184 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.752e-05/0.2675, allocations: 31.75 kB / 452.7 MB, free: 2.152 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001132/0.2686, allocations: 0.5472 MB / 453.2 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.2686, allocations: 8 kB / 453.3 MB, free: 1.586 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.2686, allocations: 0 / 453.3 MB, free: 1.586 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.2686, allocations: 3.938 kB / 453.3 MB, free: 1.582 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001756/0.2704, allocations: 1.095 MB / 454.4 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.2704, allocations: 3.938 kB / 454.4 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003348/0.2707, allocations: 79.89 kB / 454.4 MB, free: 364 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002772/0.271, allocations: 88.8 kB / 454.5 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.929e-05/0.271, allocations: 12 kB / 454.5 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002047/0.2731, allocations: 1.938 MB / 456.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.2731, allocations: 4.062 kB / 456.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001351/0.2744, allocations: 0.7854 MB / 457.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.303e-05/0.2745, allocations: 43.77 kB / 457.3 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.787e-05/0.2745, allocations: 4 kB / 457.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002253/0.2747, allocations: 19.98 kB / 457.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.616e-05/0.2748, allocations: 36.36 kB / 457.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.852e-05/0.2748, allocations: 16 kB / 457.4 MB, free: 13.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001174/0.2749, allocations: 127.2 kB / 457.5 MB, free: 13.15 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2749, allocations: 192 / 457.5 MB, free: 13.15 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005904/0.2755, allocations: 155.7 kB / 457.7 MB, free: 13 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.0002267/0.2758, allocations: 155 kB / 457.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001058/0.2768, allocations: 0.5386 MB / 458.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2768, allocations: 0 / 458.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005635/0.2774, allocations: 353.4 kB / 458.7 MB, free: 11.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000329/0.2777, allocations: 46.11 kB / 458.7 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001405/0.2791, allocations: 0.8407 MB / 459.6 MB, free: 11.01 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004338/0.2796, allocations: 0.8084 MB / 460.4 MB, free: 10.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.2797, allocations: 39.42 kB / 460.4 MB, free: 10.14 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2797, allocations: 4 kB / 460.4 MB, free: 10.14 MB / 366.1 MB Notification: Performance of Templates: time 0.009831/0.2895, allocations: 6.508 MB / 466.9 MB, free: 3.629 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/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_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: 7.091553951846436]