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.001526/0.001526, allocations: 172.2 kB / 14.1 MB, free: 1.223 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.463/1.463, allocations: 205.2 MB / 219.8 MB, free: 14.19 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.001089/0.001089, allocations: 82.7 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.451e-05/2.453e-05, allocations: 0 / 322.4 MB, free: 17.35 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08807/0.08811, allocations: 47.58 MB / 370 MB, free: 1.711 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3878/0.4759, allocations: 81.29 MB / 451.3 MB, free: 12.07 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/0.4763, allocations: 79.14 kB / 451.4 MB, free: 12.03 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03986/0.5162, allocations: 16.24 MB / 467.6 MB, free: 13.1 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.5162, allocations: 0 / 467.6 MB, free: 13.1 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.661e-05/0.5162, allocations: 8 kB / 467.6 MB, free: 13.09 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001826/0.5181, allocations: 0.7643 MB / 468.4 MB, free: 12.29 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.51e-05/0.5181, allocations: 12.03 kB / 468.4 MB, free: 12.27 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002765/0.5209, allocations: 438.9 kB / 468.8 MB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004335/0.5214, allocations: 310.5 kB / 469.1 MB, free: 11.5 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.046e-05/0.5214, allocations: 41.31 kB / 469.2 MB, free: 11.46 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.5215, allocations: 71.78 kB / 469.3 MB, free: 11.39 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/0.5226, allocations: 0.5337 MB / 469.8 MB, free: 10.85 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/0.5226, allocations: 0 / 469.8 MB, free: 10.85 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.866e-05/0.5227, allocations: 20 kB / 469.8 MB, free: 10.83 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.64e-05/0.5227, allocations: 16 kB / 469.8 MB, free: 10.81 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.5237, allocations: 0.6104 MB / 470.4 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003508/0.5272, allocations: 2.094 MB / 472.5 MB, free: 7.984 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002659/0.5299, allocations: 2.984 MB / 475.5 MB, free: 4.43 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004039/0.5303, allocations: 243 kB / 475.8 MB, free: 4.191 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001006/0.5304, allocations: 93.52 kB / 475.8 MB, free: 4.082 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.5305, allocations: 43 kB / 475.9 MB, free: 4.031 MB / 346.7 MB Notification: Performance of pre-optimization done (n=49): time 3.116e-06/0.5305, allocations: 0 / 475.9 MB, free: 4.031 MB / 346.7 MB Notification: Performance of matching and sorting (n=49): time 0.0008802/0.5314, allocations: 432.4 kB / 476.3 MB, free: 3.598 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/0.5314, allocations: 59.84 kB / 476.4 MB, free: 3.527 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002085/0.5317, allocations: 179.5 kB / 476.5 MB, free: 3.348 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.621e-05/0.5317, allocations: 37.7 kB / 476.6 MB, free: 3.305 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.5319, allocations: 244.1 kB / 476.8 MB, free: 3.059 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00013/0.532, allocations: 165.5 kB / 477 MB, free: 2.895 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.506e-05/0.532, allocations: 16 kB / 477 MB, free: 2.879 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.5322, allocations: 334.8 kB / 477.3 MB, free: 2.543 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002413/0.5324, allocations: 137.1 kB / 477.5 MB, free: 2.41 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003227/0.5328, allocations: 263.8 kB / 477.7 MB, free: 2.105 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000304/0.5331, allocations: 181.5 kB / 477.9 MB, free: 1.926 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.5331, allocations: 3.984 kB / 477.9 MB, free: 1.922 MB / 346.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009339/0.534, allocations: 0.5432 MB / 478.4 MB, free: 1.367 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.5341, allocations: 8.469 kB / 478.4 MB, free: 1.359 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.5341, allocations: 11.94 kB / 478.5 MB, free: 1.348 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003848/0.5345, allocations: 84.73 kB / 478.5 MB, free: 1.262 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004259/0.5349, allocations: 107.9 kB / 478.6 MB, free: 1.156 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001683/0.5366, allocations: 1.644 MB / 480.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003274/0.537, allocations: 59.5 kB / 480.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.231e-05/0.537, allocations: 23.98 kB / 480.4 MB, free: 15.3 MB / 362.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.0001326/0.5372, allocations: 136.8 kB / 480.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.183e-05/0.5372, allocations: 27.67 kB / 480.5 MB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009836/0.5382, allocations: 0.512 MB / 481 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.5382, allocations: 7.953 kB / 481.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.5382, allocations: 0 / 481.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.5383, allocations: 3.984 kB / 481.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001594/0.5399, allocations: 1.15 MB / 482.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.5399, allocations: 4.062 kB / 482.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003482/0.5402, allocations: 91.83 kB / 482.3 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002553/0.5405, allocations: 76.81 kB / 482.4 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.919e-05/0.5405, allocations: 12 kB / 482.4 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001501/0.542, allocations: 1.628 MB / 484 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.5421, allocations: 0 / 484 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.5432, allocations: 0.7863 MB / 484.8 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.289e-05/0.5433, allocations: 112.8 kB / 484.9 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.895e-05/0.5434, allocations: 12 kB / 484.9 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002409/0.5436, allocations: 23.98 kB / 484.9 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.824e-05/0.5437, allocations: 36.33 kB / 485 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.998e-05/0.5437, allocations: 23.92 kB / 485 MB, free: 10.39 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001389/0.5439, allocations: 140.3 kB / 485.1 MB, free: 10.25 MB / 362.7 MB Notification: Performance of sort global known variables: time 2e-07/0.5439, allocations: 4 kB / 485.1 MB, free: 10.25 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006045/0.5445, allocations: 163.5 kB / 485.3 MB, free: 10.09 MB / 362.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.0002892/0.5448, allocations: 167 kB / 485.5 MB, free: 9.914 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000924/0.5457, allocations: 0.5463 MB / 486 MB, free: 9.359 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.5458, allocations: 4 kB / 486 MB, free: 9.355 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005269/0.5463, allocations: 369.9 kB / 486.4 MB, free: 8.98 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002635/0.5466, allocations: 24.17 kB / 486.4 MB, free: 8.957 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002999/0.5496, allocations: 1.108 MB / 487.5 MB, free: 7.82 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003686/0.55, allocations: 0.8293 MB / 488.3 MB, free: 6.965 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000249/0.5502, allocations: 55.25 kB / 488.4 MB, free: 6.91 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.248e-05/0.5503, allocations: 31.44 kB / 488.4 MB, free: 6.879 MB / 362.7 MB Notification: Performance of SimCode: time 3.7e-07/0.5503, allocations: 0 / 488.4 MB, free: 6.879 MB / 362.7 MB Notification: Performance of Templates: time 0.008195/0.5585, allocations: 4.013 MB / 492.4 MB, free: 2.867 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