Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Electrical.Analog.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|cosineCurrent.phi|inductor1.i|inductor2.i|sineCurrent.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance") translateModel(Modelica.Electrical.Analog.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|cosineCurrent.phi|inductor1.i|inductor2.i|sineCurrent.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001171/0.001171, allocations: 200.7 kB / 18.11 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.584/1.584, allocations: 226.5 MB / 245.4 MB, free: 6.34 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009656/0.0009654, allocations: 95.53 kB / 297.5 MB, free: 6.652 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002835/0.0002836, allocations: 11.98 kB / 358.1 MB, free: 10.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.287/0.2873, allocations: 51.29 MB / 409.4 MB, free: 27.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1258/0.4132, allocations: 80.13 MB / 489.5 MB, free: 11.35 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003794/0.4137, allocations: 67.97 kB / 489.6 MB, free: 11.29 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01488/0.4286, allocations: 5.209 MB / 494.8 MB, free: 6.066 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4286, allocations: 4 kB / 494.8 MB, free: 6.062 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.995e-05/0.4286, allocations: 4 kB / 494.8 MB, free: 6.059 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0008978/0.4296, allocations: 0.5692 MB / 495.4 MB, free: 5.434 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.4296, allocations: 8.031 kB / 495.4 MB, free: 5.426 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9e-05/0.4297, allocations: 36.56 kB / 495.4 MB, free: 5.391 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003307/0.43, allocations: 271.6 kB / 495.7 MB, free: 5.086 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/0.4301, allocations: 25.03 kB / 495.7 MB, free: 5.062 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.05e-05/0.4301, allocations: 32.38 kB / 495.7 MB, free: 5.031 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005226/0.4307, allocations: 278.6 kB / 496 MB, free: 4.758 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.4307, allocations: 4.188 kB / 496 MB, free: 4.754 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.486e-05/0.4307, allocations: 19.94 kB / 496 MB, free: 4.734 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.4308, allocations: 8 kB / 496 MB, free: 4.727 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004748/0.4312, allocations: 222.4 kB / 496.2 MB, free: 4.508 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001731/0.433, allocations: 1.057 MB / 497.3 MB, free: 3.379 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003289/0.4333, allocations: 169.4 kB / 497.5 MB, free: 3.207 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002647/0.4336, allocations: 137.1 kB / 497.6 MB, free: 3.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.647e-05/0.4336, allocations: 8 kB / 497.6 MB, free: 3.062 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.241e-05/0.4337, allocations: 38.45 kB / 497.6 MB, free: 3.016 MB / 362.7 MB Notification: Performance of pre-optimization done (n=19): time 1.723e-06/0.4337, allocations: 0 / 497.6 MB, free: 3.016 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005817/0.4343, allocations: 247.7 kB / 497.9 MB, free: 2.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.4343, allocations: 59.36 kB / 497.9 MB, free: 2.699 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002223/0.4346, allocations: 211.1 kB / 498.2 MB, free: 2.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.4346, allocations: 29.7 kB / 498.2 MB, free: 2.445 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.4347, allocations: 188 kB / 498.4 MB, free: 2.258 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.859e-05/0.4348, allocations: 74.84 kB / 498.4 MB, free: 2.184 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.153e-05/0.4348, allocations: 8 kB / 498.4 MB, free: 2.176 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.4349, allocations: 334.8 kB / 498.8 MB, free: 1.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001646/0.4351, allocations: 76.45 kB / 498.8 MB, free: 1.766 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002124/0.4353, allocations: 147.4 kB / 499 MB, free: 1.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003906/0.4357, allocations: 238 kB / 499.2 MB, free: 1.324 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.4358, allocations: 0 / 499.2 MB, free: 1.324 MB / 362.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005165/0.4363, allocations: 274.5 kB / 499.5 MB, free: 1.051 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.4363, allocations: 8.188 kB / 499.5 MB, free: 1.043 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/0.4363, allocations: 11.94 kB / 499.5 MB, free: 1.031 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.4363, allocations: 4 kB / 499.5 MB, free: 1.027 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002974/0.4367, allocations: 71.89 kB / 499.6 MB, free: 0.957 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.4367, allocations: 4 kB / 499.6 MB, free: 0.9531 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001669/0.4369, allocations: 35.75 kB / 499.6 MB, free: 0.918 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.113e-05/0.4369, allocations: 15.98 kB / 499.6 MB, free: 0.9023 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001415/0.437, allocations: 145.7 kB / 499.8 MB, free: 0.75 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.136e-05/0.4371, allocations: 31.66 kB / 499.8 MB, free: 0.7188 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004141/0.4375, allocations: 206.2 kB / 0.4883 GB, free: 0.5156 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/0.4375, allocations: 4 kB / 0.4883 GB, free: 0.5117 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.4375, allocations: 4 kB / 0.4883 GB, free: 0.5078 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.4375, allocations: 0 / 0.4883 GB, free: 0.5078 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009051/0.4385, allocations: 0.6161 MB / 0.4889 GB, free: 15.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.4385, allocations: 4.062 kB / 0.4889 GB, free: 15.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002999/0.4388, allocations: 63.91 kB / 0.489 GB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.4388, allocations: 0 / 0.489 GB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/0.4388, allocations: 4 kB / 0.489 GB, free: 15.76 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.4388, allocations: 0 / 0.489 GB, free: 15.76 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.4388, allocations: 0 / 0.489 GB, free: 15.76 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006553/0.4395, allocations: 393.2 kB / 0.4893 GB, free: 15.35 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.4396, allocations: 96.83 kB / 0.4894 GB, free: 15.24 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.227e-05/0.4397, allocations: 12.06 kB / 0.4895 GB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/0.4399, allocations: 19.98 kB / 0.4895 GB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.712e-05/0.4399, allocations: 11.92 kB / 0.4895 GB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-05/0.44, allocations: 15.98 kB / 0.4895 GB, free: 15.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001614/0.4401, allocations: 144.7 kB / 0.4896 GB, free: 15.04 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4401, allocations: 0 / 0.4896 GB, free: 15.04 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004484/0.4406, allocations: 83.78 kB / 0.4897 GB, free: 14.96 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (sineCurrent.phi,inductor1.i,capacitor1.v,cosineCurrent.phi,inductor2.i,capacitor2.v) * 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 (21): * Single equations (assignments): 21 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002445/0.4409, allocations: 115.6 kB / 0.4898 GB, free: 14.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000475/0.4413, allocations: 196.4 kB / 0.49 GB, free: 14.64 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.4413, allocations: 0 / 0.49 GB, free: 14.64 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001803/0.4415, allocations: 87.89 kB / 0.4901 GB, free: 14.56 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003825/0.4419, allocations: 24.61 kB / 0.4901 GB, free: 14.54 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001551/0.4435, allocations: 1.052 MB / 0.4911 GB, free: 13.45 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004271/0.4439, allocations: 0.7674 MB / 0.4919 GB, free: 12.66 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001259/0.4441, allocations: 29.92 kB / 0.4919 GB, free: 12.63 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.862e-05/0.4441, allocations: 19.44 kB / 0.4919 GB, free: 12.61 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.4441, allocations: 0 / 0.4919 GB, free: 12.61 MB / 378.7 MB Notification: Performance of Templates: time 0.005397/0.4495, allocations: 1.845 MB / 0.4937 GB, free: 10.79 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches