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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001839/0.001839, allocations: 176.2 kB / 8.349 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.552/1.552, allocations: 221.5 MB / 230.3 MB, free: 7.504 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009124/0.0009123, allocations: 96.36 kB / 281.2 MB, free: 5.262 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.165e-05/2.167e-05, allocations: 4 kB / 337 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1107, allocations: 50.42 MB / 387.5 MB, free: 7.559 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3565/0.4672, allocations: 82.08 MB / 469.5 MB, free: 12.75 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/0.4675, allocations: 79.95 kB / 469.6 MB, free: 12.67 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03818/0.5057, allocations: 15.4 MB / 485 MB, free: 13.11 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.5057, allocations: 0 / 485 MB, free: 13.11 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.785e-05/0.5058, allocations: 8 kB / 485 MB, free: 13.1 MB / 362.7 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.001704/0.5075, allocations: 0.7413 MB / 485.8 MB, free: 12.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.5075, allocations: 12.03 kB / 485.8 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002236/0.5098, allocations: 359 kB / 486.1 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004731/0.5103, allocations: 307.5 kB / 486.4 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.674e-05/0.5103, allocations: 16 kB / 486.5 MB, free: 11.6 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.011e-05/0.5104, allocations: 32 kB / 486.5 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008874/0.5113, allocations: 0.5102 MB / 487 MB, free: 11.05 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007255/0.512, allocations: 408 kB / 487.4 MB, free: 10.65 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.5121, allocations: 0 / 487.4 MB, free: 10.65 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.106e-05/0.5121, allocations: 0 / 487.4 MB, free: 10.65 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/0.5121, allocations: 15.95 kB / 487.4 MB, free: 10.63 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003024/0.5152, allocations: 1.818 MB / 489.2 MB, free: 8.727 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002019/0.5172, allocations: 2.135 MB / 491.4 MB, free: 6.203 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003443/0.5176, allocations: 226.1 kB / 491.6 MB, free: 5.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.83e-05/0.5177, allocations: 97.47 kB / 491.7 MB, free: 5.863 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.5177, allocations: 35 kB / 491.7 MB, free: 5.82 MB / 362.7 MB Notification: Performance of pre-optimization done (n=47): time 2.204e-06/0.5177, allocations: 4 kB / 491.7 MB, free: 5.816 MB / 362.7 MB Notification: Performance of matching and sorting (n=47): time 0.001159/0.5189, allocations: 464.4 kB / 492.2 MB, free: 5.355 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.5189, allocations: 59.84 kB / 492.2 MB, free: 5.285 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.5191, allocations: 141.4 kB / 492.4 MB, free: 5.141 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.069e-05/0.5191, allocations: 33.69 kB / 492.4 MB, free: 5.102 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.5193, allocations: 220.3 kB / 492.6 MB, free: 4.883 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001108/0.5194, allocations: 157.7 kB / 492.8 MB, free: 4.727 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.914e-05/0.5194, allocations: 0 / 492.8 MB, free: 4.727 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.5195, allocations: 330.8 kB / 493.1 MB, free: 4.395 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001808/0.5197, allocations: 125.1 kB / 493.2 MB, free: 4.273 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000241/0.52, allocations: 209.4 kB / 493.4 MB, free: 4.035 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005423/0.5205, allocations: 240.6 kB / 493.7 MB, free: 3.797 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.5205, allocations: 8 kB / 493.7 MB, free: 3.789 MB / 362.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001059/0.5216, allocations: 0.5393 MB / 494.2 MB, free: 3.238 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/0.5216, allocations: 5.406 kB / 494.2 MB, free: 3.234 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.5216, allocations: 4 kB / 494.2 MB, free: 3.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003591/0.522, allocations: 85.02 kB / 494.3 MB, free: 3.145 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003828/0.5224, allocations: 95.89 kB / 494.4 MB, free: 3.051 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001649/0.5241, allocations: 1.561 MB / 495.9 MB, free: 1.379 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002614/0.5243, allocations: 43.52 kB / 496 MB, free: 1.336 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.177e-05/0.5244, allocations: 20.06 kB / 496 MB, free: 1.316 MB / 362.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001193/0.5245, allocations: 112.9 kB / 496.1 MB, free: 1.199 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.483e-05/0.5246, allocations: 27.67 kB / 496.1 MB, free: 1.172 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001147/0.5257, allocations: 0.5345 MB / 496.7 MB, free: 0.6289 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.5257, allocations: 4 kB / 496.7 MB, free: 0.625 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.5258, allocations: 3.953 kB / 496.7 MB, free: 0.6211 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.5258, allocations: 3.984 kB / 496.7 MB, free: 0.6172 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001854/0.5276, allocations: 1.095 MB / 497.8 MB, free: 15.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.5276, allocations: 4 kB / 497.8 MB, free: 15.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003356/0.528, allocations: 79.97 kB / 497.9 MB, free: 15.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002435/0.5282, allocations: 76.77 kB / 497.9 MB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.968e-05/0.5283, allocations: 11.98 kB / 498 MB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001379/0.5297, allocations: 1.561 MB / 499.5 MB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.5297, allocations: 4.031 kB / 499.5 MB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001263/0.531, allocations: 0.798 MB / 0.4886 GB, free: 12.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.81e-05/0.5311, allocations: 120.6 kB / 0.4887 GB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.52e-05/0.5311, allocations: 0 / 0.4887 GB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000224/0.5313, allocations: 20.05 kB / 0.4887 GB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.845e-05/0.5314, allocations: 32.39 kB / 0.4888 GB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-05/0.5314, allocations: 12 kB / 0.4888 GB, free: 12.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.42e-05/0.5315, allocations: 119.3 kB / 0.4889 GB, free: 12.46 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5315, allocations: 0 / 0.4889 GB, free: 12.46 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005562/0.5321, allocations: 139.5 kB / 0.489 GB, free: 12.32 MB / 378.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002609/0.5324, allocations: 139.1 kB / 0.4891 GB, free: 12.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008106/0.5332, allocations: 0.5007 MB / 0.4896 GB, free: 11.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.5332, allocations: 0 / 0.4896 GB, free: 11.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004254/0.5336, allocations: 339.9 kB / 0.49 GB, free: 11.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002508/0.5339, allocations: 22.02 kB / 0.49 GB, free: 11.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009767/0.5349, allocations: 0.5539 MB / 0.4905 GB, free: 10.72 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003659/0.5353, allocations: 0.8205 MB / 0.4913 GB, free: 9.879 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002165/0.5355, allocations: 43.27 kB / 0.4914 GB, free: 9.836 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.232e-05/0.5356, allocations: 31.38 kB / 0.4914 GB, free: 9.805 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5356, allocations: 0 / 0.4914 GB, free: 9.805 MB / 378.7 MB Notification: Performance of Templates: time 0.007241/0.5428, allocations: 3.535 MB / 0.4948 GB, free: 6.281 MB / 378.7 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","../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches