Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001995/0.001995, allocations: 180 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.971/1.971, allocations: 205.4 MB / 223.1 MB, free: 9.039 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001208/0.001208, allocations: 86.61 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002995/0.0002997, allocations: 4 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3464, allocations: 47.56 MB / 375.8 MB, free: 45.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.12/0.4665, allocations: 81.31 MB / 457.1 MB, free: 15.35 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003381/0.4669, allocations: 67.97 kB / 457.2 MB, free: 15.28 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04193/0.5088, allocations: 16 MB / 473.2 MB, free: 14.97 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.547e-06/0.5089, allocations: 0 / 473.2 MB, free: 14.97 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.203e-05/0.509, allocations: 39.92 kB / 473.2 MB, free: 14.93 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.001968/0.5109, allocations: 1.122 MB / 474.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.528e-05/0.511, allocations: 12.03 kB / 474.4 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001987/0.5112, allocations: 126.4 kB / 474.5 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009154/0.5121, allocations: 0.5549 MB / 475 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.71e-05/0.5122, allocations: 78 kB / 475.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/0.5124, allocations: 96 kB / 475.2 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001737/0.5141, allocations: 1.023 MB / 476.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.739e-05/0.5142, allocations: 7.938 kB / 476.2 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-05/0.5143, allocations: 44 kB / 476.3 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.893e-05/0.5143, allocations: 28 kB / 476.3 MB, free: 11.63 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001241/0.5156, allocations: 0.5617 MB / 476.9 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005639/0.5212, allocations: 5.54 MB / 482.4 MB, free: 5.242 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006014/0.5218, allocations: 239.6 kB / 482.6 MB, free: 4.992 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002285/0.5221, allocations: 89.09 kB / 482.7 MB, free: 4.887 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.923e-05/0.5221, allocations: 34.55 kB / 482.8 MB, free: 4.844 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 2.786e-06/0.5221, allocations: 4 kB / 482.8 MB, free: 4.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=38): time 0.003934/0.5261, allocations: 1.708 MB / 484.5 MB, free: 3.035 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.946e-05/0.5262, allocations: 85.25 kB / 484.6 MB, free: 2.934 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006502/0.5268, allocations: 0.5427 MB / 485.1 MB, free: 2.379 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.392e-05/0.5269, allocations: 33.7 kB / 485.1 MB, free: 2.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004305/0.5273, allocations: 0.6026 MB / 485.7 MB, free: 1.727 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/0.5274, allocations: 142.1 kB / 485.9 MB, free: 1.586 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.381e-05/0.5275, allocations: 12 kB / 485.9 MB, free: 1.574 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001909/0.5277, allocations: 386.8 kB / 486.3 MB, free: 1.188 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002981/0.528, allocations: 149.9 kB / 486.4 MB, free: 1.043 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005347/0.5285, allocations: 0.4933 MB / 486.9 MB, free: 396 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004014/0.5289, allocations: 235.1 kB / 487.1 MB, free: 164 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.5289, allocations: 4 kB / 487.1 MB, free: 160 kB / 362.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001179/0.5301, allocations: 0.7205 MB / 487.9 MB, free: 15.43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/0.5302, allocations: 12 kB / 487.9 MB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.772e-05/0.5302, allocations: 12 kB / 487.9 MB, free: 15.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.815e-05/0.5302, allocations: 20.03 kB / 487.9 MB, free: 15.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006645/0.5309, allocations: 191.7 kB / 488.1 MB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.806e-05/0.5309, allocations: 23.92 kB / 488.1 MB, free: 15.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003963/0.5313, allocations: 43.88 kB / 488.1 MB, free: 15.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.749e-05/0.5314, allocations: 43.92 kB / 488.2 MB, free: 15.09 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.0004275/0.5318, allocations: 229.5 kB / 488.4 MB, free: 14.85 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.532, allocations: 75.06 kB / 488.5 MB, free: 14.78 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00014/0.5321, allocations: 74.53 kB / 488.6 MB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.5321, allocations: 4 kB / 488.6 MB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/0.5322, allocations: 0 / 488.6 MB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.5322, allocations: 7.984 kB / 488.6 MB, free: 14.69 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002158/0.5343, allocations: 1.295 MB / 489.9 MB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.5344, allocations: 0 / 489.9 MB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004952/0.5349, allocations: 107.9 kB / 490 MB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/0.5349, allocations: 4 kB / 490 MB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.247e-05/0.5349, allocations: 15.98 kB / 490 MB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.618e-06/0.5349, allocations: 4 kB / 490 MB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.5349, allocations: 4 kB / 490 MB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.536, allocations: 0.7128 MB / 490.7 MB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001553/0.5362, allocations: 140.2 kB / 490.9 MB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.89e-05/0.5362, allocations: 8 kB / 490.9 MB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002942/0.5365, allocations: 28.03 kB / 490.9 MB, free: 12.27 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.171e-05/0.5366, allocations: 31.91 kB / 490.9 MB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.27e-05/0.5367, allocations: 12 kB / 490.9 MB, free: 12.22 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004941/0.5372, allocations: 415 kB / 491.3 MB, free: 11.82 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.5372, allocations: 0 / 491.3 MB, free: 11.82 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008072/0.538, allocations: 139.9 kB / 491.5 MB, free: 11.69 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.0002477/0.5382, allocations: 119.2 kB / 491.6 MB, free: 11.56 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000823/0.5391, allocations: 445 kB / 492 MB, free: 11.12 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.5391, allocations: 1.188 kB / 492 MB, free: 11.12 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002878/0.5394, allocations: 159.9 kB / 492.2 MB, free: 10.97 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000411/0.5398, allocations: 68.52 kB / 492.2 MB, free: 10.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003322/0.5431, allocations: 2.055 MB / 494.3 MB, free: 8.816 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007598/0.5439, allocations: 1.019 MB / 495.3 MB, free: 7.77 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000354/0.5443, allocations: 94 kB / 495.4 MB, free: 7.676 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/0.5444, allocations: 67.41 kB / 495.5 MB, free: 7.609 MB / 378.7 MB Notification: Performance of SimCode: time 9.52e-07/0.5445, allocations: 0 / 495.5 MB, free: 7.609 MB / 378.7 MB Notification: Performance of Templates: time 0.01249/0.557, allocations: 4.507 MB / 500 MB, free: 3.113 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ResonanceCircuits/ResonanceCircuits.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches