Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.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.001646/0.001646, allocations: 100 kB / 21.18 MB, free: 0.6484 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.001708/0.001708, allocations: 187.3 kB / 24.45 MB, free: 3.961 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.443/1.443, allocations: 225.7 MB / 253.3 MB, free: 12.8 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.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001638/0.001638, allocations: 51.86 kB / 371.6 MB, free: 9.172 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2628, allocations: 52.17 MB / 423.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005371/0.2682, allocations: 3.404 MB / 427.2 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002637/0.2708, allocations: 1.332 MB / 428.5 MB, free: 9.727 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002088/0.2711, allocations: 8 kB / 428.6 MB, free: 9.719 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001878/0.2729, allocations: 0.7001 MB / 429.3 MB, free: 9.016 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001323/0.2743, allocations: 0.5199 MB / 429.8 MB, free: 8.496 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009141/0.2752, allocations: 414.2 kB / 430.2 MB, free: 8.098 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000604/0.2758, allocations: 470 kB / 430.6 MB, free: 7.637 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007259/0.2765, allocations: 417.9 kB / 431 MB, free: 7.227 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003363/0.2768, allocations: 219.2 kB / 431.3 MB, free: 7.012 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003191/0.2772, allocations: 239 kB / 431.5 MB, free: 6.777 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.637e-05/0.2772, allocations: 48 kB / 431.5 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004315/0.2777, allocations: 195.8 kB / 431.7 MB, free: 6.539 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.2778, allocations: 111.6 kB / 431.8 MB, free: 6.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002011/0.278, allocations: 195 kB / 432 MB, free: 6.238 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009115/0.2789, allocations: 0.6927 MB / 432.7 MB, free: 5.543 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2789, allocations: 0 / 432.7 MB, free: 5.543 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2789, allocations: 0 / 432.7 MB, free: 5.543 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.2789, allocations: 0 / 432.7 MB, free: 5.543 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.002152/0.2811, allocations: 0.8486 MB / 433.6 MB, free: 4.664 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.2811, allocations: 12.03 kB / 433.6 MB, free: 4.652 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003509/0.2846, allocations: 492.2 kB / 434.1 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006091/0.2852, allocations: 261.8 kB / 434.3 MB, free: 3.891 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.474e-05/0.2853, allocations: 45.62 kB / 434.4 MB, free: 3.848 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.146e-05/0.2853, allocations: 52.38 kB / 434.4 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.2864, allocations: 0.5549 MB / 435 MB, free: 3.227 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.389e-05/0.2864, allocations: 0 / 435 MB, free: 3.227 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.402e-05/0.2865, allocations: 20 kB / 435 MB, free: 3.207 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.735e-05/0.2865, allocations: 16 kB / 435 MB, free: 3.191 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001078/0.2876, allocations: 0.5634 MB / 435.6 MB, free: 2.629 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002974/0.2905, allocations: 1.502 MB / 437.1 MB, free: 1.066 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001508/0.2921, allocations: 0.5344 MB / 437.6 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004821/0.2925, allocations: 234 kB / 437.8 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.634e-05/0.2926, allocations: 12.42 kB / 437.8 MB, free: 300 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.861e-05/0.2926, allocations: 39 kB / 437.9 MB, free: 252 kB / 334.1 MB Notification: Performance of pre-optimization done (n=47): time 2.826e-06/0.2926, allocations: 0 / 437.9 MB, free: 252 kB / 334.1 MB Notification: Performance of matching and sorting (n=47): time 0.001907/0.2946, allocations: 0.6714 MB / 438.6 MB, free: 15.56 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.2946, allocations: 55.84 kB / 438.6 MB, free: 15.49 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.2948, allocations: 170.2 kB / 438.8 MB, free: 15.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.528e-05/0.2948, allocations: 29.7 kB / 438.8 MB, free: 15.28 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.295, allocations: 228.9 kB / 439 MB, free: 15.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000142/0.2951, allocations: 178.4 kB / 439.2 MB, free: 14.88 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001379/0.2953, allocations: 82.19 kB / 439.3 MB, free: 14.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.2954, allocations: 338.8 kB / 439.6 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003112/0.2957, allocations: 144.9 kB / 439.8 MB, free: 14.31 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003895/0.2961, allocations: 233.9 kB / 440 MB, free: 14.05 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007589/0.2969, allocations: 428.8 kB / 440.4 MB, free: 13.6 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.2969, allocations: 0 / 440.4 MB, free: 13.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001128/0.298, allocations: 0.5317 MB / 440.9 MB, free: 13.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.91e-05/0.298, allocations: 4 kB / 440.9 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.2981, allocations: 4 kB / 440.9 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003995/0.2985, allocations: 85.02 kB / 441 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004013/0.2989, allocations: 95.89 kB / 441.1 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002021/0.3009, allocations: 1.629 MB / 442.7 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002941/0.3012, allocations: 55.73 kB / 442.8 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.772e-05/0.3012, allocations: 19.98 kB / 442.8 MB, free: 11.06 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.0002417/0.3015, allocations: 165.7 kB / 443 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.037e-05/0.3015, allocations: 23.86 kB / 443 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001184/0.3027, allocations: 0.5387 MB / 443.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.3027, allocations: 8 kB / 443.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3027, allocations: 0 / 443.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.3027, allocations: 3.984 kB / 443.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001887/0.3046, allocations: 0.9799 MB / 444.5 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.3046, allocations: 0 / 444.5 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003561/0.305, allocations: 71.91 kB / 444.6 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002969/0.3053, allocations: 85.09 kB / 444.7 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.259e-05/0.3053, allocations: 8 kB / 444.7 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001899/0.3072, allocations: 1.636 MB / 446.3 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.3072, allocations: 4.031 kB / 446.3 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001494/0.3087, allocations: 0.7913 MB / 447.1 MB, free: 6.559 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.771e-05/0.3088, allocations: 39.69 kB / 447.2 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.359e-05/0.3088, allocations: 8 kB / 447.2 MB, free: 6.512 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002452/0.3091, allocations: 23.98 kB / 447.2 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.718e-05/0.3092, allocations: 32.38 kB / 447.2 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.909e-05/0.3092, allocations: 24 kB / 447.3 MB, free: 6.434 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001139/0.3093, allocations: 128 kB / 447.4 MB, free: 6.309 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3093, allocations: 0 / 447.4 MB, free: 6.309 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005754/0.3099, allocations: 155.6 kB / 447.5 MB, free: 6.156 MB / 350.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.0002711/0.3101, allocations: 147.1 kB / 447.7 MB, free: 6.004 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001195/0.3113, allocations: 0.5388 MB / 448.2 MB, free: 5.453 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3113, allocations: 4 kB / 448.2 MB, free: 5.449 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000638/0.312, allocations: 352.9 kB / 448.6 MB, free: 5.094 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003609/0.3123, allocations: 27.94 kB / 448.6 MB, free: 5.066 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/0.3141, allocations: 0.8489 MB / 449.4 MB, free: 4.172 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/0.3143, allocations: 204.8 kB / 449.6 MB, free: 3.949 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/0.3144, allocations: 39.42 kB / 449.7 MB, free: 3.914 MB / 350.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3144, allocations: 0 / 449.7 MB, free: 3.914 MB / 350.1 MB Notification: Performance of Templates: time 0.01111/0.3256, allocations: 6.453 MB / 456.1 MB, free: 13.46 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 7.450653048697859]