Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.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.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001492/0.001493, allocations: 193.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.407/1.407, allocations: 225.6 MB / 234.8 MB, free: 3.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001005/0.001005, allocations: 99.39 kB / 286.7 MB, free: 5.297 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.373e-05/2.351e-05, allocations: 4 kB / 343.7 MB, free: 8.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1047, allocations: 51.47 MB / 395.2 MB, free: 4.703 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3802/0.4849, allocations: 82.95 MB / 478.1 MB, free: 9.988 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002443/0.4852, allocations: 86.05 kB / 478.2 MB, free: 9.957 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03338/0.5186, allocations: 16 MB / 494.2 MB, free: 13.36 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5186, allocations: 0 / 494.2 MB, free: 13.36 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.517e-05/0.5187, allocations: 8 kB / 494.2 MB, free: 13.36 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.001529/0.5202, allocations: 0.7479 MB / 495 MB, free: 12.62 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.5202, allocations: 8.031 kB / 495 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002275/0.5225, allocations: 363.9 kB / 495.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003543/0.5229, allocations: 303.7 kB / 495.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.5229, allocations: 16.86 kB / 495.6 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.012e-05/0.523, allocations: 32 kB / 495.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007752/0.5238, allocations: 0.5068 MB / 496.2 MB, free: 11.63 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006483/0.5245, allocations: 398.6 kB / 496.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.5245, allocations: 0 / 496.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.279e-05/0.5245, allocations: 0 / 496.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.523e-05/0.5246, allocations: 12 kB / 496.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002554/0.5271, allocations: 1.855 MB / 498.4 MB, free: 9.809 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00179/0.5289, allocations: 2.141 MB / 0.4888 GB, free: 7.461 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002234/0.5292, allocations: 186.5 kB / 0.489 GB, free: 7.344 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001484/0.5293, allocations: 166.6 kB / 0.4892 GB, free: 7.145 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.5293, allocations: 38.56 kB / 0.4892 GB, free: 7.102 MB / 362.7 MB Notification: Performance of pre-optimization done (n=47): time 1.883e-06/0.5294, allocations: 0 / 0.4892 GB, free: 7.102 MB / 362.7 MB Notification: Performance of matching and sorting (n=47): time 0.001382/0.5307, allocations: 0.5176 MB / 0.4897 GB, free: 6.688 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/0.5308, allocations: 59.84 kB / 0.4898 GB, free: 6.617 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.5309, allocations: 149.6 kB / 0.4899 GB, free: 6.484 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.153e-05/0.531, allocations: 25.7 kB / 0.4899 GB, free: 6.453 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.5311, allocations: 216.5 kB / 0.4902 GB, free: 6.258 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.5312, allocations: 162.5 kB / 0.4903 GB, free: 6.117 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.871e-05/0.5312, allocations: 0 / 0.4903 GB, free: 6.117 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.5313, allocations: 332.2 kB / 0.4906 GB, free: 5.793 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001746/0.5315, allocations: 121.4 kB / 0.4907 GB, free: 5.727 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002231/0.5318, allocations: 196.1 kB / 0.4909 GB, free: 5.566 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000897/0.5327, allocations: 304.6 kB / 0.4912 GB, free: 5.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.5327, allocations: 8 kB / 0.4912 GB, free: 5.332 MB / 362.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001381/0.5341, allocations: 0.593 MB / 0.4918 GB, free: 4.859 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.5341, allocations: 4 kB / 0.4918 GB, free: 4.855 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.021e-05/0.5342, allocations: 4 kB / 0.4918 GB, free: 4.852 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003205/0.5345, allocations: 91.91 kB / 0.4919 GB, free: 4.777 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003618/0.5349, allocations: 91.83 kB / 0.492 GB, free: 4.688 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001677/0.5365, allocations: 1.786 MB / 0.4937 GB, free: 3.027 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002485/0.5368, allocations: 27.69 kB / 0.4938 GB, free: 3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.455e-05/0.5368, allocations: 18.86 kB / 0.4938 GB, free: 2.984 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * 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%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001154/0.537, allocations: 116.1 kB / 0.4939 GB, free: 2.867 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.238e-05/0.537, allocations: 23.72 kB / 0.4939 GB, free: 2.844 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001492/0.5385, allocations: 0.5927 MB / 0.4945 GB, free: 2.273 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.922e-06/0.5385, allocations: 8 kB / 0.4945 GB, free: 2.266 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.5386, allocations: 4 kB / 0.4945 GB, free: 2.262 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.5386, allocations: 3.984 kB / 0.4945 GB, free: 2.258 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002003/0.5406, allocations: 1.101 MB / 0.4956 GB, free: 1.113 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.5406, allocations: 3.938 kB / 0.4956 GB, free: 1.109 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003304/0.5409, allocations: 79.89 kB / 0.4957 GB, free: 1.031 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000257/0.5412, allocations: 80.19 kB / 0.4957 GB, free: 0.9531 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.629e-05/0.5412, allocations: 4 kB / 0.4957 GB, free: 0.9492 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00176/0.543, allocations: 1.761 MB / 0.4975 GB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.543, allocations: 0 / 0.4975 GB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001612/0.5446, allocations: 0.831 MB / 0.4983 GB, free: 14.22 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.565e-05/0.5447, allocations: 108.7 kB / 0.4984 GB, free: 14.1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.809e-05/0.5448, allocations: 8 kB / 0.4984 GB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000221/0.545, allocations: 11.98 kB / 0.4984 GB, free: 14.08 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.302e-05/0.5451, allocations: 32.39 kB / 0.4984 GB, free: 14.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.63e-05/0.5451, allocations: 12 kB / 0.4984 GB, free: 14.04 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.037e-05/0.5452, allocations: 128.1 kB / 0.4986 GB, free: 13.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5452, allocations: 3.938 kB / 0.4986 GB, free: 13.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005918/0.5458, allocations: 151.5 kB / 0.4987 GB, free: 13.76 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (capacitor.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 41 * 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%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002542/0.5461, allocations: 139.2 kB / 0.4988 GB, free: 13.61 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008035/0.5469, allocations: 0.493 MB / 0.4993 GB, free: 13.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.5469, allocations: 448 / 0.4993 GB, free: 13.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004256/0.5473, allocations: 343.1 kB / 0.4996 GB, free: 12.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002373/0.5476, allocations: 17.83 kB / 0.4997 GB, free: 12.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009354/0.5485, allocations: 0.5367 MB / 0.5002 GB, free: 12.19 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.5489, allocations: 0.8166 MB / 0.501 GB, free: 11.35 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001982/0.5491, allocations: 43.27 kB / 0.501 GB, free: 11.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.195e-05/0.5492, allocations: 35.44 kB / 0.5011 GB, free: 11.27 MB / 378.7 MB Notification: Performance of SimCode: time 4.01e-07/0.5492, allocations: 0 / 0.5011 GB, free: 11.27 MB / 378.7 MB Notification: Performance of Templates: time 0.007382/0.5566, allocations: 3.577 MB / 0.5046 GB, free: 7.754 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches