Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00102/0.00102, allocations: 197.2 kB / 18.1 MB, free: 3.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.286/1.286, allocations: 226.5 MB / 245.4 MB, free: 6.469 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007918/0.0007919, allocations: 102.6 kB / 297.5 MB, free: 6.664 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000268/0.000268, allocations: 4 kB / 358.1 MB, free: 10.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.208/0.2083, allocations: 51.29 MB / 409.4 MB, free: 27.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1287/0.3371, allocations: 83.31 MB / 492.7 MB, free: 8.168 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001985/0.3373, allocations: 79.95 kB / 492.8 MB, free: 8.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02566/0.363, allocations: 10.7 MB / 0.4917 GB, free: 13.29 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.363, allocations: 448 / 0.4917 GB, free: 13.29 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.884e-05/0.3631, allocations: 7.984 kB / 0.4917 GB, free: 13.29 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.00113/0.3642, allocations: 0.6785 MB / 0.4923 GB, free: 12.55 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.3642, allocations: 12.03 kB / 0.4923 GB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006007/0.3648, allocations: 104.4 kB / 0.4924 GB, free: 12.44 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003593/0.3652, allocations: 316.6 kB / 0.4927 GB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.749e-05/0.3652, allocations: 29.38 kB / 0.4928 GB, free: 12.06 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.768e-05/0.3653, allocations: 28.38 kB / 0.4928 GB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005459/0.3659, allocations: 361.8 kB / 0.4931 GB, free: 11.67 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.3659, allocations: 192 / 0.4931 GB, free: 11.67 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.266e-05/0.3659, allocations: 15.94 kB / 0.4932 GB, free: 11.65 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.3659, allocations: 8 kB / 0.4932 GB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004575/0.3664, allocations: 262.1 kB / 0.4934 GB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001857/0.3683, allocations: 1.339 MB / 0.4947 GB, free: 9.953 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003548/0.3686, allocations: 193.2 kB / 0.4949 GB, free: 9.746 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/0.3688, allocations: 93.62 kB / 0.495 GB, free: 9.648 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008663/0.3697, allocations: 1.2 MB / 0.4962 GB, free: 8.273 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.3697, allocations: 42.5 kB / 0.4962 GB, free: 8.223 MB / 378.7 MB Notification: Performance of pre-optimization done (n=17): time 1.373e-06/0.3697, allocations: 0 / 0.4962 GB, free: 8.223 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005066/0.3702, allocations: 226.2 kB / 0.4964 GB, free: 7.996 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.3703, allocations: 81.11 kB / 0.4965 GB, free: 7.898 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002637/0.3706, allocations: 290.9 kB / 0.4968 GB, free: 7.605 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.3706, allocations: 29.7 kB / 0.4968 GB, free: 7.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.3707, allocations: 231.5 kB / 0.497 GB, free: 7.34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.279e-05/0.3708, allocations: 67.09 kB / 0.4971 GB, free: 7.273 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.046e-05/0.3708, allocations: 4 kB / 0.4971 GB, free: 7.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.3709, allocations: 334.8 kB / 0.4974 GB, free: 6.934 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.371, allocations: 72.62 kB / 0.4975 GB, free: 6.859 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002142/0.3713, allocations: 204.8 kB / 0.4977 GB, free: 6.602 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000385/0.3717, allocations: 304.3 kB / 0.498 GB, free: 6.246 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.3717, allocations: 4 kB / 0.498 GB, free: 6.242 MB / 378.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005017/0.3722, allocations: 317.2 kB / 0.4983 GB, free: 5.926 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.3722, allocations: 4 kB / 0.4983 GB, free: 5.922 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.3722, allocations: 4 kB / 0.4983 GB, free: 5.918 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.3722, allocations: 8 kB / 0.4983 GB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002738/0.3725, allocations: 79.91 kB / 0.4984 GB, free: 5.832 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/0.3725, allocations: 16.08 kB / 0.4984 GB, free: 5.816 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002113/0.3728, allocations: 43.59 kB / 0.4984 GB, free: 5.773 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.3728, allocations: 12 kB / 0.4984 GB, free: 5.762 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001387/0.3729, allocations: 157.7 kB / 0.4986 GB, free: 5.598 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.27e-05/0.373, allocations: 27.7 kB / 0.4986 GB, free: 5.57 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.915e-05/0.3731, allocations: 25.75 kB / 0.4986 GB, free: 5.547 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3731, allocations: 0 / 0.4986 GB, free: 5.547 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.3731, allocations: 7.922 kB / 0.4987 GB, free: 5.539 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.3731, allocations: 8 kB / 0.4987 GB, free: 5.531 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006267/0.3737, allocations: 0.503 MB / 0.4991 GB, free: 4.969 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.3737, allocations: 3.984 kB / 0.4992 GB, free: 4.965 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002133/0.3739, allocations: 55.84 kB / 0.4992 GB, free: 4.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.458e-06/0.374, allocations: 12.28 kB / 0.4992 GB, free: 4.898 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.374, allocations: 0 / 0.4992 GB, free: 4.898 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.374, allocations: 8 kB / 0.4992 GB, free: 4.891 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.374, allocations: 0 / 0.4992 GB, free: 4.891 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005099/0.3745, allocations: 431.2 kB / 0.4996 GB, free: 4.449 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.502e-05/0.3746, allocations: 104.8 kB / 0.4997 GB, free: 4.328 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.431e-05/0.3746, allocations: 7.938 kB / 0.4997 GB, free: 4.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002021/0.3748, allocations: 19.98 kB / 0.4998 GB, free: 4.301 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.356e-05/0.3749, allocations: 12.05 kB / 0.4998 GB, free: 4.289 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.3749, allocations: 11.94 kB / 0.4998 GB, free: 4.277 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001679/0.3751, allocations: 194 kB / 0.5 GB, free: 4.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3751, allocations: 0 / 0.5 GB, free: 4.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004077/0.3755, allocations: 91.69 kB / 0.5001 GB, free: 4 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inductor_e.i,converter_m.Phi.re) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001669/0.3757, allocations: 123.2 kB / 0.5002 GB, free: 3.867 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003809/0.3761, allocations: 195.8 kB / 0.5004 GB, free: 3.676 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3761, allocations: 0 / 0.5004 GB, free: 3.676 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.3762, allocations: 72.97 kB / 0.5004 GB, free: 3.605 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000407/0.3766, allocations: 38.45 kB / 0.5005 GB, free: 3.566 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.3777, allocations: 0.8164 MB / 0.5013 GB, free: 2.723 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/0.3781, allocations: 0.7716 MB / 0.502 GB, free: 1.926 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001497/0.3782, allocations: 38.95 kB / 0.5021 GB, free: 1.887 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.082e-05/0.3783, allocations: 27.44 kB / 0.5021 GB, free: 1.859 MB / 378.7 MB Notification: Performance of SimCode: time 3.51e-07/0.3783, allocations: 0 / 0.5021 GB, free: 1.859 MB / 378.7 MB Notification: Performance of Templates: time 0.1485/0.5268, allocations: 2.237 MB / 0.5043 GB, free: 92.41 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches