Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009927/0.0009927, allocations: 202.2 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, allocations: 225.6 MB / 234.8 MB, free: 3.266 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008664/0.0008664, allocations: 101.8 kB / 286.7 MB, free: 5.266 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.71e-05/1.724e-05, allocations: 0 / 343.7 MB, free: 8.312 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1045, allocations: 51.48 MB / 395.2 MB, free: 4.793 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3689/0.4735, allocations: 82.96 MB / 478.1 MB, free: 9.965 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003704/0.474, allocations: 81.23 kB / 478.2 MB, free: 9.934 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03493/0.5089, allocations: 16.09 MB / 494.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.509, allocations: 0 / 494.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.527e-05/0.509, allocations: 8 kB / 494.3 MB, free: 13.32 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001708/0.5107, allocations: 0.7477 MB / 495.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.5108, allocations: 8.031 kB / 495.1 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002346/0.5131, allocations: 358 kB / 495.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003802/0.5135, allocations: 307.1 kB / 495.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.872e-05/0.5135, allocations: 16.86 kB / 495.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.761e-05/0.5137, allocations: 32 kB / 495.8 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008262/0.5145, allocations: 0.5151 MB / 496.3 MB, free: 11.6 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006656/0.5152, allocations: 407.4 kB / 496.7 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/0.5152, allocations: 4 kB / 496.7 MB, free: 11.31 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.973e-05/0.5152, allocations: 0 / 496.7 MB, free: 11.31 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/0.5153, allocations: 12 kB / 496.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00301/0.5183, allocations: 1.899 MB / 498.6 MB, free: 9.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002055/0.5204, allocations: 2.121 MB / 0.489 GB, free: 7.441 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003374/0.5207, allocations: 231.4 kB / 0.4892 GB, free: 7.289 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001576/0.5209, allocations: 178.1 kB / 0.4894 GB, free: 7.082 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.889e-05/0.5209, allocations: 46.5 kB / 0.4894 GB, free: 7.031 MB / 362.7 MB Notification: Performance of pre-optimization done (n=47): time 2.815e-06/0.521, allocations: 0 / 0.4894 GB, free: 7.031 MB / 362.7 MB Notification: Performance of matching and sorting (n=47): time 0.001506/0.5225, allocations: 0.5032 MB / 0.4899 GB, free: 6.633 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.5225, allocations: 63.8 kB / 0.49 GB, free: 6.559 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.5227, allocations: 145.2 kB / 0.4901 GB, free: 6.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.266e-05/0.5227, allocations: 25.7 kB / 0.4901 GB, free: 6.398 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.5229, allocations: 218.8 kB / 0.4903 GB, free: 6.199 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/0.523, allocations: 156.9 kB / 0.4905 GB, free: 6.062 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.926e-05/0.523, allocations: 0.9375 kB / 0.4905 GB, free: 6.062 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.5232, allocations: 333.1 kB / 0.4908 GB, free: 5.738 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/0.5234, allocations: 121.4 kB / 0.4909 GB, free: 5.672 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002303/0.5236, allocations: 212.4 kB / 0.4911 GB, free: 5.492 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009127/0.5245, allocations: 299.7 kB / 0.4914 GB, free: 5.266 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.5245, allocations: 4 kB / 0.4914 GB, free: 5.262 MB / 362.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001421/0.526, allocations: 0.5993 MB / 0.492 GB, free: 4.785 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.526, allocations: 8 kB / 0.492 GB, free: 4.777 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.526, allocations: 0 / 0.492 GB, free: 4.777 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003186/0.5263, allocations: 78.81 kB / 0.4921 GB, free: 4.715 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000386/0.5267, allocations: 103.1 kB / 0.4922 GB, free: 4.617 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001428/0.5282, allocations: 1.575 MB / 0.4937 GB, free: 3.109 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002767/0.5285, allocations: 39.64 kB / 0.4937 GB, free: 3.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.163e-05/0.5285, allocations: 19.5 kB / 0.4938 GB, free: 3.055 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * 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.0001155/0.5286, allocations: 112.8 kB / 0.4939 GB, free: 2.938 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.414e-05/0.5287, allocations: 23.72 kB / 0.4939 GB, free: 2.914 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001526/0.5302, allocations: 0.5973 MB / 0.4945 GB, free: 2.371 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.5302, allocations: 4 kB / 0.4945 GB, free: 2.367 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.5302, allocations: 4 kB / 0.4945 GB, free: 2.363 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.5303, allocations: 4 kB / 0.4945 GB, free: 2.359 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002067/0.5323, allocations: 1.148 MB / 0.4956 GB, free: 1.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/0.5323, allocations: 4 kB / 0.4956 GB, free: 1.156 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003397/0.5327, allocations: 79.89 kB / 0.4957 GB, free: 1.078 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002507/0.533, allocations: 72.81 kB / 0.4958 GB, free: 1.004 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.474e-05/0.533, allocations: 4 kB / 0.4958 GB, free: 1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001443/0.5344, allocations: 1.559 MB / 0.4973 GB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/0.5345, allocations: 13.88 kB / 0.4973 GB, free: 15.31 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001644/0.5361, allocations: 0.8642 MB / 0.4981 GB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.838e-05/0.5362, allocations: 104.7 kB / 0.4982 GB, free: 14.29 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.609e-05/0.5362, allocations: 4 kB / 0.4982 GB, free: 14.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002264/0.5365, allocations: 11.98 kB / 0.4983 GB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.847e-05/0.5366, allocations: 36.33 kB / 0.4983 GB, free: 14.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.728e-05/0.5366, allocations: 16 kB / 0.4983 GB, free: 14.22 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001072/0.5367, allocations: 124.1 kB / 0.4984 GB, free: 14.1 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5367, allocations: 4.062 kB / 0.4984 GB, free: 14.1 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006034/0.5373, allocations: 139.5 kB / 0.4986 GB, free: 13.96 MB / 378.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 (44): * Single equations (assignments): 43 * 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.0003072/0.5376, allocations: 147 kB / 0.4987 GB, free: 13.81 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009078/0.5386, allocations: 0.5046 MB / 0.4992 GB, free: 13.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.5386, allocations: 0 / 0.4992 GB, free: 13.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004465/0.539, allocations: 343.9 kB / 0.4995 GB, free: 12.95 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.5393, allocations: 8.125 kB / 0.4995 GB, free: 12.95 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.5403, allocations: 0.5561 MB / 0.5001 GB, free: 12.37 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004006/0.5408, allocations: 0.8166 MB / 0.5009 GB, free: 11.53 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002096/0.541, allocations: 43.27 kB / 0.5009 GB, free: 11.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.614e-05/0.5411, allocations: 35.42 kB / 0.5009 GB, free: 11.45 MB / 378.7 MB Notification: Performance of SimCode: time 1.693e-06/0.5411, allocations: 4 kB / 0.501 GB, free: 11.45 MB / 378.7 MB Notification: Performance of Templates: time 0.007429/0.5485, allocations: 3.58 MB / 0.5044 GB, free: 7.926 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches