Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009066/0.0009066, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 221.5 MB / 230.3 MB, free: 7.566 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007993/0.0007992, allocations: 83.61 kB / 281.2 MB, free: 5.328 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.935e-05/1.936e-05, allocations: 4 kB / 337 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1281, allocations: 50.42 MB / 387.5 MB, free: 7.555 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3059/0.4341, allocations: 78.64 MB / 466.1 MB, free: 192 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001875/0.4343, allocations: 71.95 kB / 466.2 MB, free: 120 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01306/0.4474, allocations: 5.107 MB / 471.3 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.4474, allocations: 0 / 471.3 MB, free: 11 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.618e-05/0.4475, allocations: 8 kB / 471.3 MB, free: 10.99 MB / 346.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.0007439/0.4482, allocations: 0.5458 MB / 471.8 MB, free: 10.4 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.4483, allocations: 8.031 kB / 471.8 MB, free: 10.39 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.531e-05/0.4483, allocations: 35.53 kB / 471.9 MB, free: 10.36 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002882/0.4486, allocations: 246.6 kB / 472.1 MB, free: 10.07 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.4487, allocations: 15.95 kB / 472.1 MB, free: 10.06 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.981e-05/0.4487, allocations: 27.98 kB / 472.2 MB, free: 10.03 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003057/0.449, allocations: 157.6 kB / 472.3 MB, free: 9.879 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003763/0.4494, allocations: 218.2 kB / 472.5 MB, free: 9.656 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.4494, allocations: 4 kB / 472.5 MB, free: 9.652 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.537e-05/0.4495, allocations: 0 / 472.5 MB, free: 9.652 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.4495, allocations: 11.94 kB / 472.5 MB, free: 9.641 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001494/0.451, allocations: 0.9866 MB / 473.5 MB, free: 8.594 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002069/0.4512, allocations: 138.6 kB / 473.7 MB, free: 8.449 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001834/0.4514, allocations: 113.2 kB / 473.8 MB, free: 8.336 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.4514, allocations: 3.953 kB / 473.8 MB, free: 8.332 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.4515, allocations: 38.56 kB / 473.8 MB, free: 8.285 MB / 346.7 MB Notification: Performance of pre-optimization done (n=19): time 1.363e-06/0.4515, allocations: 0 / 473.8 MB, free: 8.285 MB / 346.7 MB Notification: Performance of matching and sorting (n=19): time 0.0002716/0.4517, allocations: 143.2 kB / 474 MB, free: 8.141 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/0.4518, allocations: 55.41 kB / 474 MB, free: 8.074 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.4519, allocations: 166.5 kB / 474.2 MB, free: 7.902 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.452, allocations: 25.7 kB / 474.2 MB, free: 7.871 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.4521, allocations: 187.7 kB / 474.4 MB, free: 7.68 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.786e-05/0.4521, allocations: 78.88 kB / 474.5 MB, free: 7.602 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.258e-06/0.4521, allocations: 4 kB / 474.5 MB, free: 7.598 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.4522, allocations: 330.8 kB / 474.8 MB, free: 7.266 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.834e-05/0.4523, allocations: 48.56 kB / 474.8 MB, free: 7.219 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.4525, allocations: 119 kB / 475 MB, free: 7.07 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.4526, allocations: 71.84 kB / 475 MB, free: 7 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4526, allocations: 0 / 475 MB, free: 7 MB / 346.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003024/0.4529, allocations: 207 kB / 475.2 MB, free: 6.793 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.4529, allocations: 5.094 kB / 475.2 MB, free: 6.789 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.453, allocations: 4 kB / 475.2 MB, free: 6.785 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.453, allocations: 7.938 kB / 475.2 MB, free: 6.777 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003048/0.4533, allocations: 79.84 kB / 475.3 MB, free: 6.699 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.4533, allocations: 7.938 kB / 475.3 MB, free: 6.691 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001533/0.4535, allocations: 31.92 kB / 475.4 MB, free: 6.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.4535, allocations: 8 kB / 475.4 MB, free: 6.652 MB / 346.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 () * 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 8.069e-05/0.4536, allocations: 112.9 kB / 475.5 MB, free: 6.535 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.994e-05/0.4536, allocations: 15.81 kB / 475.5 MB, free: 6.52 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000253/0.4539, allocations: 165.4 kB / 475.7 MB, free: 6.355 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.4539, allocations: 4 kB / 475.7 MB, free: 6.352 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.4539, allocations: 7.891 kB / 475.7 MB, free: 6.344 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.4539, allocations: 0 / 475.7 MB, free: 6.344 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005933/0.4545, allocations: 0.511 MB / 476.2 MB, free: 5.785 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.4545, allocations: 4 kB / 476.2 MB, free: 5.781 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00029/0.4548, allocations: 55.97 kB / 476.2 MB, free: 5.727 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.4548, allocations: 4 kB / 476.2 MB, free: 5.723 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.4549, allocations: 4 kB / 476.2 MB, free: 5.719 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.4549, allocations: 0 / 476.2 MB, free: 5.719 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.4549, allocations: 7.984 kB / 476.3 MB, free: 5.711 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003672/0.4552, allocations: 341 kB / 476.6 MB, free: 5.34 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.317e-05/0.4553, allocations: 100.8 kB / 476.7 MB, free: 5.223 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.103e-05/0.4554, allocations: 4 kB / 476.7 MB, free: 5.219 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001746/0.4555, allocations: 19.98 kB / 476.7 MB, free: 5.199 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.033e-05/0.4556, allocations: 7.984 kB / 476.7 MB, free: 5.191 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.4556, allocations: 12.06 kB / 476.7 MB, free: 5.18 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.762e-05/0.4557, allocations: 128.5 kB / 476.9 MB, free: 5.055 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4557, allocations: 0 / 476.9 MB, free: 5.055 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000318/0.456, allocations: 75.69 kB / 476.9 MB, free: 4.98 MB / 346.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 () * 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.0001419/0.4562, allocations: 115.3 kB / 477 MB, free: 4.859 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002244/0.4564, allocations: 143.7 kB / 477.2 MB, free: 4.719 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4564, allocations: 4 kB / 477.2 MB, free: 4.715 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.124e-05/0.4565, allocations: 59.94 kB / 477.2 MB, free: 4.656 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.4567, allocations: 16.61 kB / 477.3 MB, free: 4.641 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.4578, allocations: 0.6839 MB / 477.9 MB, free: 3.93 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/0.4581, allocations: 0.775 MB / 478.7 MB, free: 3.129 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.399e-05/0.4582, allocations: 18.08 kB / 478.7 MB, free: 3.109 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.402e-05/0.4582, allocations: 23.38 kB / 478.8 MB, free: 3.086 MB / 346.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4583, allocations: 4 kB / 478.8 MB, free: 3.082 MB / 346.7 MB Notification: Performance of Templates: time 0.003916/0.4622, allocations: 1.581 MB / 480.3 MB, free: 1.52 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches