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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001638/0.001638, allocations: 108.3 kB / 20.48 MB, free: 1.121 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.001516/0.001516, allocations: 218.4 kB / 23.78 MB, free: 4.324 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.469/1.469, allocations: 230.5 MB / 257.5 MB, free: 7.789 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.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.001932/0.001932, allocations: 63.89 kB / 378.3 MB, free: 2.281 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2383/0.2402, allocations: 53.42 MB / 431.7 MB, free: 6.508 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005109/0.2453, allocations: 3.395 MB / 435.1 MB, free: 3.102 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002582/0.2479, allocations: 1.398 MB / 436.5 MB, free: 1.699 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001803/0.2481, allocations: 8 kB / 436.5 MB, free: 1.691 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00185/0.2499, allocations: 0.7 MB / 437.2 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009187/0.2508, allocations: 385.1 kB / 437.6 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001091/0.2519, allocations: 0.5248 MB / 438.1 MB, free: 92 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000518/0.2525, allocations: 466 kB / 438.6 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006822/0.2531, allocations: 418 kB / 439 MB, free: 15.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000343/0.2535, allocations: 223.2 kB / 439.2 MB, free: 15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003384/0.2538, allocations: 239 kB / 439.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.654e-05/0.2539, allocations: 44 kB / 439.5 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004155/0.2543, allocations: 219.7 kB / 439.7 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.806e-05/0.2544, allocations: 103.6 kB / 439.8 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002092/0.2546, allocations: 195.1 kB / 440 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008777/0.2555, allocations: 0.6991 MB / 440.7 MB, free: 13.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.2555, allocations: 0 / 440.7 MB, free: 13.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2555, allocations: 0 / 440.7 MB, free: 13.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.2555, allocations: 4 kB / 440.7 MB, free: 13.51 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.002165/0.2577, allocations: 0.8524 MB / 441.5 MB, free: 12.63 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.2577, allocations: 12.03 kB / 441.6 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003584/0.2613, allocations: 472.1 kB / 442 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004537/0.2617, allocations: 261.2 kB / 442.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.742e-05/0.2618, allocations: 41.69 kB / 442.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/0.2619, allocations: 52.38 kB / 442.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/0.2629, allocations: 0.551 MB / 442.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/0.263, allocations: 0 / 442.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.267e-05/0.263, allocations: 28 kB / 442.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.263, allocations: 12 kB / 443 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001133/0.2642, allocations: 0.5751 MB / 443.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002901/0.2671, allocations: 1.514 MB / 445 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001535/0.2686, allocations: 0.5369 MB / 445.6 MB, free: 8.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004805/0.2691, allocations: 234.2 kB / 445.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.015e-05/0.2691, allocations: 28.41 kB / 445.8 MB, free: 8.242 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/0.2692, allocations: 43 kB / 445.9 MB, free: 8.188 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.134e-06/0.2692, allocations: 0 / 445.9 MB, free: 8.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.00183/0.271, allocations: 0.6655 MB / 446.5 MB, free: 7.516 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/0.2711, allocations: 55.91 kB / 446.6 MB, free: 7.449 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002067/0.2713, allocations: 178.8 kB / 446.8 MB, free: 7.262 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.857e-05/0.2713, allocations: 29.7 kB / 446.8 MB, free: 7.227 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001947/0.2715, allocations: 229 kB / 447 MB, free: 6.996 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001598/0.2717, allocations: 166.5 kB / 447.2 MB, free: 6.832 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001587/0.2718, allocations: 90.14 kB / 447.3 MB, free: 6.738 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.272, allocations: 334.8 kB / 447.6 MB, free: 6.402 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003303/0.2723, allocations: 148.9 kB / 447.8 MB, free: 6.258 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004031/0.2727, allocations: 245.9 kB / 448 MB, free: 5.988 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007491/0.2735, allocations: 417.9 kB / 448.4 MB, free: 5.551 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.2735, allocations: 0 / 448.4 MB, free: 5.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001102/0.2746, allocations: 0.5411 MB / 448.9 MB, free: 4.996 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.2746, allocations: 8 kB / 448.9 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.2746, allocations: 3.984 kB / 449 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003757/0.275, allocations: 80.81 kB / 449 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004077/0.2754, allocations: 99.81 kB / 449.1 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001882/0.2773, allocations: 1.628 MB / 450.8 MB, free: 3.074 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002695/0.2776, allocations: 43.72 kB / 450.8 MB, free: 3.031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.514e-05/0.2776, allocations: 20 kB / 450.8 MB, free: 3.012 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.0001963/0.2778, allocations: 169.7 kB / 451 MB, free: 2.836 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.438e-05/0.2778, allocations: 23.92 kB / 451 MB, free: 2.812 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001152/0.279, allocations: 0.5441 MB / 451.6 MB, free: 2.262 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.279, allocations: 8 kB / 451.6 MB, free: 2.254 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.279, allocations: 0 / 451.6 MB, free: 2.254 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.279, allocations: 3.984 kB / 451.6 MB, free: 2.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001704/0.2807, allocations: 0.9853 MB / 452.5 MB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.2807, allocations: 0 / 452.5 MB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003496/0.2811, allocations: 79.89 kB / 452.6 MB, free: 1.145 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002636/0.2813, allocations: 81.03 kB / 452.7 MB, free: 1.062 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.947e-05/0.2814, allocations: 11.98 kB / 452.7 MB, free: 1.051 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001846/0.2832, allocations: 1.64 MB / 454.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2832, allocations: 0 / 454.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001438/0.2847, allocations: 0.8012 MB / 455.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.422e-05/0.2847, allocations: 35.69 kB / 455.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.105e-05/0.2847, allocations: 12 kB / 455.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002378/0.285, allocations: 19.98 kB / 455.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.2851, allocations: 36.44 kB / 455.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-05/0.2851, allocations: 15.98 kB / 455.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001083/0.2852, allocations: 119.2 kB / 455.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2852, allocations: 4.062 kB / 455.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005262/0.2857, allocations: 151.7 kB / 455.5 MB, free: 14.09 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.0002687/0.286, allocations: 151.1 kB / 455.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001086/0.2871, allocations: 0.5359 MB / 456.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.2871, allocations: 0.5625 kB / 456.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006196/0.2877, allocations: 365.4 kB / 456.6 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/0.2881, allocations: 34.59 kB / 456.6 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.2894, allocations: 0.8277 MB / 457.4 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002116/0.2896, allocations: 200.8 kB / 457.6 MB, free: 11.9 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001768/0.2898, allocations: 42.95 kB / 457.7 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.577e-05/0.2899, allocations: 40.48 kB / 457.7 MB, free: 11.82 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2899, allocations: 0 / 457.7 MB, free: 11.82 MB / 366.1 MB Notification: Performance of Templates: time 0.00973/0.2996, allocations: 4.262 MB / 462 MB, free: 7.59 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins/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 [Calling sys.exit(0), Time elapsed: 4.677557713352144]