Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001391/0.001396, allocations: 177.8 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.984/1.984, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001091/0.001091, allocations: 91.11 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 1.934e-05/1.947e-05, allocations: 4 kB / 314.8 MB, free: 9.152 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3274, allocations: 47.56 MB / 362.3 MB, free: 45.83 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1285/0.4559, allocations: 80.64 MB / 443 MB, free: 5.664 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/0.4563, allocations: 79.95 kB / 443.1 MB, free: 5.586 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.06523/0.5215, allocations: 16.04 MB / 459.1 MB, free: 5.43 MB / 347.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5216, allocations: 0 / 459.1 MB, free: 5.43 MB / 347.1 MB Notification: Performance of Transformations before backend: time 2.357e-05/0.5216, allocations: 9.031 kB / 459.1 MB, free: 5.422 MB / 347.1 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.002542/0.5242, allocations: 0.7605 MB / 459.9 MB, free: 4.617 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.5242, allocations: 8.031 kB / 459.9 MB, free: 4.609 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004415/0.5287, allocations: 427 kB / 460.3 MB, free: 4.191 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007124/0.5294, allocations: 318.4 kB / 460.6 MB, free: 3.84 MB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.574e-05/0.5295, allocations: 20 kB / 460.6 MB, free: 3.82 MB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/0.5296, allocations: 47.8 kB / 460.7 MB, free: 3.773 MB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001661/0.5313, allocations: 0.5727 MB / 461.2 MB, free: 3.199 MB / 347.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001244/0.5326, allocations: 443.9 kB / 461.7 MB, free: 2.758 MB / 347.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.293e-05/0.5326, allocations: 0 / 461.7 MB, free: 2.758 MB / 347.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.888e-05/0.5327, allocations: 0 / 461.7 MB, free: 2.758 MB / 347.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.896e-05/0.5328, allocations: 13.78 kB / 461.7 MB, free: 2.746 MB / 347.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005445/0.5382, allocations: 1.987 MB / 463.7 MB, free: 0.6484 MB / 347.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003787/0.5421, allocations: 2.968 MB / 466.6 MB, free: 13.12 MB / 363.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007041/0.5428, allocations: 230.8 kB / 466.9 MB, free: 12.89 MB / 363.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001599/0.543, allocations: 97.52 kB / 467 MB, free: 12.77 MB / 363.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.543, allocations: 35 kB / 467 MB, free: 12.73 MB / 363.1 MB Notification: Performance of pre-optimization done (n=49): time 3.196e-06/0.5431, allocations: 0 / 467 MB, free: 12.73 MB / 363.1 MB Notification: Performance of matching and sorting (n=49): time 0.00183/0.5449, allocations: 476.4 kB / 467.5 MB, free: 12.25 MB / 363.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.545, allocations: 55.84 kB / 467.5 MB, free: 12.19 MB / 363.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002383/0.5452, allocations: 157.5 kB / 467.7 MB, free: 12.03 MB / 363.1 MB Notification: Performance of collectPreVariables (initialization): time 5.713e-05/0.5453, allocations: 25.7 kB / 467.7 MB, free: 12 MB / 363.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002054/0.5455, allocations: 310.4 kB / 468 MB, free: 11.69 MB / 363.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001829/0.5457, allocations: 157.6 kB / 468.2 MB, free: 11.54 MB / 363.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.142e-05/0.5458, allocations: 4 kB / 468.2 MB, free: 11.53 MB / 363.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.5459, allocations: 330.8 kB / 468.5 MB, free: 11.2 MB / 363.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003456/0.5463, allocations: 129.1 kB / 468.6 MB, free: 11.07 MB / 363.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004519/0.5467, allocations: 255.6 kB / 468.9 MB, free: 10.78 MB / 363.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/0.5479, allocations: 264.5 kB / 469.1 MB, free: 10.52 MB / 363.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.224e-06/0.5479, allocations: 0 / 469.1 MB, free: 10.52 MB / 363.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002069/0.55, allocations: 0.5806 MB / 469.7 MB, free: 9.934 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.222e-05/0.55, allocations: 11.98 kB / 469.7 MB, free: 9.922 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-05/0.5501, allocations: 7.953 kB / 469.7 MB, free: 9.914 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000502/0.5506, allocations: 80.75 kB / 469.8 MB, free: 9.832 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008743/0.5515, allocations: 112 kB / 469.9 MB, free: 9.723 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00239/0.5539, allocations: 1.572 MB / 471.5 MB, free: 8.035 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005781/0.5545, allocations: 47.44 kB / 471.5 MB, free: 7.988 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.336e-05/0.5546, allocations: 27.98 kB / 471.5 MB, free: 7.961 MB / 363.1 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.0002052/0.5548, allocations: 120.8 kB / 471.7 MB, free: 7.836 MB / 363.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.5549, allocations: 31.78 kB / 471.7 MB, free: 7.805 MB / 363.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002013/0.557, allocations: 0.5395 MB / 472.2 MB, free: 7.254 MB / 363.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.298e-05/0.557, allocations: 4 kB / 472.2 MB, free: 7.25 MB / 363.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.557, allocations: 0 / 472.2 MB, free: 7.25 MB / 363.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.391e-05/0.557, allocations: 7.938 kB / 472.2 MB, free: 7.242 MB / 363.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003025/0.5601, allocations: 1.118 MB / 473.4 MB, free: 6.078 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.5601, allocations: 0 / 473.4 MB, free: 6.078 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006895/0.5608, allocations: 83.89 kB / 473.4 MB, free: 5.996 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004495/0.5613, allocations: 80.83 kB / 473.5 MB, free: 5.914 MB / 363.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.936e-05/0.5614, allocations: 0 / 473.5 MB, free: 5.914 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002275/0.5636, allocations: 1.56 MB / 475.1 MB, free: 4.238 MB / 363.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.344e-05/0.5637, allocations: 4.031 kB / 475.1 MB, free: 4.234 MB / 363.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002355/0.5661, allocations: 0.8214 MB / 475.9 MB, free: 3.375 MB / 363.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001373/0.5663, allocations: 116.6 kB / 476 MB, free: 3.242 MB / 363.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.867e-05/0.5663, allocations: 0 / 476 MB, free: 3.242 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004495/0.5668, allocations: 15.98 kB / 476 MB, free: 3.227 MB / 363.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/0.5669, allocations: 40.44 kB / 476.1 MB, free: 3.188 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.813e-05/0.567, allocations: 16 kB / 476.1 MB, free: 3.172 MB / 363.1 MB Notification: Performance of sorting global known variables: time 0.0001608/0.5672, allocations: 124.3 kB / 476.2 MB, free: 3.051 MB / 363.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5672, allocations: 1.031 kB / 476.2 MB, free: 3.051 MB / 363.1 MB Notification: Performance of remove unused functions: time 0.0008294/0.568, allocations: 147.5 kB / 476.4 MB, free: 2.906 MB / 363.1 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.0003308/0.5684, allocations: 139.1 kB / 476.5 MB, free: 2.762 MB / 363.1 MB Notification: Performance of simCode: created initialization part: time 0.001438/0.5698, allocations: 0.514 MB / 477 MB, free: 2.234 MB / 363.1 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.5699, allocations: 4.125 kB / 477 MB, free: 2.23 MB / 363.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008436/0.5707, allocations: 347.1 kB / 477.4 MB, free: 1.883 MB / 363.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000404/0.5712, allocations: 13.31 kB / 477.4 MB, free: 1.871 MB / 363.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004618/0.5758, allocations: 1.112 MB / 478.5 MB, free: 0.7188 MB / 363.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005271/0.5764, allocations: 0.8209 MB / 479.3 MB, free: 15.88 MB / 379.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002346/0.5766, allocations: 47.36 kB / 479.3 MB, free: 15.83 MB / 379.1 MB Notification: Performance of SimCode: time 9.72e-07/0.5766, allocations: 0 / 479.3 MB, free: 15.83 MB / 379.1 MB Notification: Performance of Templates: time 0.01491/0.5916, allocations: 6.357 MB / 485.7 MB, free: 9.504 MB / 379.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches