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.001211/0.001211, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.284/1.284, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000999/0.000999, allocations: 107.3 kB / 296.7 MB, free: 6.504 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008748/0.0008749, allocations: 43.92 kB / 356.6 MB, free: 10.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.1857, allocations: 50.45 MB / 407.1 MB, free: 27.83 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.003146/0.1889, allocations: 3.313 MB / 410.4 MB, free: 24.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001404/0.1903, allocations: 1.379 MB / 411.8 MB, free: 23.13 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.1904, allocations: 8 kB / 411.8 MB, free: 23.12 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003126/0.1908, allocations: 119.4 kB / 411.9 MB, free: 23 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006495/0.1914, allocations: 390.3 kB / 412.3 MB, free: 22.62 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002554/0.1917, allocations: 161.3 kB / 412.4 MB, free: 22.46 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003717/0.1921, allocations: 436.2 kB / 412.8 MB, free: 22.04 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.1922, allocations: 128.7 kB / 413 MB, free: 21.91 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.1924, allocations: 167.2 kB / 413.1 MB, free: 21.75 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001733/0.1925, allocations: 203.1 kB / 413.3 MB, free: 21.55 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.879e-05/0.1926, allocations: 24 kB / 413.3 MB, free: 21.52 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002353/0.1928, allocations: 155.9 kB / 413.5 MB, free: 21.37 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.244e-05/0.1929, allocations: 75.67 kB / 413.6 MB, free: 21.3 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001086/0.193, allocations: 187 kB / 413.8 MB, free: 21.11 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003733/0.1934, allocations: 0.531 MB / 414.3 MB, free: 20.58 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1934, allocations: 0 / 414.3 MB, free: 20.58 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.1934, allocations: 4 kB / 414.3 MB, free: 20.58 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.1934, allocations: 0 / 414.3 MB, free: 20.58 MB / 298.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.001125/0.1945, allocations: 0.7371 MB / 415 MB, free: 19.79 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.85e-05/0.1946, allocations: 8.031 kB / 415 MB, free: 19.78 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006644/0.1952, allocations: 116.4 kB / 415.2 MB, free: 19.67 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002736/0.1955, allocations: 312.4 kB / 415.5 MB, free: 19.32 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.1956, allocations: 25.38 kB / 415.5 MB, free: 19.3 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.29e-05/0.1956, allocations: 36.38 kB / 415.5 MB, free: 19.27 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004472/0.1961, allocations: 357.6 kB / 415.9 MB, free: 18.91 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.1961, allocations: 0 / 415.9 MB, free: 18.91 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.784e-05/0.1961, allocations: 20 kB / 415.9 MB, free: 18.89 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.1961, allocations: 8 kB / 415.9 MB, free: 18.88 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003917/0.1965, allocations: 250 kB / 416.1 MB, free: 18.63 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001457/0.198, allocations: 1.311 MB / 417.4 MB, free: 17.22 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003025/0.1983, allocations: 205 kB / 417.6 MB, free: 17 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001296/0.1984, allocations: 81.69 kB / 417.7 MB, free: 16.91 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006119/0.1991, allocations: 1.196 MB / 418.9 MB, free: 15.54 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.377e-05/0.1991, allocations: 42.5 kB / 419 MB, free: 15.49 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.252e-06/0.1991, allocations: 0 / 419 MB, free: 15.49 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004413/0.1995, allocations: 213.4 kB / 419.2 MB, free: 15.28 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.974e-05/0.1996, allocations: 88.97 kB / 419.3 MB, free: 15.17 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/0.1998, allocations: 278.9 kB / 419.5 MB, free: 14.89 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.1998, allocations: 29.7 kB / 419.6 MB, free: 14.86 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.916e-05/0.1999, allocations: 247.5 kB / 419.8 MB, free: 14.61 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.744e-05/0.1999, allocations: 59.16 kB / 419.9 MB, free: 14.55 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.72e-05/0.2, allocations: 58.03 kB / 419.9 MB, free: 14.49 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.753e-05/0.2, allocations: 338.8 kB / 420.3 MB, free: 14.15 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.2002, allocations: 68.61 kB / 420.3 MB, free: 14.08 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001541/0.2003, allocations: 190.5 kB / 420.5 MB, free: 13.84 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002944/0.2006, allocations: 292.8 kB / 420.8 MB, free: 13.49 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.2006, allocations: 0 / 420.8 MB, free: 13.49 MB / 298.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004243/0.2011, allocations: 332.6 kB / 421.1 MB, free: 13.16 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.2011, allocations: 8 kB / 421.1 MB, free: 13.15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.2011, allocations: 7.938 kB / 421.1 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.2011, allocations: 7.938 kB / 421.1 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002401/0.2014, allocations: 84.33 kB / 421.2 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.2014, allocations: 8 kB / 421.2 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001717/0.2016, allocations: 43.62 kB / 421.3 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.2016, allocations: 16.19 kB / 421.3 MB, free: 12.99 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.691e-05/0.2017, allocations: 155.3 kB / 421.4 MB, free: 12.83 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.788e-05/0.2018, allocations: 27.7 kB / 421.5 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.743e-05/0.2018, allocations: 29.73 kB / 421.5 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.2018, allocations: 11.94 kB / 421.5 MB, free: 12.76 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.2018, allocations: 0 / 421.5 MB, free: 12.76 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.2018, allocations: 4 kB / 421.5 MB, free: 12.76 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004968/0.2023, allocations: 0.5069 MB / 422 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.2024, allocations: 0 / 422 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002295/0.2026, allocations: 47.91 kB / 422.1 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.2026, allocations: 7.938 kB / 422.1 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.2026, allocations: 0 / 422.1 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.2026, allocations: 4 kB / 422.1 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.2026, allocations: 8.016 kB / 422.1 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001633/0.2043, allocations: 1.759 MB / 423.8 MB, free: 10.22 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.948e-05/0.2043, allocations: 104.9 kB / 423.9 MB, free: 10.1 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.755e-05/0.2044, allocations: 8 kB / 424 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000197/0.2046, allocations: 15.98 kB / 424 MB, free: 10.08 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.111e-05/0.2046, allocations: 7.984 kB / 424 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.2046, allocations: 4 kB / 424 MB, free: 10.07 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001279/0.2048, allocations: 205.9 kB / 424.2 MB, free: 9.867 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2048, allocations: 0 / 424.2 MB, free: 9.867 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004562/0.2052, allocations: 111.7 kB / 424.3 MB, free: 9.758 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001085/0.2053, allocations: 119.4 kB / 424.4 MB, free: 9.633 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003093/0.2057, allocations: 187.9 kB / 424.6 MB, free: 9.449 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2057, allocations: 4 kB / 424.6 MB, free: 9.445 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.2058, allocations: 69.77 kB / 424.7 MB, free: 9.379 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004059/0.2062, allocations: 33.47 kB / 424.7 MB, free: 9.348 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009578/0.2072, allocations: 0.9488 MB / 425.6 MB, free: 8.352 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001486/0.2073, allocations: 0.7755 MB / 426.4 MB, free: 7.547 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001323/0.2075, allocations: 38.94 kB / 426.5 MB, free: 7.512 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.211e-05/0.2075, allocations: 27.44 kB / 426.5 MB, free: 7.484 MB / 298.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2075, allocations: 0 / 426.5 MB, free: 7.484 MB / 298.7 MB Notification: Performance of Templates: time 0.00459/0.2121, allocations: 2.4 MB / 428.9 MB, free: 5.109 MB / 298.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@2/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