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.001034/0.001034, allocations: 197.7 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.188/1.188, allocations: 227.2 MB / 245 MB, free: 5.891 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008443/0.0008444, allocations: 91.36 kB / 297.3 MB, free: 5.957 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002014/0.0002014, allocations: 8 kB / 357.9 MB, free: 9.301 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.1788, allocations: 51.47 MB / 409.4 MB, free: 26.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1037/0.2825, allocations: 83.79 MB / 493.2 MB, free: 6.793 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002641/0.2829, allocations: 67.97 kB / 493.3 MB, free: 6.727 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04381/0.3267, allocations: 16.37 MB / 0.4977 GB, free: 6.051 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.006e-06/0.3267, allocations: 0 / 0.4977 GB, free: 6.051 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.08e-05/0.3268, allocations: 31.94 kB / 0.4977 GB, free: 6.02 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.001715/0.3285, allocations: 1.122 MB / 0.4988 GB, free: 4.844 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.3286, allocations: 8.031 kB / 0.4988 GB, free: 4.836 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000367/0.3289, allocations: 154.4 kB / 0.499 GB, free: 4.684 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008442/0.3298, allocations: 0.5627 MB / 0.4995 GB, free: 4.078 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.383e-05/0.3299, allocations: 70 kB / 0.4996 GB, free: 4.008 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.33, allocations: 104 kB / 0.4997 GB, free: 3.906 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00145/0.3314, allocations: 1.011 MB / 0.5007 GB, free: 2.773 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.825e-05/0.3315, allocations: 11.84 kB / 0.5007 GB, free: 2.762 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.908e-05/0.3315, allocations: 48 kB / 0.5007 GB, free: 2.715 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.111e-05/0.3316, allocations: 28 kB / 0.5008 GB, free: 2.688 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/0.3326, allocations: 0.55 MB / 0.5013 GB, free: 2.133 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1647/0.4973, allocations: 5.531 MB / 0.5067 GB, free: 85.15 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006289/0.4979, allocations: 236.3 kB / 0.5069 GB, free: 85.1 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001281/0.4981, allocations: 85.8 kB / 0.507 GB, free: 85.01 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.4981, allocations: 38.45 kB / 0.507 GB, free: 84.97 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 3.276e-06/0.4981, allocations: 0 / 0.507 GB, free: 84.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=38): time 0.00366/0.5018, allocations: 1.714 MB / 0.5087 GB, free: 84.26 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/0.5018, allocations: 81.17 kB / 0.5088 GB, free: 84.16 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006589/0.5025, allocations: 0.5497 MB / 0.5093 GB, free: 84.04 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.658e-05/0.5026, allocations: 33.08 kB / 0.5094 GB, free: 84 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002966/0.5029, allocations: 0.6012 MB / 0.5099 GB, free: 83.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.337e-05/0.503, allocations: 146 kB / 0.5101 GB, free: 83.65 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.265e-05/0.503, allocations: 16.62 kB / 0.5101 GB, free: 83.65 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.5031, allocations: 385.4 kB / 0.5105 GB, free: 83.33 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003074/0.5034, allocations: 157.5 kB / 0.5106 GB, free: 83.33 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003907/0.5038, allocations: 0.4935 MB / 0.5111 GB, free: 82.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003748/0.5042, allocations: 223.9 kB / 0.5113 GB, free: 82.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.714e-06/0.5042, allocations: 7.562 kB / 0.5113 GB, free: 82.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001106/0.5053, allocations: 0.7195 MB / 0.512 GB, free: 82.83 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.5053, allocations: 9.625 kB / 0.512 GB, free: 82.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.838e-05/0.5054, allocations: 13.92 kB / 0.512 GB, free: 82.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.953e-05/0.5054, allocations: 19.5 kB / 0.5121 GB, free: 82.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007061/0.5061, allocations: 200.9 kB / 0.5123 GB, free: 82.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.012e-05/0.5062, allocations: 23.83 kB / 0.5123 GB, free: 82.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004035/0.5066, allocations: 35.83 kB / 0.5123 GB, free: 82.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.98e-05/0.5067, allocations: 36.86 kB / 0.5124 GB, free: 82.83 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 (94): * Single equations (assignments): 94 * 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.0003145/0.507, allocations: 233.9 kB / 0.5126 GB, free: 82.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/0.5071, allocations: 74.42 kB / 0.5126 GB, free: 82.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001291/0.5073, allocations: 74.64 kB / 0.5127 GB, free: 82.64 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.5073, allocations: 4.219 kB / 0.5127 GB, free: 82.64 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/0.5073, allocations: 1.109 kB / 0.5127 GB, free: 82.64 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.5073, allocations: 6.5 kB / 0.5127 GB, free: 82.64 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001853/0.5092, allocations: 1.303 MB / 0.514 GB, free: 82.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.5092, allocations: 3.953 kB / 0.514 GB, free: 82.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004342/0.5096, allocations: 109.1 kB / 0.5141 GB, free: 82.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.355e-05/0.5096, allocations: 3.312 kB / 0.5141 GB, free: 82.22 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.841e-05/0.5097, allocations: 8.891 kB / 0.5141 GB, free: 82.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.5097, allocations: 3.5 kB / 0.5141 GB, free: 82.22 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.5097, allocations: 0 / 0.5141 GB, free: 82.22 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007791/0.5105, allocations: 0.7234 MB / 0.5148 GB, free: 81.92 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.5106, allocations: 136.4 kB / 0.515 GB, free: 81.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.131e-05/0.5107, allocations: 7.656 kB / 0.515 GB, free: 81.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002884/0.511, allocations: 30 kB / 0.515 GB, free: 81.78 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.97e-05/0.511, allocations: 31.25 kB / 0.515 GB, free: 81.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/0.511, allocations: 8.875 kB / 0.515 GB, free: 81.78 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003467/0.5114, allocations: 418.5 kB / 0.5154 GB, free: 81.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5114, allocations: 0 / 0.5154 GB, free: 81.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005804/0.512, allocations: 138.9 kB / 0.5156 GB, free: 81.68 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (38): * Single equations (assignments): 38 * 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.0001215/0.5121, allocations: 118.8 kB / 0.5157 GB, free: 81.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006279/0.5128, allocations: 442.6 kB / 0.5161 GB, free: 81.54 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.5128, allocations: 0 / 0.5161 GB, free: 81.54 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002196/0.513, allocations: 161.4 kB / 0.5163 GB, free: 81.53 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003153/0.5133, allocations: 73.06 kB / 0.5163 GB, free: 81.52 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002187/0.5155, allocations: 2.055 MB / 0.5183 GB, free: 80.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.5159, allocations: 1.023 MB / 0.5193 GB, free: 79.59 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002684/0.5161, allocations: 91.28 kB / 0.5194 GB, free: 79.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/0.5163, allocations: 64.69 kB / 0.5195 GB, free: 79.57 MB / 378.7 MB Notification: Performance of SimCode: time 5.61e-07/0.5163, allocations: 3.938 kB / 0.5195 GB, free: 79.56 MB / 378.7 MB Notification: Performance of Templates: time 0.008343/0.5246, allocations: 4.504 MB / 0.5239 GB, free: 79.29 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/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