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.001855/0.001855, allocations: 107 kB / 19.8 MB, free: 2.5 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.002186/0.002186, allocations: 216.2 kB / 23 MB, free: 5.574 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.414/1.414, allocations: 230.2 MB / 256.2 MB, free: 8.551 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.001886/0.001886, allocations: 59.89 kB / 376.5 MB, free: 3.621 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2243, allocations: 53.34 MB / 429.8 MB, free: 7.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.005305/0.2296, allocations: 3.733 MB / 433.5 MB, free: 3.941 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002403/0.232, allocations: 1.518 MB / 435.1 MB, free: 2.414 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001472/0.2322, allocations: 12 kB / 435.1 MB, free: 2.402 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001777/0.2339, allocations: 0.75 MB / 435.8 MB, free: 1.652 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000842/0.2348, allocations: 405.9 kB / 436.2 MB, free: 1.254 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00108/0.2359, allocations: 0.5441 MB / 436.8 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005055/0.2364, allocations: 462 kB / 437.2 MB, free: 268 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005377/0.2369, allocations: 307.5 kB / 437.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003024/0.2372, allocations: 207.2 kB / 437.7 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003252/0.2375, allocations: 267 kB / 438 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.011e-05/0.2376, allocations: 43.94 kB / 438 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000371/0.238, allocations: 215.8 kB / 438.2 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.046e-05/0.2381, allocations: 103.6 kB / 438.3 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000219/0.2383, allocations: 230.9 kB / 438.5 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008929/0.2392, allocations: 0.6849 MB / 439.2 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2392, allocations: 0 / 439.2 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2392, allocations: 0 / 439.2 MB, free: 14.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.2392, allocations: 4 kB / 439.2 MB, free: 14.21 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.002171/0.2414, allocations: 0.916 MB / 440.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.2414, allocations: 12.03 kB / 440.2 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003529/0.2449, allocations: 472.1 kB / 440.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004416/0.2454, allocations: 307.7 kB / 440.9 MB, free: 12.44 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.066e-05/0.2454, allocations: 41.69 kB / 441 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.767e-05/0.2455, allocations: 48.38 kB / 441 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001/0.2465, allocations: 0.522 MB / 441.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.2465, allocations: 0 / 441.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.48e-05/0.2466, allocations: 23.94 kB / 441.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.2466, allocations: 16 kB / 441.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001067/0.2476, allocations: 0.5673 MB / 442.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00316/0.2508, allocations: 1.953 MB / 444.1 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002641/0.2534, allocations: 2.144 MB / 446.2 MB, free: 6.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003711/0.2538, allocations: 182.1 kB / 446.4 MB, free: 6.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001824/0.254, allocations: 170.6 kB / 446.6 MB, free: 6.207 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.254, allocations: 50.88 kB / 446.6 MB, free: 6.148 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 3.767e-06/0.254, allocations: 4 kB / 446.6 MB, free: 6.145 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.002109/0.2562, allocations: 0.7896 MB / 447.4 MB, free: 5.328 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001326/0.2563, allocations: 59.84 kB / 447.5 MB, free: 5.254 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002212/0.2565, allocations: 186.3 kB / 447.7 MB, free: 5.062 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.811e-05/0.2565, allocations: 33.7 kB / 447.7 MB, free: 5.023 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/0.2567, allocations: 225 kB / 447.9 MB, free: 4.797 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001437/0.2569, allocations: 166.5 kB / 448.1 MB, free: 4.633 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001584/0.257, allocations: 86.23 kB / 448.2 MB, free: 4.543 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.2572, allocations: 342.8 kB / 448.5 MB, free: 4.199 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003435/0.2575, allocations: 157 kB / 448.7 MB, free: 4.047 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003816/0.2579, allocations: 224.8 kB / 448.9 MB, free: 3.805 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000716/0.2586, allocations: 403.4 kB / 449.3 MB, free: 3.387 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2586, allocations: 0 / 449.3 MB, free: 3.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00108/0.2597, allocations: 0.5356 MB / 449.8 MB, free: 2.844 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.2597, allocations: 4 kB / 449.8 MB, free: 2.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.2598, allocations: 4 kB / 449.8 MB, free: 2.836 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003781/0.2601, allocations: 96.95 kB / 449.9 MB, free: 2.738 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003738/0.2605, allocations: 87.89 kB / 450 MB, free: 2.652 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002434/0.2629, allocations: 2.041 MB / 452 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002538/0.2632, allocations: 51.66 kB / 452.1 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.358e-05/0.2632, allocations: 16 kB / 452.1 MB, free: 420 kB / 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.0002075/0.2634, allocations: 165.7 kB / 452.3 MB, free: 244 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.102e-05/0.2635, allocations: 27.81 kB / 452.3 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001176/0.2647, allocations: 0.5474 MB / 452.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.2647, allocations: 4 kB / 452.8 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.2647, allocations: 4 kB / 452.8 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.2647, allocations: 0 / 452.8 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00183/0.2665, allocations: 1.131 MB / 454 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.2665, allocations: 3.938 kB / 454 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003295/0.2669, allocations: 75.89 kB / 454.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002845/0.2671, allocations: 84.81 kB / 454.1 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.897e-05/0.2672, allocations: 7.984 kB / 454.1 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002172/0.2693, allocations: 2.053 MB / 456.2 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.2693, allocations: 0 / 456.2 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001491/0.2708, allocations: 0.7972 MB / 457 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.576e-05/0.2709, allocations: 108.9 kB / 457.1 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.189e-05/0.271, allocations: 12 kB / 457.1 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002256/0.2712, allocations: 15.98 kB / 457.1 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.652e-05/0.2713, allocations: 32.39 kB / 457.2 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.575e-05/0.2713, allocations: 12.06 kB / 457.2 MB, free: 11.08 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001347/0.2714, allocations: 147.2 kB / 457.3 MB, free: 10.94 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2714, allocations: 0 / 457.3 MB, free: 10.94 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005741/0.272, allocations: 151.6 kB / 457.5 MB, free: 10.79 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.0002355/0.2722, allocations: 131.2 kB / 457.6 MB, free: 10.65 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00115/0.2734, allocations: 0.5386 MB / 458.1 MB, free: 10.1 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2734, allocations: 0 / 458.1 MB, free: 10.1 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005939/0.274, allocations: 361 kB / 458.5 MB, free: 9.734 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.2743, allocations: 24 kB / 458.5 MB, free: 9.711 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001378/0.2757, allocations: 0.8184 MB / 459.3 MB, free: 8.871 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000472/0.2762, allocations: 0.8123 MB / 460.1 MB, free: 8.031 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001738/0.2763, allocations: 46.95 kB / 460.2 MB, free: 7.984 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.44e-05/0.2764, allocations: 35.42 kB / 460.2 MB, free: 7.949 MB / 366.1 MB Notification: Performance of SimCode: time 7.81e-07/0.2764, allocations: 0 / 460.2 MB, free: 7.949 MB / 366.1 MB Notification: Performance of Templates: time 0.01047/0.2869, allocations: 4.658 MB / 464.9 MB, free: 3.301 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.561551781371236]