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.001013/0.001013, allocations: 187 kB / 17.92 MB, free: 3.855 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.127/1.127, allocations: 205.1 MB / 223.8 MB, free: 8.477 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.0009152/0.000915, allocations: 106.2 kB / 271.2 MB, free: 8.441 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007492/0.0007492, allocations: 43.94 kB / 327.2 MB, free: 328 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1822/0.183, allocations: 46.61 MB / 373.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.003482/0.1865, allocations: 3.276 MB / 377.1 MB, free: 43.25 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001455/0.188, allocations: 1.34 MB / 378.4 MB, free: 42.17 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001315/0.1881, allocations: 11.5 kB / 378.4 MB, free: 42.17 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003299/0.1885, allocations: 116.9 kB / 378.6 MB, free: 42.09 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006318/0.1891, allocations: 326.9 kB / 378.9 MB, free: 41.86 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003659/0.1895, allocations: 256.8 kB / 379.1 MB, free: 41.66 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004202/0.1899, allocations: 426.5 kB / 379.5 MB, free: 41.43 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001837/0.1901, allocations: 122.8 kB / 379.7 MB, free: 41.37 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001476/0.1903, allocations: 159.1 kB / 379.8 MB, free: 41.28 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002018/0.1905, allocations: 191.4 kB / 380 MB, free: 41.15 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.547e-05/0.1905, allocations: 25.12 kB / 380 MB, free: 41.15 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002487/0.1908, allocations: 142 kB / 380.2 MB, free: 41.1 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.442e-05/0.1908, allocations: 78.95 kB / 380.3 MB, free: 41.03 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001301/0.191, allocations: 186.9 kB / 380.4 MB, free: 40.91 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004305/0.1914, allocations: 0.5174 MB / 381 MB, free: 40.53 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1914, allocations: 5.094 kB / 381 MB, free: 40.53 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.1914, allocations: 0 / 381 MB, free: 40.53 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.1915, allocations: 0 / 381 MB, free: 40.53 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.001139/0.1926, allocations: 0.7413 MB / 381.7 MB, free: 39.9 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.1926, allocations: 9.562 kB / 381.7 MB, free: 39.9 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005289/0.1932, allocations: 96.25 kB / 381.8 MB, free: 39.86 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002774/0.1935, allocations: 312.1 kB / 382.1 MB, free: 39.55 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.1935, allocations: 26.62 kB / 382.1 MB, free: 39.54 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.704e-05/0.1935, allocations: 35.56 kB / 382.2 MB, free: 39.53 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004693/0.194, allocations: 356.4 kB / 382.5 MB, free: 39.3 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.194, allocations: 0 / 382.5 MB, free: 39.3 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.792e-05/0.1941, allocations: 15.38 kB / 382.5 MB, free: 39.29 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.1941, allocations: 8 kB / 382.5 MB, free: 39.29 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000412/0.1945, allocations: 249.5 kB / 382.8 MB, free: 39.18 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001526/0.196, allocations: 1.323 MB / 384.1 MB, free: 38.03 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003192/0.1964, allocations: 198.1 kB / 384.3 MB, free: 37.91 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000138/0.1965, allocations: 82.44 kB / 384.4 MB, free: 37.86 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005568/0.1971, allocations: 0.8721 MB / 385.3 MB, free: 36.95 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.1971, allocations: 33.06 kB / 385.3 MB, free: 36.91 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.633e-06/0.1971, allocations: 0 / 385.3 MB, free: 36.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004919/0.1976, allocations: 227 kB / 385.5 MB, free: 36.78 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.419e-05/0.1976, allocations: 82.52 kB / 385.6 MB, free: 36.68 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002343/0.1979, allocations: 286 kB / 385.9 MB, free: 36.49 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.1979, allocations: 31.11 kB / 385.9 MB, free: 36.46 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.168e-05/0.198, allocations: 239.7 kB / 386.1 MB, free: 36.24 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.309e-05/0.198, allocations: 60.12 kB / 386.2 MB, free: 36.19 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.78e-05/0.1981, allocations: 63.94 kB / 386.2 MB, free: 36.14 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.13e-05/0.1982, allocations: 341.2 kB / 386.6 MB, free: 35.8 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.1983, allocations: 64.62 kB / 386.6 MB, free: 35.78 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002068/0.1986, allocations: 200.1 kB / 386.8 MB, free: 35.57 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003623/0.1989, allocations: 294.5 kB / 387.1 MB, free: 35.31 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.1989, allocations: 6.094 kB / 387.1 MB, free: 35.3 MB / 298.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005086/0.1995, allocations: 308 kB / 387.4 MB, free: 35.14 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.1995, allocations: 7.375 kB / 387.4 MB, free: 35.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.1995, allocations: 4.312 kB / 387.4 MB, free: 35.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.1995, allocations: 6.406 kB / 387.5 MB, free: 35.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002676/0.1998, allocations: 92.86 kB / 387.5 MB, free: 35.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.1998, allocations: 6.594 kB / 387.6 MB, free: 35.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001733/0.2, allocations: 36.58 kB / 387.6 MB, free: 35.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.717e-05/0.2, allocations: 21.28 kB / 387.6 MB, free: 35.08 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 0.0001109/0.2002, allocations: 154.5 kB / 387.8 MB, free: 34.94 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.423e-05/0.2002, allocations: 32.66 kB / 387.8 MB, free: 34.92 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.445e-05/0.2003, allocations: 28.23 kB / 387.8 MB, free: 34.89 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.2003, allocations: 6.938 kB / 387.8 MB, free: 34.89 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.2003, allocations: 4 kB / 387.8 MB, free: 34.89 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.2003, allocations: 1.594 kB / 387.8 MB, free: 34.89 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005677/0.2009, allocations: 0.5109 MB / 388.3 MB, free: 34.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.2009, allocations: 0 / 388.3 MB, free: 34.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001926/0.2011, allocations: 44.23 kB / 388.4 MB, free: 34.36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.2011, allocations: 3.984 kB / 388.4 MB, free: 34.36 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.2011, allocations: 12.03 kB / 388.4 MB, free: 34.35 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.2011, allocations: 4 kB / 388.4 MB, free: 34.34 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.2012, allocations: 0 / 388.4 MB, free: 34.34 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001622/0.2028, allocations: 1.767 MB / 390.2 MB, free: 32.44 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.298e-05/0.2028, allocations: 108.8 kB / 390.3 MB, free: 32.31 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/0.2029, allocations: 0 / 390.3 MB, free: 32.31 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001857/0.2031, allocations: 12 kB / 390.3 MB, free: 32.3 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.226e-05/0.2031, allocations: 20 kB / 390.3 MB, free: 32.28 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.2031, allocations: 8 kB / 390.3 MB, free: 32.27 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001267/0.2033, allocations: 197.9 kB / 390.5 MB, free: 32.08 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2033, allocations: 64 / 390.5 MB, free: 32.08 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004443/0.2037, allocations: 107.8 kB / 390.6 MB, free: 31.97 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.0001237/0.2038, allocations: 111.2 kB / 390.7 MB, free: 31.86 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000325/0.2042, allocations: 190.5 kB / 390.9 MB, free: 31.67 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2042, allocations: 3.938 kB / 390.9 MB, free: 31.67 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.2043, allocations: 71.91 kB / 391 MB, free: 31.6 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003991/0.2047, allocations: 30.09 kB / 391 MB, free: 31.57 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.2058, allocations: 0.9406 MB / 392 MB, free: 30.58 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001959/0.206, allocations: 0.7758 MB / 392.7 MB, free: 29.78 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001321/0.2061, allocations: 38.89 kB / 392.8 MB, free: 29.75 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.48e-05/0.2062, allocations: 31.44 kB / 392.8 MB, free: 29.71 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2062, allocations: 0 / 392.8 MB, free: 29.71 MB / 298.7 MB Notification: Performance of Templates: time 0.004508/0.2107, allocations: 2.394 MB / 395.2 MB, free: 27.34 MB / 298.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@2/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