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.0009429/0.0009431, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.168/1.168, allocations: 227.2 MB / 245 MB, free: 5.898 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008216/0.0008217, allocations: 100.4 kB / 297.3 MB, free: 5.961 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002092/0.0002094, allocations: 15.97 kB / 357.9 MB, free: 9.301 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.1768, allocations: 51.47 MB / 409.4 MB, free: 26.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08698/0.2638, allocations: 83.35 MB / 492.8 MB, free: 7.23 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002059/0.264, allocations: 83.95 kB / 492.8 MB, free: 7.148 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02594/0.29, allocations: 10.75 MB / 0.4918 GB, free: 12.3 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.29, allocations: 0 / 0.4918 GB, free: 12.3 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.109e-05/0.29, allocations: 8 kB / 0.4918 GB, free: 12.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.001217/0.2913, allocations: 0.6753 MB / 0.4925 GB, free: 11.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.2913, allocations: 12.02 kB / 0.4925 GB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006312/0.2919, allocations: 111.4 kB / 0.4926 GB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004231/0.2924, allocations: 311.4 kB / 0.4929 GB, free: 11.1 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.966e-05/0.2924, allocations: 25 kB / 0.4929 GB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.44e-05/0.2925, allocations: 32 kB / 0.4929 GB, free: 11.04 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005814/0.2931, allocations: 353.3 kB / 0.4933 GB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.2931, allocations: 3.938 kB / 0.4933 GB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.429e-05/0.2931, allocations: 20 kB / 0.4933 GB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.2932, allocations: 8 kB / 0.4933 GB, free: 10.65 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004751/0.2936, allocations: 250.1 kB / 0.4935 GB, free: 10.41 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001938/0.2956, allocations: 1.343 MB / 0.4949 GB, free: 8.965 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003488/0.2959, allocations: 197.1 kB / 0.495 GB, free: 8.754 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009124/0.2969, allocations: 1.2 MB / 0.4962 GB, free: 7.379 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.2969, allocations: 34.5 kB / 0.4962 GB, free: 7.336 MB / 378.7 MB Notification: Performance of pre-optimization done (n=17): time 1.283e-06/0.2969, allocations: 0 / 0.4962 GB, free: 7.336 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.000506/0.2974, allocations: 229.3 kB / 0.4965 GB, free: 7.105 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.2975, allocations: 81.09 kB / 0.4965 GB, free: 7.008 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002313/0.2977, allocations: 250.1 kB / 0.4968 GB, free: 6.762 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.2977, allocations: 33.64 kB / 0.4968 GB, free: 6.723 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.2979, allocations: 247.5 kB / 0.497 GB, free: 6.477 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.995e-05/0.2979, allocations: 59.11 kB / 0.4971 GB, free: 6.418 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.504e-05/0.2979, allocations: 8 kB / 0.4971 GB, free: 6.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.427e-05/0.298, allocations: 334.8 kB / 0.4974 GB, free: 6.074 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.2982, allocations: 72.61 kB / 0.4975 GB, free: 6 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002027/0.2984, allocations: 194.5 kB / 0.4977 GB, free: 5.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001876/0.2986, allocations: 107.7 kB / 0.4978 GB, free: 5.648 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.2986, allocations: 3.938 kB / 0.4978 GB, free: 5.645 MB / 378.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000492/0.2991, allocations: 321.3 kB / 0.4981 GB, free: 5.324 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.2991, allocations: 8 kB / 0.4981 GB, free: 5.316 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.2992, allocations: 8 kB / 0.4981 GB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.2992, allocations: 8 kB / 0.4981 GB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002777/0.2995, allocations: 83.83 kB / 0.4982 GB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.2995, allocations: 8 kB / 0.4982 GB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001964/0.2997, allocations: 43.62 kB / 0.4982 GB, free: 5.168 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.937e-05/0.2997, allocations: 12.25 kB / 0.4983 GB, free: 5.156 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.0001334/0.2998, allocations: 167.9 kB / 0.4984 GB, free: 4.984 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.073e-05/0.2999, allocations: 23.72 kB / 0.4984 GB, free: 4.961 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.236e-05/0.3, allocations: 29.73 kB / 0.4985 GB, free: 4.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.3, allocations: 0 / 0.4985 GB, free: 4.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3, allocations: 4 kB / 0.4985 GB, free: 4.926 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3, allocations: 4 kB / 0.4985 GB, free: 4.922 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006028/0.3006, allocations: 0.5147 MB / 0.499 GB, free: 4.348 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3006, allocations: 0 / 0.499 GB, free: 4.348 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002152/0.3008, allocations: 43.98 kB / 0.499 GB, free: 4.305 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.9e-06/0.3009, allocations: 4 kB / 0.499 GB, free: 4.301 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.3009, allocations: 3.984 kB / 0.499 GB, free: 4.297 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.3009, allocations: 4 kB / 0.499 GB, free: 4.293 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.3009, allocations: 3.953 kB / 0.499 GB, free: 4.289 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005034/0.3014, allocations: 458.5 kB / 0.4995 GB, free: 3.809 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.96e-05/0.3015, allocations: 108.8 kB / 0.4996 GB, free: 3.684 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.619e-05/0.3015, allocations: 0 / 0.4996 GB, free: 3.684 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002082/0.3017, allocations: 23.92 kB / 0.4996 GB, free: 3.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.876e-05/0.3018, allocations: 11.98 kB / 0.4996 GB, free: 3.648 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.3018, allocations: 7.984 kB / 0.4996 GB, free: 3.641 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001623/0.302, allocations: 198 kB / 0.4998 GB, free: 3.449 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.302, allocations: 0 / 0.4998 GB, free: 3.449 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003856/0.3024, allocations: 91.69 kB / 0.4999 GB, free: 3.359 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.0001623/0.3025, allocations: 139.6 kB / 0.5 GB, free: 3.219 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003524/0.3029, allocations: 192.7 kB / 0.5002 GB, free: 3.031 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3029, allocations: 0 / 0.5002 GB, free: 3.031 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.3031, allocations: 79.84 kB / 0.5003 GB, free: 2.953 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002419/0.3033, allocations: 31.97 kB / 0.5003 GB, free: 2.922 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.3043, allocations: 0.8169 MB / 0.5011 GB, free: 2.074 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002782/0.3046, allocations: 0.7794 MB / 0.5019 GB, free: 1.27 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001312/0.3048, allocations: 30.97 kB / 0.5019 GB, free: 1.242 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.504e-05/0.3048, allocations: 27.42 kB / 0.5019 GB, free: 1.215 MB / 378.7 MB Notification: Performance of SimCode: time 3.81e-07/0.3048, allocations: 4 kB / 0.5019 GB, free: 1.211 MB / 378.7 MB Notification: Performance of Templates: time 0.1507/0.4555, allocations: 2.219 MB / 0.5041 GB, free: 91.15 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/jenkins/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