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.00179/0.00179, allocations: 196.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008605/0.0008605, allocations: 94.39 kB / 292.1 MB, free: 5.98 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.398e-05/4.401e-05, allocations: 8 kB / 350.5 MB, free: 2.535 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09687/0.09693, allocations: 51.48 MB / 402 MB, free: 15 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.288/0.385, allocations: 83.72 MB / 485.7 MB, free: 5.75 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001761/0.3852, allocations: 77.91 kB / 485.8 MB, free: 5.711 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03654/0.4217, allocations: 16.35 MB / 0.4904 GB, free: 6.883 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4218, allocations: 0 / 0.4904 GB, free: 6.883 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.662e-05/0.4218, allocations: 24 kB / 0.4904 GB, free: 6.859 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.001428/0.4233, allocations: 1.034 MB / 0.4914 GB, free: 5.789 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.4233, allocations: 8.031 kB / 0.4914 GB, free: 5.781 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003358/0.4237, allocations: 154.4 kB / 0.4916 GB, free: 5.629 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007917/0.4245, allocations: 0.5438 MB / 0.4921 GB, free: 5.047 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.639e-05/0.4245, allocations: 78 kB / 0.4922 GB, free: 4.969 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/0.4246, allocations: 107.9 kB / 0.4923 GB, free: 4.863 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/0.4261, allocations: 0.9833 MB / 0.4933 GB, free: 3.762 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.868e-05/0.4262, allocations: 11.94 kB / 0.4933 GB, free: 3.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.069e-05/0.4262, allocations: 44 kB / 0.4933 GB, free: 3.707 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.073e-05/0.4263, allocations: 24 kB / 0.4933 GB, free: 3.684 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009795/0.4272, allocations: 0.5112 MB / 0.4938 GB, free: 3.172 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004512/0.4318, allocations: 5.551 MB / 0.4992 GB, free: 13.33 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004772/0.4323, allocations: 217.9 kB / 0.4995 GB, free: 13.1 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002412/0.4325, allocations: 148.8 kB / 0.4996 GB, free: 12.95 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001263/0.4327, allocations: 93.08 kB / 0.4997 GB, free: 12.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.4327, allocations: 34.56 kB / 0.4997 GB, free: 12.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 2.776e-06/0.4327, allocations: 1.781 kB / 0.4997 GB, free: 12.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=40): time 0.00292/0.4356, allocations: 1.521 MB / 0.5012 GB, free: 11.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.4357, allocations: 81.11 kB / 0.5013 GB, free: 11.08 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005782/0.4363, allocations: 0.5428 MB / 0.5018 GB, free: 10.53 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.153e-05/0.4363, allocations: 33.7 kB / 0.5018 GB, free: 10.49 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003309/0.4367, allocations: 0.5948 MB / 0.5024 GB, free: 9.883 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.958e-05/0.4368, allocations: 149.9 kB / 0.5026 GB, free: 9.734 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.388e-05/0.4368, allocations: 20 kB / 0.5026 GB, free: 9.715 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.4369, allocations: 382.8 kB / 0.503 GB, free: 9.332 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002144/0.4372, allocations: 129.6 kB / 0.5031 GB, free: 9.207 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004062/0.4376, allocations: 467 kB / 0.5035 GB, free: 8.586 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003056/0.4379, allocations: 211.1 kB / 0.5037 GB, free: 8.383 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.4379, allocations: 4 kB / 0.5037 GB, free: 8.379 MB / 378.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0009358/0.4388, allocations: 0.6684 MB / 0.5044 GB, free: 7.703 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.4389, allocations: 8 kB / 0.5044 GB, free: 7.695 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/0.4389, allocations: 12.91 kB / 0.5044 GB, free: 7.684 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.794e-05/0.4389, allocations: 20 kB / 0.5044 GB, free: 7.664 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006244/0.4396, allocations: 203.7 kB / 0.5046 GB, free: 7.465 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.453e-05/0.4396, allocations: 31.69 kB / 0.5046 GB, free: 7.438 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003342/0.4399, allocations: 36.75 kB / 0.5047 GB, free: 7.402 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.572e-05/0.44, allocations: 43.98 kB / 0.5047 GB, free: 7.359 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 () * 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.000121/0.4401, allocations: 152.7 kB / 0.5049 GB, free: 7.203 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.4402, allocations: 79.06 kB / 0.5049 GB, free: 7.125 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00013/0.4404, allocations: 70.33 kB / 0.505 GB, free: 7.055 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.4404, allocations: 4 kB / 0.505 GB, free: 7.051 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-05/0.4404, allocations: 15.92 kB / 0.505 GB, free: 7.035 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.4404, allocations: 0 / 0.505 GB, free: 7.035 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001795/0.4422, allocations: 1.297 MB / 0.5063 GB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.4422, allocations: 0 / 0.5063 GB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004813/0.4427, allocations: 112 kB / 0.5064 GB, free: 5.559 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.4427, allocations: 8 kB / 0.5064 GB, free: 5.551 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.494e-05/0.4428, allocations: 8 kB / 0.5064 GB, free: 5.543 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.4428, allocations: 4 kB / 0.5064 GB, free: 5.539 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.4428, allocations: 2.109 kB / 0.5064 GB, free: 5.539 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007338/0.4435, allocations: 0.7071 MB / 0.5071 GB, free: 4.762 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001236/0.4437, allocations: 144.2 kB / 0.5073 GB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.67e-05/0.4437, allocations: 12 kB / 0.5073 GB, free: 4.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002885/0.444, allocations: 23.98 kB / 0.5073 GB, free: 4.566 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.173e-05/0.4441, allocations: 35.84 kB / 0.5073 GB, free: 4.531 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.772e-05/0.4441, allocations: 12 kB / 0.5073 GB, free: 4.52 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004362/0.4446, allocations: 415.2 kB / 0.5077 GB, free: 4.121 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4446, allocations: 0 / 0.5077 GB, free: 4.121 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006484/0.4452, allocations: 140 kB / 0.5079 GB, free: 3.984 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 () * 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.0001633/0.4454, allocations: 120.8 kB / 0.508 GB, free: 3.855 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005716/0.446, allocations: 386.9 kB / 0.5083 GB, free: 3.48 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.446, allocations: 1.812 kB / 0.5083 GB, free: 3.48 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001947/0.4462, allocations: 138.9 kB / 0.5085 GB, free: 3.348 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003654/0.4466, allocations: 72.55 kB / 0.5085 GB, free: 3.277 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002059/0.4486, allocations: 1.221 MB / 0.5097 GB, free: 2.008 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005567/0.4492, allocations: 1.024 MB / 0.5107 GB, free: 0.9531 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002975/0.4495, allocations: 94.02 kB / 0.5108 GB, free: 0.8594 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/0.4497, allocations: 64.06 kB / 0.5109 GB, free: 0.7969 MB / 378.7 MB Notification: Performance of SimCode: time 4.51e-07/0.4497, allocations: 0 / 0.5109 GB, free: 0.7969 MB / 378.7 MB Notification: Performance of Templates: time 0.009821/0.4595, allocations: 4.53 MB / 0.5153 GB, free: 12.33 MB / 394.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/jenkins/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