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.001585/0.001585, allocations: 175.4 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 221.3 MB / 235.5 MB, free: 2.934 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.0008325/0.0008324, allocations: 98.06 kB / 286.5 MB, free: 228 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.163e-05/2.165e-05, allocations: 4 kB / 343.8 MB, free: 4.312 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08076/0.0808, allocations: 50.42 MB / 394.2 MB, free: 1.852 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.293/0.3738, allocations: 82.4 MB / 476.6 MB, free: 5.148 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002481/0.3741, allocations: 83.78 kB / 476.7 MB, free: 5.07 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02597/0.4001, allocations: 10.14 MB / 486.9 MB, free: 10.83 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.4002, allocations: 0 / 486.9 MB, free: 10.83 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.733e-05/0.4002, allocations: 8 kB / 486.9 MB, free: 10.82 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001091/0.4013, allocations: 0.6355 MB / 487.5 MB, free: 10.14 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.4013, allocations: 8.031 kB / 487.5 MB, free: 10.14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004753/0.4018, allocations: 91.47 kB / 487.6 MB, free: 10.05 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003998/0.4022, allocations: 299.1 kB / 487.9 MB, free: 9.711 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.468e-05/0.4023, allocations: 26.31 kB / 487.9 MB, free: 9.688 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.435e-05/0.4023, allocations: 36 kB / 488 MB, free: 9.652 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005339/0.4029, allocations: 330.5 kB / 488.3 MB, free: 9.316 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.4029, allocations: 4 kB / 488.3 MB, free: 9.312 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.388e-05/0.4029, allocations: 16 kB / 488.3 MB, free: 9.297 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.976e-06/0.4029, allocations: 8 kB / 488.3 MB, free: 9.289 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003858/0.4033, allocations: 222.2 kB / 488.5 MB, free: 9.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002052/0.4054, allocations: 1.377 MB / 489.9 MB, free: 7.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002764/0.4057, allocations: 169.2 kB / 490.1 MB, free: 7.406 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.4058, allocations: 73.72 kB / 490.1 MB, free: 7.328 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006844/0.4065, allocations: 0.883 MB / 491 MB, free: 6.344 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.4065, allocations: 38.56 kB / 491.1 MB, free: 6.297 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.4065, allocations: 3.938 kB / 491.1 MB, free: 6.293 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002704/0.4068, allocations: 129.3 kB / 491.2 MB, free: 6.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.4069, allocations: 77.11 kB / 491.3 MB, free: 6.066 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002341/0.4071, allocations: 255.3 kB / 491.5 MB, free: 5.812 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.4071, allocations: 33.7 kB / 491.5 MB, free: 5.773 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.4073, allocations: 239.1 kB / 491.8 MB, free: 5.531 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/0.4073, allocations: 51.34 kB / 491.8 MB, free: 5.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.011e-05/0.4073, allocations: 4 kB / 491.8 MB, free: 5.477 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.4074, allocations: 342.8 kB / 492.2 MB, free: 5.133 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.649e-05/0.4075, allocations: 44 kB / 492.2 MB, free: 5.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001562/0.4077, allocations: 185.8 kB / 492.4 MB, free: 4.848 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001257/0.4078, allocations: 75.91 kB / 492.5 MB, free: 4.773 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.4078, allocations: 4 kB / 492.5 MB, free: 4.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000385/0.4082, allocations: 264.9 kB / 492.7 MB, free: 4.504 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.4082, allocations: 11.98 kB / 492.7 MB, free: 4.492 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.4082, allocations: 4 kB / 492.7 MB, free: 4.488 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.4083, allocations: 8 kB / 492.8 MB, free: 4.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002645/0.4085, allocations: 72.47 kB / 492.8 MB, free: 4.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.4086, allocations: 11.94 kB / 492.8 MB, free: 4.398 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002003/0.4088, allocations: 39.67 kB / 492.9 MB, free: 4.359 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.158e-05/0.4088, allocations: 16 kB / 492.9 MB, free: 4.344 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 7.891e-05/0.4089, allocations: 124.8 kB / 493 MB, free: 4.215 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.24e-05/0.409, allocations: 23.72 kB / 493 MB, free: 4.191 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.95e-05/0.409, allocations: 29.86 kB / 493.1 MB, free: 4.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/0.409, allocations: 0 / 493.1 MB, free: 4.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.409, allocations: 4 kB / 493.1 MB, free: 4.156 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.409, allocations: 4.094 kB / 493.1 MB, free: 4.152 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005662/0.4096, allocations: 0.4952 MB / 493.6 MB, free: 3.598 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.4096, allocations: 8 kB / 493.6 MB, free: 3.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002077/0.4098, allocations: 39.91 kB / 493.6 MB, free: 3.551 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.4099, allocations: 4 kB / 493.6 MB, free: 3.547 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.4099, allocations: 4.031 kB / 493.6 MB, free: 3.543 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.4099, allocations: 4 kB / 493.6 MB, free: 3.539 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4099, allocations: 0 / 493.6 MB, free: 3.539 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000361/0.4103, allocations: 376.3 kB / 494 MB, free: 3.141 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.979e-05/0.4103, allocations: 108.8 kB / 494.1 MB, free: 3.016 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.229e-05/0.4104, allocations: 7.953 kB / 494.1 MB, free: 3.008 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002052/0.4106, allocations: 15.98 kB / 494.1 MB, free: 2.992 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.975e-05/0.4106, allocations: 15.92 kB / 494.1 MB, free: 2.977 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.4107, allocations: 4 kB / 494.1 MB, free: 2.973 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001704/0.4108, allocations: 191.1 kB / 494.3 MB, free: 2.789 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4108, allocations: 0 / 494.3 MB, free: 2.789 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003788/0.4112, allocations: 95.8 kB / 494.4 MB, free: 2.695 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.0001723/0.4114, allocations: 135.4 kB / 494.6 MB, free: 2.555 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002575/0.4117, allocations: 144.5 kB / 494.7 MB, free: 2.414 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4117, allocations: 0 / 494.7 MB, free: 2.414 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.906e-05/0.4118, allocations: 53.11 kB / 494.7 MB, free: 2.363 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002506/0.412, allocations: 21.98 kB / 494.8 MB, free: 2.34 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008065/0.4128, allocations: 460.8 kB / 495.2 MB, free: 1.859 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.4132, allocations: 0.7833 MB / 496 MB, free: 1.051 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001281/0.4133, allocations: 26.06 kB / 496 MB, free: 1.027 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.528e-05/0.4134, allocations: 23.44 kB / 496 MB, free: 1.004 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4134, allocations: 0 / 496 MB, free: 1.004 MB / 362.7 MB Notification: Performance of Templates: time 0.005225/0.4186, allocations: 2.255 MB / 498.3 MB, free: 14.77 MB / 378.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