Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.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.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits") translateModel(Modelica.Electrical.Analog.Examples.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001268/0.001268, allocations: 197.1 kB / 18.1 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, allocations: 226.5 MB / 245.4 MB, free: 6.492 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008655/0.0008652, allocations: 103.6 kB / 297.5 MB, free: 6.684 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003919/0.0003919, allocations: 8 kB / 358.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2962, allocations: 51.3 MB / 409.4 MB, free: 27.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1075/0.4038, allocations: 83.76 MB / 493.1 MB, free: 7.738 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002956/0.4041, allocations: 71.97 kB / 493.2 MB, free: 7.668 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04266/0.4468, allocations: 16.36 MB / 0.4976 GB, free: 6.996 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.897e-06/0.4469, allocations: 0 / 0.4976 GB, free: 6.996 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001196/0.447, allocations: 31.98 kB / 0.4977 GB, free: 6.965 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.002495/0.4495, allocations: 1.122 MB / 0.4987 GB, free: 5.789 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.4496, allocations: 8.031 kB / 0.4988 GB, free: 5.781 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000552/0.4501, allocations: 151.3 kB / 0.4989 GB, free: 5.633 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/0.4513, allocations: 0.5829 MB / 0.4995 GB, free: 5.008 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.162e-05/0.4514, allocations: 74.38 kB / 0.4995 GB, free: 4.938 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000175/0.4515, allocations: 100.3 kB / 0.4996 GB, free: 4.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001941/0.4535, allocations: 1.019 MB / 0.5006 GB, free: 3.695 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.153e-05/0.4536, allocations: 8.125 kB / 0.5006 GB, free: 3.688 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.419e-05/0.4537, allocations: 51.94 kB / 0.5007 GB, free: 3.637 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.158e-05/0.4537, allocations: 28 kB / 0.5007 GB, free: 3.609 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00133/0.455, allocations: 0.5578 MB / 0.5013 GB, free: 3.051 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2697/0.7248, allocations: 5.53 MB / 0.5067 GB, free: 86.32 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009738/0.7258, allocations: 239.9 kB / 0.5069 GB, free: 86.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004247/0.7263, allocations: 160.5 kB / 0.507 GB, free: 86.25 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002041/0.7265, allocations: 87.88 kB / 0.5071 GB, free: 86.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.888e-05/0.7265, allocations: 37.47 kB / 0.5072 GB, free: 86.12 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 3.696e-06/0.7265, allocations: 0 / 0.5072 GB, free: 86.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=40): time 0.00436/0.7309, allocations: 1.748 MB / 0.5089 GB, free: 85.43 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.731, allocations: 81.23 kB / 0.5089 GB, free: 85.34 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001015/0.732, allocations: 0.6332 MB / 0.5096 GB, free: 85.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.039e-05/0.7321, allocations: 33.92 kB / 0.5096 GB, free: 85.17 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005172/0.7326, allocations: 0.5997 MB / 0.5102 GB, free: 84.89 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001474/0.7327, allocations: 151.5 kB / 0.5103 GB, free: 84.8 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.769e-05/0.7328, allocations: 18 kB / 0.5103 GB, free: 84.8 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.733, allocations: 382.5 kB / 0.5107 GB, free: 84.49 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003512/0.7333, allocations: 160.9 kB / 0.5109 GB, free: 84.49 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007132/0.734, allocations: 0.4953 MB / 0.5113 GB, free: 84.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.7352, allocations: 0.7182 MB / 0.512 GB, free: 83.64 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.497e-05/0.7352, allocations: 3.375 kB / 0.5121 GB, free: 83.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001669/0.7369, allocations: 0.7194 MB / 0.5128 GB, free: 83.55 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.474e-05/0.7369, allocations: 9.875 kB / 0.5128 GB, free: 83.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.953e-05/0.737, allocations: 12.8 kB / 0.5128 GB, free: 83.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.753e-05/0.737, allocations: 20.72 kB / 0.5128 GB, free: 83.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000758/0.7378, allocations: 204.3 kB / 0.513 GB, free: 83.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.016e-05/0.7378, allocations: 24.56 kB / 0.513 GB, free: 83.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004737/0.7383, allocations: 41.17 kB / 0.5131 GB, free: 83.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.696e-05/0.7384, allocations: 35.03 kB / 0.5131 GB, free: 83.54 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (96): * Single equations (assignments): 96 * 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.0005297/0.7389, allocations: 231.2 kB / 0.5133 GB, free: 83.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001567/0.7391, allocations: 74.81 kB / 0.5134 GB, free: 83.37 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001604/0.7393, allocations: 76.62 kB / 0.5135 GB, free: 83.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/0.7393, allocations: 12.06 kB / 0.5135 GB, free: 83.34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.78e-05/0.7393, allocations: 1.375 kB / 0.5135 GB, free: 83.34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.7393, allocations: 3.703 kB / 0.5135 GB, free: 83.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002055/0.7414, allocations: 1.348 MB / 0.5148 GB, free: 82.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.7414, allocations: 0 / 0.5148 GB, free: 82.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004458/0.7419, allocations: 112.5 kB / 0.5149 GB, free: 82.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/0.7419, allocations: 3.188 kB / 0.5149 GB, free: 82.87 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.767e-05/0.7419, allocations: 21.28 kB / 0.5149 GB, free: 82.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.7419, allocations: 3.219 kB / 0.5149 GB, free: 82.86 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.7419, allocations: 4.094 kB / 0.5149 GB, free: 82.86 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008879/0.7428, allocations: 0.7111 MB / 0.5156 GB, free: 82.56 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.7429, allocations: 141.9 kB / 0.5158 GB, free: 82.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.73e-05/0.743, allocations: 16.28 kB / 0.5158 GB, free: 82.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002756/0.7433, allocations: 27.33 kB / 0.5158 GB, free: 82.42 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.433e-05/0.7434, allocations: 31.19 kB / 0.5158 GB, free: 82.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-05/0.7434, allocations: 13.8 kB / 0.5158 GB, free: 82.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004441/0.7439, allocations: 416.8 kB / 0.5162 GB, free: 82.32 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7439, allocations: 4 kB / 0.5162 GB, free: 82.32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007148/0.7446, allocations: 140.9 kB / 0.5164 GB, free: 82.32 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (inductor2.i,capacitor2.v,inductor1.i,capacitor1.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 (40): * Single equations (assignments): 40 * 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.0001947/0.7448, allocations: 118.8 kB / 0.5165 GB, free: 82.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007377/0.7455, allocations: 452.6 kB / 0.5169 GB, free: 82.17 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.7455, allocations: 3.875 kB / 0.5169 GB, free: 82.17 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002831/0.7458, allocations: 160.2 kB / 0.5171 GB, free: 82.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006868/0.7465, allocations: 76.73 kB / 0.5171 GB, free: 82.15 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002532/0.7491, allocations: 2.092 MB / 0.5192 GB, free: 80.9 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004292/0.7495, allocations: 1.007 MB / 0.5202 GB, free: 80.18 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003253/0.7499, allocations: 96.16 kB / 0.5203 GB, free: 80.16 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.75, allocations: 67.91 kB / 0.5203 GB, free: 80.15 MB / 378.7 MB Notification: Performance of SimCode: time 8.32e-07/0.75, allocations: 0 / 0.5203 GB, free: 80.15 MB / 378.7 MB Notification: Performance of Templates: time 0.009359/0.7594, allocations: 4.539 MB / 0.5248 GB, free: 79.88 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ResonanceCircuits/ResonanceCircuits.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches