Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 176.2 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 221.5 MB / 230.3 MB, free: 7.551 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00086/0.00086, allocations: 90.05 kB / 281.2 MB, free: 5.316 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.307e-05/1.309e-05, allocations: 4 kB / 337 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09667/0.0967, allocations: 50.42 MB / 387.5 MB, free: 7.562 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.305/0.4017, allocations: 81.74 MB / 469.2 MB, free: 13.11 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002154/0.402, allocations: 75.95 kB / 469.3 MB, free: 13.04 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02402/0.426, allocations: 10.03 MB / 479.3 MB, free: 2.914 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.426, allocations: 0 / 479.3 MB, free: 2.914 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.76e-05/0.4261, allocations: 8 kB / 479.3 MB, free: 2.906 MB / 346.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.001059/0.4271, allocations: 0.6315 MB / 479.9 MB, free: 2.23 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.4272, allocations: 12.03 kB / 480 MB, free: 2.219 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004454/0.4276, allocations: 87.47 kB / 480 MB, free: 2.133 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004221/0.4281, allocations: 299.2 kB / 480.3 MB, free: 1.801 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.4281, allocations: 13.53 kB / 480.3 MB, free: 1.789 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.532e-05/0.4281, allocations: 24 kB / 480.4 MB, free: 1.766 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003816/0.4285, allocations: 209.5 kB / 480.6 MB, free: 1.559 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004681/0.429, allocations: 285 kB / 480.9 MB, free: 1.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.429, allocations: 0 / 480.9 MB, free: 1.27 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.795e-05/0.4291, allocations: 0 / 480.9 MB, free: 1.27 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.4291, allocations: 8 kB / 480.9 MB, free: 1.262 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001852/0.4309, allocations: 1.306 MB / 482.2 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002714/0.4312, allocations: 157.2 kB / 482.3 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.4313, allocations: 77.7 kB / 482.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007655/0.4321, allocations: 0.8673 MB / 483.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.4321, allocations: 30.56 kB / 483.3 MB, free: 14.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.272e-06/0.4322, allocations: 7.938 kB / 483.3 MB, free: 14.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002643/0.4324, allocations: 125.3 kB / 483.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/0.4325, allocations: 81.11 kB / 483.5 MB, free: 14.37 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002104/0.4327, allocations: 234.2 kB / 483.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.4327, allocations: 29.64 kB / 483.8 MB, free: 14.1 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.4328, allocations: 243.6 kB / 484 MB, free: 13.86 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.373e-05/0.4329, allocations: 47.36 kB / 484 MB, free: 13.81 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.816e-06/0.4329, allocations: 0 / 484 MB, free: 13.81 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.433, allocations: 334.8 kB / 484.4 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.686e-05/0.4331, allocations: 48 kB / 484.4 MB, free: 13.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001469/0.4333, allocations: 169.2 kB / 484.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.4334, allocations: 83.83 kB / 484.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.4334, allocations: 0 / 484.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003214/0.4337, allocations: 229 kB / 484.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.4337, allocations: 8 kB / 484.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.4338, allocations: 4 kB / 484.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.4338, allocations: 8 kB / 484.9 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002617/0.434, allocations: 84.39 kB / 485 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/0.4341, allocations: 8 kB / 485 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000168/0.4342, allocations: 27.69 kB / 485 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.948e-05/0.4343, allocations: 12 kB / 485 MB, free: 12.74 MB / 362.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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 8.735e-05/0.4344, allocations: 128.7 kB / 485.2 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.766e-05/0.4344, allocations: 23.72 kB / 485.2 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.494e-05/0.4345, allocations: 21.88 kB / 485.2 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.4345, allocations: 7.984 kB / 485.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.4345, allocations: 0 / 485.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.4345, allocations: 0 / 485.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005064/0.435, allocations: 443.7 kB / 485.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.435, allocations: 0 / 485.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001861/0.4352, allocations: 43.91 kB / 485.7 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.4352, allocations: 128 / 485.7 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.4353, allocations: 12.03 kB / 485.7 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.4353, allocations: 0 / 485.7 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.4353, allocations: 0 / 485.7 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003516/0.4356, allocations: 374.8 kB / 486.1 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.432e-05/0.4357, allocations: 108.8 kB / 486.2 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.624e-05/0.4358, allocations: 4 kB / 486.2 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001873/0.4359, allocations: 11.98 kB / 486.2 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.393e-05/0.436, allocations: 15.94 kB / 486.2 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.436, allocations: 4 kB / 486.2 MB, free: 11.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001482/0.4362, allocations: 178 kB / 486.4 MB, free: 11.29 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4362, allocations: 0 / 486.4 MB, free: 11.29 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003747/0.4366, allocations: 83.69 kB / 486.5 MB, free: 11.2 MB / 362.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.000161/0.4367, allocations: 121.5 kB / 486.6 MB, free: 11.08 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002164/0.4369, allocations: 135.8 kB / 486.7 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.437, allocations: 0 / 486.7 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.6e-05/0.437, allocations: 43.94 kB / 486.8 MB, free: 10.9 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002506/0.4373, allocations: 22.06 kB / 486.8 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008012/0.4381, allocations: 447.9 kB / 487.2 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/0.4384, allocations: 0.7794 MB / 488 MB, free: 9.602 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001255/0.4386, allocations: 30.06 kB / 488 MB, free: 9.574 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.8e-05/0.4386, allocations: 27.42 kB / 488.1 MB, free: 9.547 MB / 362.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4386, allocations: 0 / 488.1 MB, free: 9.547 MB / 362.7 MB Notification: Performance of Templates: time 0.004582/0.4432, allocations: 1.823 MB / 489.9 MB, free: 7.742 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches