Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.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.QuasiStationary.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000989/0.0009888, allocations: 178.4 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.588/1.588, allocations: 205.3 MB / 214.4 MB, free: 1.66 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007865/0.0007866, allocations: 82.73 kB / 262.4 MB, free: 1.613 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.707e-05/1.71e-05, allocations: 0 / 315.5 MB, free: 22.7 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08966/0.08969, allocations: 47.58 MB / 363.1 MB, free: 7.066 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3177/0.4074, allocations: 80.87 MB / 443.9 MB, free: 14.88 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/0.4078, allocations: 78.58 kB / 444 MB, free: 14.84 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0527/0.4605, allocations: 16.04 MB / 460.1 MB, free: 1.938 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4605, allocations: 0 / 460.1 MB, free: 1.938 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.74e-05/0.4606, allocations: 8 kB / 460.1 MB, free: 1.93 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002429/0.463, allocations: 0.761 MB / 460.8 MB, free: 1.18 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.515e-05/0.4631, allocations: 12.03 kB / 460.8 MB, free: 1.168 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004708/0.4678, allocations: 433.2 kB / 461.3 MB, free: 0.793 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006419/0.4685, allocations: 308.4 kB / 461.6 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.952e-05/0.4685, allocations: 20 kB / 461.6 MB, free: 500 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/0.4687, allocations: 43.8 kB / 461.6 MB, free: 456 kB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001579/0.4703, allocations: 0.5825 MB / 462.2 MB, free: 64 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/0.4715, allocations: 439.3 kB / 462.6 MB, free: 15.76 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.426e-05/0.4716, allocations: 0 / 462.6 MB, free: 15.76 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.069e-05/0.4717, allocations: 0 / 462.6 MB, free: 15.76 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.53e-05/0.4717, allocations: 16 kB / 462.7 MB, free: 15.74 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004866/0.4766, allocations: 1.993 MB / 464.6 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003128/0.4797, allocations: 2.968 MB / 467.6 MB, free: 10.8 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004209/0.4802, allocations: 231.5 kB / 467.8 MB, free: 10.66 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001197/0.4803, allocations: 93.52 kB / 467.9 MB, free: 10.55 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.4803, allocations: 41.38 kB / 468 MB, free: 10.5 MB / 346.7 MB Notification: Performance of pre-optimization done (n=49): time 3.166e-06/0.4804, allocations: 0 / 468 MB, free: 10.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=49): time 0.001317/0.4817, allocations: 468.4 kB / 468.4 MB, free: 10.14 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.4817, allocations: 55.84 kB / 468.5 MB, free: 10.08 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000194/0.4819, allocations: 157.7 kB / 468.6 MB, free: 9.941 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.829e-05/0.482, allocations: 25.7 kB / 468.7 MB, free: 9.91 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.4822, allocations: 249.8 kB / 468.9 MB, free: 9.684 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000134/0.4823, allocations: 158.3 kB / 469.1 MB, free: 9.547 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.563e-05/0.4823, allocations: 0 / 469.1 MB, free: 9.547 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.4825, allocations: 336.8 kB / 469.4 MB, free: 9.219 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002242/0.4827, allocations: 133.2 kB / 469.5 MB, free: 9.145 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003147/0.483, allocations: 253.6 kB / 469.8 MB, free: 8.914 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006905/0.4837, allocations: 262 kB / 470 MB, free: 8.734 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.4838, allocations: 0 / 470 MB, free: 8.734 MB / 346.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001352/0.4851, allocations: 0.5858 MB / 470.6 MB, free: 8.27 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.4852, allocations: 4 kB / 470.6 MB, free: 8.266 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.4852, allocations: 7.953 kB / 470.6 MB, free: 8.258 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003825/0.4856, allocations: 82.62 kB / 470.7 MB, free: 8.188 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005523/0.4861, allocations: 115.8 kB / 470.8 MB, free: 8.078 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001569/0.4877, allocations: 1.581 MB / 472.4 MB, free: 6.555 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002925/0.488, allocations: 43.52 kB / 472.4 MB, free: 6.512 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.484e-05/0.4881, allocations: 19.12 kB / 472.5 MB, free: 6.496 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001223/0.4882, allocations: 120.8 kB / 472.6 MB, free: 6.371 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.561e-05/0.4883, allocations: 27.78 kB / 472.6 MB, free: 6.344 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001132/0.4894, allocations: 0.5525 MB / 473.2 MB, free: 5.926 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.4894, allocations: 4 kB / 473.2 MB, free: 5.922 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.4894, allocations: 4 kB / 473.2 MB, free: 5.918 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.869e-06/0.4894, allocations: 7.938 kB / 473.2 MB, free: 5.91 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001775/0.4912, allocations: 1.103 MB / 474.3 MB, free: 5.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.4912, allocations: 0 / 474.3 MB, free: 5.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003505/0.4916, allocations: 87.33 kB / 474.4 MB, free: 4.938 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002471/0.4919, allocations: 79.39 kB / 474.4 MB, free: 4.871 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.705e-05/0.4919, allocations: 4 kB / 474.4 MB, free: 4.867 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00137/0.4933, allocations: 1.56 MB / 476 MB, free: 3.363 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.4933, allocations: 0 / 476 MB, free: 3.363 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001355/0.4947, allocations: 0.8309 MB / 476.8 MB, free: 2.57 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.355e-05/0.4948, allocations: 116.5 kB / 476.9 MB, free: 2.438 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.984e-05/0.4948, allocations: 7.984 kB / 477 MB, free: 2.43 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002273/0.495, allocations: 8 kB / 477 MB, free: 2.422 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.4952, allocations: 44.44 kB / 477 MB, free: 2.379 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-05/0.4952, allocations: 16 kB / 477 MB, free: 2.363 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001124/0.4953, allocations: 132.3 kB / 477.1 MB, free: 2.234 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4953, allocations: 0 / 477.1 MB, free: 2.234 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006052/0.4959, allocations: 143.5 kB / 477.3 MB, free: 2.094 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 45 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002854/0.4962, allocations: 143.1 kB / 477.4 MB, free: 1.945 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008871/0.4971, allocations: 0.5094 MB / 477.9 MB, free: 1.422 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4971, allocations: 4.188 kB / 477.9 MB, free: 1.418 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004642/0.4976, allocations: 351.1 kB / 478.3 MB, free: 1.066 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002371/0.4978, allocations: 12.45 kB / 478.3 MB, free: 1.055 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003173/0.501, allocations: 1.07 MB / 479.4 MB, free: 15.95 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004452/0.5015, allocations: 0.8248 MB / 480.2 MB, free: 15.1 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000243/0.5017, allocations: 51.2 kB / 480.2 MB, free: 15.05 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.11e-05/0.5018, allocations: 39.42 kB / 480.3 MB, free: 15.02 MB / 362.7 MB Notification: Performance of SimCode: time 7.72e-07/0.5018, allocations: 0 / 480.3 MB, free: 15.02 MB / 362.7 MB Notification: Performance of Templates: time 0.007527/0.5094, allocations: 3.634 MB / 483.9 MB, free: 11.38 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches