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.001574/0.001574, allocations: 180.6 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 223.2 MB / 240.3 MB, free: 10.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000863/0.0008627, allocations: 97.97 kB / 291.5 MB, free: 10.71 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002748/0.0002748, allocations: 8 kB / 351.1 MB, free: 15.11 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2581, allocations: 50.4 MB / 401.5 MB, free: 32.58 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1022/0.3603, allocations: 79.39 MB / 480.9 MB, free: 1.086 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002564/0.3606, allocations: 71.97 kB / 481 MB, free: 1.016 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01332/0.3739, allocations: 5.15 MB / 486.1 MB, free: 11.85 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.374, allocations: 0 / 486.1 MB, free: 11.85 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.991e-05/0.374, allocations: 8 kB / 486.1 MB, free: 11.84 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0008464/0.3749, allocations: 0.5766 MB / 486.7 MB, free: 11.22 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.3749, allocations: 12.03 kB / 486.7 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.943e-05/0.375, allocations: 31.62 kB / 486.7 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003062/0.3753, allocations: 262.4 kB / 487 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.3754, allocations: 24.61 kB / 487 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.397e-05/0.3754, allocations: 32 kB / 487 MB, free: 10.82 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000531/0.3759, allocations: 286 kB / 487.3 MB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.376, allocations: 0 / 487.3 MB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.351e-05/0.376, allocations: 16 kB / 487.3 MB, free: 10.53 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.376, allocations: 12 kB / 487.3 MB, free: 10.52 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000443/0.3765, allocations: 214.5 kB / 487.6 MB, free: 10.3 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00162/0.3781, allocations: 1.061 MB / 488.6 MB, free: 9.172 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000312/0.3784, allocations: 159 kB / 488.8 MB, free: 9.008 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.3785, allocations: 7.953 kB / 488.8 MB, free: 9 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.3785, allocations: 38.5 kB / 488.8 MB, free: 8.953 MB / 362.7 MB Notification: Performance of pre-optimization done (n=19): time 1.403e-06/0.3785, allocations: 0 / 488.8 MB, free: 8.953 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005764/0.3791, allocations: 256.1 kB / 489.1 MB, free: 8.699 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.3791, allocations: 55.41 kB / 489.1 MB, free: 8.633 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001778/0.3793, allocations: 194.3 kB / 489.3 MB, free: 8.438 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.3794, allocations: 29.7 kB / 489.3 MB, free: 8.402 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.3795, allocations: 192 kB / 489.5 MB, free: 8.211 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.583e-05/0.3795, allocations: 71 kB / 489.6 MB, free: 8.141 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.741e-05/0.3796, allocations: 8 kB / 489.6 MB, free: 8.133 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.3797, allocations: 334.8 kB / 489.9 MB, free: 7.797 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/0.3799, allocations: 72.52 kB / 490 MB, free: 7.727 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002131/0.3801, allocations: 145.5 kB / 490.1 MB, free: 7.559 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00019/0.3803, allocations: 100.8 kB / 490.2 MB, free: 7.461 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3803, allocations: 0 / 490.2 MB, free: 7.461 MB / 362.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004623/0.3808, allocations: 277.3 kB / 490.5 MB, free: 7.184 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.3808, allocations: 11.95 kB / 490.5 MB, free: 7.172 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.3808, allocations: 4 kB / 490.5 MB, free: 7.168 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.3808, allocations: 4 kB / 490.5 MB, free: 7.164 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002958/0.3811, allocations: 75.89 kB / 490.6 MB, free: 7.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.3811, allocations: 7.938 kB / 490.6 MB, free: 7.082 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001582/0.3813, allocations: 35.67 kB / 490.7 MB, free: 7.047 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.444e-05/0.3813, allocations: 16.09 kB / 490.7 MB, free: 7.031 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (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 0.0001278/0.3815, allocations: 141.8 kB / 490.8 MB, free: 6.883 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.468e-05/0.3815, allocations: 19.72 kB / 490.8 MB, free: 6.863 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000433/0.382, allocations: 223 kB / 491 MB, free: 6.633 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.382, allocations: 0 / 491 MB, free: 6.633 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.382, allocations: 4 kB / 491 MB, free: 6.629 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.239e-06/0.382, allocations: 7.922 kB / 491.1 MB, free: 6.621 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003425/0.3823, allocations: 329.5 kB / 491.4 MB, free: 6.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.3824, allocations: 4 kB / 491.4 MB, free: 6.246 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002905/0.3827, allocations: 55.91 kB / 491.4 MB, free: 6.191 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.3827, allocations: 0 / 491.4 MB, free: 6.191 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.3827, allocations: 8 kB / 491.4 MB, free: 6.184 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.3827, allocations: 7.953 kB / 491.5 MB, free: 6.176 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3827, allocations: 0 / 491.5 MB, free: 6.176 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005847/0.3833, allocations: 399 kB / 491.8 MB, free: 5.77 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.089e-05/0.3834, allocations: 100.9 kB / 491.9 MB, free: 5.652 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.072e-05/0.3834, allocations: 4 kB / 491.9 MB, free: 5.648 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001775/0.3836, allocations: 19.98 kB / 492 MB, free: 5.629 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.506e-05/0.3837, allocations: 15.92 kB / 492 MB, free: 5.613 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.3837, allocations: 8 kB / 492 MB, free: 5.605 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000125/0.3838, allocations: 152.7 kB / 492.1 MB, free: 5.457 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3838, allocations: 0 / 492.1 MB, free: 5.457 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003622/0.3842, allocations: 83.69 kB / 492.2 MB, free: 5.375 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 () * Number of clocked 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.0001748/0.3844, allocations: 111.3 kB / 492.3 MB, free: 5.258 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004052/0.3848, allocations: 184.2 kB / 492.5 MB, free: 5.078 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3848, allocations: 0 / 492.5 MB, free: 5.078 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001657/0.385, allocations: 95.83 kB / 492.6 MB, free: 4.984 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.3853, allocations: 24.66 kB / 492.6 MB, free: 4.961 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/0.3867, allocations: 1.036 MB / 493.7 MB, free: 3.906 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/0.3871, allocations: 0.7829 MB / 494.4 MB, free: 3.098 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001084/0.3872, allocations: 21.95 kB / 494.5 MB, free: 3.07 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.686e-05/0.3872, allocations: 19.44 kB / 494.5 MB, free: 3.051 MB / 362.7 MB Notification: Performance of SimCode: time 3.11e-07/0.3872, allocations: 0 / 494.5 MB, free: 3.051 MB / 362.7 MB Notification: Performance of Templates: time 0.004753/0.392, allocations: 1.86 MB / 496.3 MB, free: 1.211 MB / 362.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