Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001407/0.001407, allocations: 108.9 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001423/0.001423, allocations: 215.9 kB / 23.54 MB, free: 5.402 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.41/1.41, allocations: 230.2 MB / 256.8 MB, free: 8.637 MB / 206.1 MB [Timeout remaining time 88] 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.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001864/0.001864, allocations: 59.89 kB / 376.9 MB, free: 3.805 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/0.2356, allocations: 53.32 MB / 430.2 MB, free: 7.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005101/0.2407, allocations: 3.721 MB / 433.9 MB, free: 3.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002676/0.2434, allocations: 1.507 MB / 435.4 MB, free: 2.414 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001809/0.2435, allocations: 8 kB / 435.4 MB, free: 2.406 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001803/0.2453, allocations: 0.7584 MB / 436.2 MB, free: 1.645 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009396/0.2463, allocations: 397.2 kB / 436.6 MB, free: 1.258 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.2474, allocations: 0.5517 MB / 437.1 MB, free: 0.707 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005174/0.2479, allocations: 458 kB / 437.6 MB, free: 264 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006586/0.2485, allocations: 379.5 kB / 438 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000325/0.2489, allocations: 223.1 kB / 438.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003222/0.2492, allocations: 270.9 kB / 438.4 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.28e-05/0.2493, allocations: 44 kB / 438.5 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004244/0.2497, allocations: 219.8 kB / 438.7 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.446e-05/0.2498, allocations: 111.5 kB / 438.8 MB, free: 15.03 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002147/0.25, allocations: 238.9 kB / 439 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008932/0.2509, allocations: 0.7005 MB / 439.7 MB, free: 14.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.2509, allocations: 3.938 kB / 439.7 MB, free: 14.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.2509, allocations: 0 / 439.7 MB, free: 14.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.2509, allocations: 4 kB / 439.7 MB, free: 14.08 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.002037/0.2529, allocations: 0.9277 MB / 440.7 MB, free: 13.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.253, allocations: 12.03 kB / 440.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003471/0.2564, allocations: 472.1 kB / 441.1 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004703/0.2569, allocations: 307.2 kB / 441.4 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.394e-05/0.257, allocations: 41.69 kB / 441.5 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.679e-05/0.257, allocations: 52.38 kB / 441.5 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009864/0.258, allocations: 0.5298 MB / 442.1 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.216e-05/0.2581, allocations: 7.938 kB / 442.1 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.775e-05/0.2581, allocations: 20 kB / 442.1 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.864e-05/0.2581, allocations: 12 kB / 442.1 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.2592, allocations: 0.5868 MB / 442.7 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002999/0.2622, allocations: 1.951 MB / 444.6 MB, free: 8.969 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002179/0.2644, allocations: 2.127 MB / 446.8 MB, free: 6.453 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004634/0.2649, allocations: 234 kB / 447 MB, free: 6.223 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001851/0.2651, allocations: 174.6 kB / 447.2 MB, free: 6.016 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.058e-05/0.2651, allocations: 39 kB / 447.2 MB, free: 5.969 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 1.843e-06/0.2651, allocations: 0 / 447.2 MB, free: 5.969 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001804/0.2669, allocations: 0.7389 MB / 447.9 MB, free: 5.203 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.2669, allocations: 59.84 kB / 448 MB, free: 5.133 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001996/0.2671, allocations: 190.3 kB / 448.2 MB, free: 4.938 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.252e-05/0.2672, allocations: 29.7 kB / 448.2 MB, free: 4.902 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.2673, allocations: 229 kB / 448.4 MB, free: 4.672 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002005/0.2675, allocations: 166.5 kB / 448.6 MB, free: 4.508 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/0.2677, allocations: 86.23 kB / 448.7 MB, free: 4.418 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002318/0.2679, allocations: 334.8 kB / 449 MB, free: 4.082 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003057/0.2682, allocations: 153 kB / 449.2 MB, free: 3.934 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004298/0.2686, allocations: 242.5 kB / 449.4 MB, free: 3.668 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000702/0.2693, allocations: 420.8 kB / 449.8 MB, free: 3.223 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2693, allocations: 0 / 449.8 MB, free: 3.223 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001074/0.2704, allocations: 0.5397 MB / 450.4 MB, free: 2.672 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.2704, allocations: 4 kB / 450.4 MB, free: 2.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.2704, allocations: 4 kB / 450.4 MB, free: 2.664 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000357/0.2708, allocations: 84.73 kB / 450.4 MB, free: 2.578 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003887/0.2712, allocations: 95.83 kB / 450.5 MB, free: 2.484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002187/0.2734, allocations: 1.786 MB / 452.3 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000257/0.2736, allocations: 39.73 kB / 452.4 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.71e-05/0.2737, allocations: 23.98 kB / 452.4 MB, free: 0.5 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (52): * Single equations (assignments): 51 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002068/0.2739, allocations: 169.7 kB / 452.6 MB, free: 332 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.597e-05/0.2739, allocations: 27.81 kB / 452.6 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00116/0.2751, allocations: 0.5357 MB / 453.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.952e-06/0.2751, allocations: 4 kB / 453.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.2751, allocations: 0 / 453.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/0.2751, allocations: 7.984 kB / 453.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00177/0.2769, allocations: 1.14 MB / 454.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.2769, allocations: 7.938 kB / 454.3 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003311/0.2772, allocations: 79.83 kB / 454.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002609/0.2775, allocations: 80.88 kB / 454.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.753e-05/0.2775, allocations: 8 kB / 454.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001813/0.2793, allocations: 1.77 MB / 456.2 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.2793, allocations: 4.031 kB / 456.2 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001375/0.2807, allocations: 0.8029 MB / 457 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.064e-05/0.2808, allocations: 108.9 kB / 457.1 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.784e-05/0.2808, allocations: 8 kB / 457.1 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002289/0.281, allocations: 19.98 kB / 457.1 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.891e-05/0.2811, allocations: 48.38 kB / 457.2 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.719e-05/0.2812, allocations: 15.94 kB / 457.2 MB, free: 11.4 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001891/0.2814, allocations: 135.2 kB / 457.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2814, allocations: 0 / 457.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005081/0.2819, allocations: 155.6 kB / 457.5 MB, free: 11.12 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.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 (44): * Single equations (assignments): 43 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003147/0.2822, allocations: 139.1 kB / 457.6 MB, free: 10.97 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001052/0.2832, allocations: 0.5502 MB / 458.2 MB, free: 10.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2832, allocations: 0 / 458.2 MB, free: 10.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005805/0.2838, allocations: 353.7 kB / 458.5 MB, free: 10.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.2841, allocations: 43.83 kB / 458.6 MB, free: 10.01 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/0.2856, allocations: 0.8527 MB / 459.4 MB, free: 9.121 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004433/0.286, allocations: 0.8045 MB / 460.2 MB, free: 8.293 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.2862, allocations: 43.42 kB / 460.3 MB, free: 8.25 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2862, allocations: 0 / 460.3 MB, free: 8.25 MB / 366.1 MB Notification: Performance of Templates: time 0.009878/0.296, allocations: 6.551 MB / 466.8 MB, free: 1.695 MB / 366.1 MB [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches