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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 113.1 kB / 17.06 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001652/0.001652, allocations: 200 kB / 18 MB, free: 5.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009552/0.0009552, allocations: 51.92 kB / 351.3 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.2389, allocations: 49.43 MB / 400.7 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.004521/0.2434, allocations: 3.695 MB / 404.4 MB, free: 5.141 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00212/0.2456, allocations: 1.429 MB / 405.8 MB, free: 3.703 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001488/0.2457, allocations: 8 kB / 405.9 MB, free: 3.695 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001646/0.2474, allocations: 0.7545 MB / 406.6 MB, free: 2.938 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001039/0.2484, allocations: 0.542 MB / 407.2 MB, free: 2.395 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007504/0.2492, allocations: 428.1 kB / 407.6 MB, free: 1.98 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004232/0.2496, allocations: 466 kB / 408 MB, free: 1.523 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006639/0.2503, allocations: 463 kB / 408.5 MB, free: 1.066 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002685/0.2506, allocations: 215.2 kB / 408.7 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002905/0.2509, allocations: 274.9 kB / 409 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.563e-05/0.251, allocations: 44 kB / 409 MB, free: 0.543 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003372/0.2513, allocations: 211.8 kB / 409.2 MB, free: 344 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.731e-05/0.2514, allocations: 111.6 kB / 409.3 MB, free: 232 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002192/0.2516, allocations: 234.9 kB / 409.5 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006737/0.2523, allocations: 0.6853 MB / 410.2 MB, free: 15.31 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2523, allocations: 0 / 410.2 MB, free: 15.31 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.2523, allocations: 0 / 410.2 MB, free: 15.31 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.2523, allocations: 3.938 kB / 410.2 MB, free: 15.3 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.001945/0.2543, allocations: 0.9093 MB / 411.1 MB, free: 14.35 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.2543, allocations: 15.89 kB / 411.2 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003406/0.2577, allocations: 499.9 kB / 411.6 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000391/0.2581, allocations: 311.6 kB / 411.9 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.485e-05/0.2582, allocations: 41.67 kB / 412 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.654e-05/0.2583, allocations: 56.28 kB / 412 MB, free: 13.4 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008891/0.2592, allocations: 0.5376 MB / 412.6 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.301e-05/0.2592, allocations: 0 / 412.6 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.02e-05/0.2593, allocations: 20 kB / 412.6 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.2593, allocations: 12 kB / 412.6 MB, free: 12.83 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009995/0.2603, allocations: 0.5712 MB / 413.2 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002882/0.2632, allocations: 1.871 MB / 415.1 MB, free: 10.28 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00196/0.2651, allocations: 2.167 MB / 417.2 MB, free: 7.727 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004503/0.2656, allocations: 270 kB / 417.5 MB, free: 7.461 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.833e-05/0.2657, allocations: 85.55 kB / 417.6 MB, free: 7.359 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.079e-05/0.2658, allocations: 46.98 kB / 417.6 MB, free: 7.305 MB / 334.1 MB Notification: Performance of pre-optimization done (n=47): time 1.954e-06/0.2658, allocations: 3.938 kB / 417.6 MB, free: 7.301 MB / 334.1 MB Notification: Performance of matching and sorting (n=47): time 0.001668/0.2674, allocations: 0.7309 MB / 418.4 MB, free: 6.539 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.2675, allocations: 55.84 kB / 418.4 MB, free: 6.473 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002551/0.2678, allocations: 198.2 kB / 418.6 MB, free: 6.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/0.2678, allocations: 33.7 kB / 418.6 MB, free: 6.23 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001634/0.268, allocations: 220.5 kB / 418.8 MB, free: 6.008 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.2681, allocations: 157.7 kB / 419 MB, free: 5.852 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001291/0.2682, allocations: 82.25 kB / 419.1 MB, free: 5.766 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.2683, allocations: 334.8 kB / 419.4 MB, free: 5.43 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002857/0.2686, allocations: 153 kB / 419.6 MB, free: 5.281 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003928/0.269, allocations: 242.5 kB / 419.8 MB, free: 5.016 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006802/0.2697, allocations: 420.8 kB / 420.2 MB, free: 4.57 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.2697, allocations: 4 kB / 420.2 MB, free: 4.566 MB / 334.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009543/0.2707, allocations: 0.5357 MB / 420.7 MB, free: 4.023 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.2707, allocations: 4 kB / 420.7 MB, free: 4.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.2707, allocations: 4 kB / 420.8 MB, free: 4.016 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003229/0.2711, allocations: 76.8 kB / 420.8 MB, free: 3.938 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003725/0.2714, allocations: 95.83 kB / 420.9 MB, free: 3.844 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001749/0.2732, allocations: 1.774 MB / 422.7 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002476/0.2735, allocations: 47.52 kB / 422.7 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.496e-05/0.2735, allocations: 23.98 kB / 422.8 MB, free: 1.863 MB / 334.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.0001889/0.2737, allocations: 165.7 kB / 422.9 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.853e-05/0.2738, allocations: 23.72 kB / 422.9 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001071/0.2748, allocations: 0.5396 MB / 423.5 MB, free: 1.121 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.2749, allocations: 12 kB / 423.5 MB, free: 1.109 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.2749, allocations: 0 / 423.5 MB, free: 1.109 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.2749, allocations: 0 / 423.5 MB, free: 1.109 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001676/0.2766, allocations: 1.148 MB / 424.6 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.2766, allocations: 3.938 kB / 424.7 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00032/0.2769, allocations: 79.89 kB / 424.7 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002556/0.2772, allocations: 84.7 kB / 424.8 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.051e-05/0.2772, allocations: 11.98 kB / 424.8 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001623/0.2788, allocations: 1.758 MB / 426.6 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.2789, allocations: 3.938 kB / 426.6 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001289/0.2802, allocations: 0.8028 MB / 427.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.791e-05/0.2802, allocations: 108.7 kB / 427.5 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.384e-05/0.2803, allocations: 8 kB / 427.5 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002275/0.2805, allocations: 19.98 kB / 427.5 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.963e-05/0.2806, allocations: 40.38 kB / 427.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.849e-05/0.2806, allocations: 15.94 kB / 427.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001128/0.2808, allocations: 144.3 kB / 427.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2808, allocations: 0 / 427.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004631/0.2812, allocations: 147.5 kB / 427.9 MB, free: 12.49 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.0002182/0.2815, allocations: 143 kB / 428 MB, free: 12.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009893/0.2825, allocations: 0.5623 MB / 428.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2825, allocations: 0 / 428.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005806/0.2831, allocations: 377 kB / 428.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/0.2834, allocations: 32.38 kB / 429 MB, free: 11.36 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/0.2849, allocations: 0.8155 MB / 429.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003973/0.2853, allocations: 0.8084 MB / 430.6 MB, free: 9.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001829/0.2855, allocations: 42.95 kB / 430.6 MB, free: 9.633 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.48e-05/0.2856, allocations: 35.44 kB / 430.7 MB, free: 9.598 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2856, allocations: 4 kB / 430.7 MB, free: 9.594 MB / 350.1 MB Notification: Performance of Templates: time 0.008252/0.2938, allocations: 4.335 MB / 435 MB, free: 5.273 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.makefile (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) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches