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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 90.34 kB / 16.3 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 186.9 kB / 17.2 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 223.2 MB / 241.1 MB, free: 5.434 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002556/0.0002558, allocations: 5.344 kB / 300.7 MB, free: 6.371 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08201/0.08228, allocations: 50.42 MB / 351.1 MB, free: 11.87 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.002926/0.08524, allocations: 2.643 MB / 353.8 MB, free: 9.215 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001836/0.08711, allocations: 1.2 MB / 355 MB, free: 8.008 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002181/0.08735, allocations: 8 kB / 355 MB, free: 8 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003284/0.08769, allocations: 111.3 kB / 355.1 MB, free: 7.891 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000879/0.08858, allocations: 390.8 kB / 355.5 MB, free: 7.508 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003172/0.08891, allocations: 123.7 kB / 355.6 MB, free: 7.387 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005152/0.08944, allocations: 315.3 kB / 355.9 MB, free: 7.078 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000192/0.08964, allocations: 107.4 kB / 356 MB, free: 6.969 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001716/0.08982, allocations: 139.5 kB / 356.1 MB, free: 6.832 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002256/0.09005, allocations: 163.3 kB / 356.3 MB, free: 6.672 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.146e-05/0.0901, allocations: 24 kB / 356.3 MB, free: 6.648 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002682/0.09038, allocations: 127.8 kB / 356.5 MB, free: 6.523 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.326e-05/0.09044, allocations: 59.75 kB / 356.5 MB, free: 6.465 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.876e-05/0.09051, allocations: 93.52 kB / 356.6 MB, free: 6.367 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003787/0.0909, allocations: 390.9 kB / 357 MB, free: 5.984 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.09091, allocations: 0 / 357 MB, free: 5.984 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.09092, allocations: 0 / 357 MB, free: 5.984 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.376e-06/0.09093, allocations: 0 / 357 MB, free: 5.984 MB / 286.1 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.001243/0.09218, allocations: 0.6901 MB / 357.7 MB, free: 5.242 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.09222, allocations: 8.031 kB / 357.7 MB, free: 5.234 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005818/0.0928, allocations: 103.4 kB / 357.8 MB, free: 5.133 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003538/0.09317, allocations: 291.4 kB / 358.1 MB, free: 4.805 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.0932, allocations: 29 kB / 358.1 MB, free: 4.777 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.183e-05/0.09326, allocations: 32 kB / 358.1 MB, free: 4.746 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005689/0.09383, allocations: 357.3 kB / 358.5 MB, free: 4.387 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.09386, allocations: 3.938 kB / 358.5 MB, free: 4.383 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.4e-05/0.0939, allocations: 19.98 kB / 358.5 MB, free: 4.363 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.09391, allocations: 11.95 kB / 358.5 MB, free: 4.352 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004707/0.09439, allocations: 250.1 kB / 358.8 MB, free: 4.109 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001917/0.09631, allocations: 1.335 MB / 360.1 MB, free: 2.672 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003525/0.09668, allocations: 201.1 kB / 360.3 MB, free: 2.457 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007589/0.09745, allocations: 0.8713 MB / 361.2 MB, free: 1.484 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.09749, allocations: 38.5 kB / 361.2 MB, free: 1.438 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 1.333e-06/0.09749, allocations: 0 / 361.2 MB, free: 1.438 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005228/0.09802, allocations: 229.4 kB / 361.4 MB, free: 1.207 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.09808, allocations: 81.05 kB / 361.5 MB, free: 1.109 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002679/0.09835, allocations: 287 kB / 361.8 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.09838, allocations: 29.7 kB / 361.8 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.09852, allocations: 235.4 kB / 362 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.223e-05/0.09857, allocations: 59.11 kB / 362.1 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.929e-05/0.09859, allocations: 12 kB / 362.1 MB, free: 496 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.09871, allocations: 338.8 kB / 362.4 MB, free: 148 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.09886, allocations: 68.62 kB / 362.5 MB, free: 76 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002271/0.0991, allocations: 206.4 kB / 362.7 MB, free: 15.81 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001985/0.09931, allocations: 99.92 kB / 362.8 MB, free: 15.71 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.09932, allocations: 0 / 362.8 MB, free: 15.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000517/0.09984, allocations: 327.8 kB / 363.1 MB, free: 15.39 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.09987, allocations: 11.98 kB / 363.1 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.09988, allocations: 4 kB / 363.1 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.09991, allocations: 8 kB / 363.1 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002891/0.1002, allocations: 88.34 kB / 363.2 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/0.1002, allocations: 7.984 kB / 363.2 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001969/0.1004, allocations: 39.59 kB / 363.3 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.166e-05/0.1005, allocations: 12 kB / 363.3 MB, free: 15.22 MB / 302.1 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.0001574/0.1006, allocations: 157.7 kB / 363.4 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.462e-05/0.1007, allocations: 31.67 kB / 363.5 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.328e-05/0.1008, allocations: 25.73 kB / 363.5 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.1008, allocations: 8 kB / 363.5 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.1008, allocations: 3.938 kB / 363.5 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.1008, allocations: 7.969 kB / 363.5 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007049/0.1015, allocations: 0.5108 MB / 364 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1015, allocations: 0 / 364 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002208/0.1017, allocations: 52 kB / 364.1 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.1018, allocations: 0 / 364.1 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.1018, allocations: 4 kB / 364.1 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.1018, allocations: 320 / 364.1 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1018, allocations: 0 / 364.1 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005392/0.1023, allocations: 466.5 kB / 364.5 MB, free: 13.87 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.801e-05/0.1024, allocations: 108.7 kB / 364.7 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.593e-05/0.1025, allocations: 4 kB / 364.7 MB, free: 13.74 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002048/0.1027, allocations: 24.05 kB / 364.7 MB, free: 13.72 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.638e-05/0.1027, allocations: 11.94 kB / 364.7 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.1027, allocations: 8 kB / 364.7 MB, free: 13.7 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001633/0.1029, allocations: 194 kB / 364.9 MB, free: 13.51 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1029, allocations: 0 / 364.9 MB, free: 13.51 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004098/0.1033, allocations: 79.78 kB / 365 MB, free: 13.43 MB / 302.1 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.0001394/0.1035, allocations: 123.2 kB / 365.1 MB, free: 13.3 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003673/0.1039, allocations: 195.6 kB / 365.3 MB, free: 13.11 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1039, allocations: 0 / 365.3 MB, free: 13.11 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001372/0.104, allocations: 77.03 kB / 365.4 MB, free: 13.03 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.1043, allocations: 32.83 kB / 365.4 MB, free: 13 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.1055, allocations: 0.802 MB / 366.2 MB, free: 12.17 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/0.1058, allocations: 0.7794 MB / 367 MB, free: 11.36 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001343/0.106, allocations: 38.95 kB / 367 MB, free: 11.32 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.951e-05/0.106, allocations: 27.42 kB / 367 MB, free: 11.29 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1061, allocations: 0 / 367 MB, free: 11.29 MB / 302.1 MB Notification: Performance of Templates: time 0.005012/0.1111, allocations: 2.113 MB / 369.1 MB, free: 9.203 MB / 302.1 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