Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001457/0.001457, allocations: 172.9 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.367/1.367, allocations: 205.2 MB / 219.8 MB, free: 14.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008929/0.0008928, allocations: 90.64 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.703e-05/2.714e-05, allocations: 4 kB / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.094/0.09404, allocations: 47.58 MB / 370 MB, free: 1.711 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3296/0.4237, allocations: 81.07 MB / 451.1 MB, free: 12.29 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002325/0.424, allocations: 81.7 kB / 451.2 MB, free: 12.24 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02548/0.4495, allocations: 9.961 MB / 461.1 MB, free: 3.672 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4495, allocations: 0 / 461.1 MB, free: 3.672 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.831e-05/0.4496, allocations: 8 kB / 461.1 MB, free: 3.664 MB / 330.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.001087/0.4507, allocations: 0.6317 MB / 461.8 MB, free: 2.988 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.4507, allocations: 12.03 kB / 461.8 MB, free: 2.977 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004518/0.4512, allocations: 87.47 kB / 461.9 MB, free: 2.891 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004212/0.4516, allocations: 307 kB / 462.2 MB, free: 2.547 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/0.4516, allocations: 24.78 kB / 462.2 MB, free: 2.523 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.782e-05/0.4517, allocations: 35.94 kB / 462.2 MB, free: 2.488 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005324/0.4523, allocations: 334.6 kB / 462.6 MB, free: 2.148 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.4523, allocations: 0 / 462.6 MB, free: 2.148 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.467e-05/0.4523, allocations: 12 kB / 462.6 MB, free: 2.137 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.4523, allocations: 8 kB / 462.6 MB, free: 2.129 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003868/0.4527, allocations: 222.2 kB / 462.8 MB, free: 1.91 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00196/0.4547, allocations: 1.384 MB / 464.2 MB, free: 436 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002884/0.455, allocations: 166.3 kB / 464.3 MB, free: 252 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.4551, allocations: 73.72 kB / 464.4 MB, free: 172 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007685/0.4559, allocations: 0.8828 MB / 465.3 MB, free: 15.18 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.4559, allocations: 30.56 kB / 465.3 MB, free: 15.14 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.312e-06/0.4559, allocations: 0 / 465.3 MB, free: 15.14 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003022/0.4563, allocations: 141.3 kB / 465.5 MB, free: 15 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/0.4563, allocations: 85.11 kB / 465.5 MB, free: 14.9 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000261/0.4566, allocations: 251.3 kB / 465.8 MB, free: 14.64 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.889e-05/0.4566, allocations: 25.7 kB / 465.8 MB, free: 14.61 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.4568, allocations: 247.1 kB / 466.1 MB, free: 14.36 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.361e-05/0.4568, allocations: 43.36 kB / 466.1 MB, free: 14.32 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.291e-05/0.4568, allocations: 8 kB / 466.1 MB, free: 14.31 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.4569, allocations: 331.2 kB / 466.4 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.053e-05/0.457, allocations: 56 kB / 466.5 MB, free: 13.93 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001674/0.4572, allocations: 181.1 kB / 466.7 MB, free: 13.69 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.4574, allocations: 79.91 kB / 466.7 MB, free: 13.61 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.4574, allocations: 3.938 kB / 466.7 MB, free: 13.61 MB / 346.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003815/0.4578, allocations: 276.8 kB / 467 MB, free: 13.33 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.4578, allocations: 8 kB / 467 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.4578, allocations: 4.562 kB / 467 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.308e-05/0.4578, allocations: 11.95 kB / 467 MB, free: 13.3 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002637/0.4581, allocations: 75.91 kB / 467.1 MB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.782e-05/0.4581, allocations: 11.94 kB / 467.1 MB, free: 13.22 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001853/0.4583, allocations: 35.67 kB / 467.2 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.276e-05/0.4583, allocations: 16 kB / 467.2 MB, free: 13.17 MB / 346.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.685e-05/0.4584, allocations: 120.9 kB / 467.3 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.174e-05/0.4585, allocations: 27.72 kB / 467.3 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.776e-05/0.4586, allocations: 25.86 kB / 467.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.4586, allocations: 7.953 kB / 467.4 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.83e-06/0.4586, allocations: 0 / 467.4 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.4586, allocations: 0 / 467.4 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005986/0.4592, allocations: 0.4914 MB / 467.8 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.4592, allocations: 4 kB / 467.8 MB, free: 12.42 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001984/0.4594, allocations: 51.94 kB / 467.9 MB, free: 12.37 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.4594, allocations: 3.953 kB / 467.9 MB, free: 12.37 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.4595, allocations: 4 kB / 467.9 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.4595, allocations: 0 / 467.9 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4595, allocations: 0 / 467.9 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004/0.4599, allocations: 391.8 kB / 468.3 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.567e-05/0.46, allocations: 96.86 kB / 468.4 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.429e-05/0.46, allocations: 4 kB / 468.4 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001984/0.4602, allocations: 15.98 kB / 468.4 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.199e-05/0.4603, allocations: 7.984 kB / 468.4 MB, free: 11.81 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.4603, allocations: 8 kB / 468.4 MB, free: 11.8 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002046/0.4605, allocations: 195.2 kB / 468.6 MB, free: 11.61 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4605, allocations: 0 / 468.6 MB, free: 11.61 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003883/0.4609, allocations: 87.67 kB / 468.7 MB, free: 11.53 MB / 346.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.0001904/0.4611, allocations: 127.8 kB / 468.8 MB, free: 11.39 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002507/0.4614, allocations: 147.7 kB / 469 MB, free: 11.25 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.4614, allocations: 1.125 kB / 469 MB, free: 11.25 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.708e-05/0.4615, allocations: 51.92 kB / 469 MB, free: 11.2 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/0.4617, allocations: 31.47 kB / 469 MB, free: 11.17 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008036/0.4625, allocations: 468.8 kB / 469.5 MB, free: 10.68 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/0.4629, allocations: 0.7794 MB / 470.3 MB, free: 9.871 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001367/0.463, allocations: 34.05 kB / 470.3 MB, free: 9.84 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.683e-05/0.4631, allocations: 23.38 kB / 470.3 MB, free: 9.82 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4631, allocations: 0 / 470.3 MB, free: 9.82 MB / 346.7 MB Notification: Performance of Templates: time 0.005948/0.469, allocations: 2.247 MB / 472.6 MB, free: 7.582 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches