Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.002487/0.002487, allocations: 186.3 kB / 16.4 MB, free: 5.621 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.671/3.671, allocations: 205.4 MB / 222.5 MB, free: 13.59 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.001921/0.001921, allocations: 94.86 kB / 270.9 MB, free: 13.12 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006267/0.0006271, allocations: 8 kB / 327 MB, free: 15.04 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1615, allocations: 47.58 MB / 374.5 MB, free: 15.38 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.006698/0.1683, allocations: 2.61 MB / 377.1 MB, free: 12.75 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004922/0.1733, allocations: 1.224 MB / 378.4 MB, free: 11.52 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005799/0.174, allocations: 8 kB / 378.4 MB, free: 11.51 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007567/0.1748, allocations: 107.4 kB / 378.5 MB, free: 11.4 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002221/0.177, allocations: 330.9 kB / 378.8 MB, free: 11.08 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001335/0.1784, allocations: 195.5 kB / 379 MB, free: 10.89 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001555/0.18, allocations: 307.4 kB / 379.3 MB, free: 10.59 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005149/0.1806, allocations: 119.1 kB / 379.4 MB, free: 10.47 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005495/0.1812, allocations: 143.4 kB / 379.6 MB, free: 10.33 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005958/0.1818, allocations: 167.3 kB / 379.7 MB, free: 10.16 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001247/0.1819, allocations: 20 kB / 379.7 MB, free: 10.14 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007531/0.1827, allocations: 119.9 kB / 379.9 MB, free: 10.03 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001412/0.1829, allocations: 63.75 kB / 379.9 MB, free: 9.965 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002273/0.1831, allocations: 89.52 kB / 380 MB, free: 9.871 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001276/0.1844, allocations: 391.1 kB / 380.4 MB, free: 9.488 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1845, allocations: 0 / 380.4 MB, free: 9.488 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.314e-06/0.1845, allocations: 4 kB / 380.4 MB, free: 9.484 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.55e-05/0.1846, allocations: 7.938 kB / 380.4 MB, free: 9.477 MB / 282.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.003288/0.1879, allocations: 0.6862 MB / 381.1 MB, free: 8.738 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.357e-05/0.188, allocations: 8.031 kB / 381.1 MB, free: 8.73 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00174/0.1897, allocations: 99.41 kB / 381.2 MB, free: 8.633 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/0.1909, allocations: 299.3 kB / 381.5 MB, free: 8.301 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.727e-05/0.191, allocations: 32.95 kB / 381.5 MB, free: 8.27 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001378/0.1911, allocations: 32 kB / 381.5 MB, free: 8.238 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0015/0.1926, allocations: 353.3 kB / 381.9 MB, free: 7.883 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.98e-05/0.1927, allocations: 0 / 381.9 MB, free: 7.883 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.933e-05/0.1928, allocations: 12 kB / 381.9 MB, free: 7.871 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.503e-05/0.1929, allocations: 8 kB / 381.9 MB, free: 7.863 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001321/0.1942, allocations: 258.1 kB / 382.2 MB, free: 7.609 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005202/0.1994, allocations: 1.331 MB / 383.5 MB, free: 6.176 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/0.2006, allocations: 189.2 kB / 383.7 MB, free: 5.973 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002266/0.2029, allocations: 0.879 MB / 384.6 MB, free: 4.992 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.331e-05/0.203, allocations: 30.56 kB / 384.6 MB, free: 4.953 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 5.049e-06/0.2031, allocations: 0 / 384.6 MB, free: 4.953 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.001344/0.2044, allocations: 233.7 kB / 384.8 MB, free: 4.719 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/0.2046, allocations: 77.11 kB / 384.9 MB, free: 4.625 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006969/0.2053, allocations: 283 kB / 385.2 MB, free: 4.344 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.255e-05/0.2054, allocations: 33.7 kB / 385.2 MB, free: 4.305 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003252/0.2058, allocations: 297.9 kB / 385.5 MB, free: 4.012 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/0.2059, allocations: 59.11 kB / 385.5 MB, free: 3.953 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.392e-05/0.206, allocations: 8 kB / 385.6 MB, free: 3.945 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002024/0.2062, allocations: 326.8 kB / 385.9 MB, free: 3.617 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000514/0.2067, allocations: 72.61 kB / 385.9 MB, free: 3.543 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006063/0.2074, allocations: 202.3 kB / 386.1 MB, free: 3.285 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005767/0.208, allocations: 107.9 kB / 386.2 MB, free: 3.18 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.717e-06/0.208, allocations: 0 / 386.2 MB, free: 3.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001476/0.2095, allocations: 313 kB / 386.6 MB, free: 2.867 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.877e-05/0.2096, allocations: 4.562 kB / 386.6 MB, free: 2.863 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.36e-05/0.2097, allocations: 8 kB / 386.6 MB, free: 2.855 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.733e-05/0.2098, allocations: 11.98 kB / 386.6 MB, free: 2.844 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008747/0.2107, allocations: 84.14 kB / 386.7 MB, free: 2.762 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.346e-05/0.2108, allocations: 11.94 kB / 386.7 MB, free: 2.75 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006292/0.2114, allocations: 43.62 kB / 386.7 MB, free: 2.707 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.677e-05/0.2115, allocations: 20 kB / 386.7 MB, free: 2.688 MB / 282.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004273/0.212, allocations: 153.7 kB / 386.9 MB, free: 2.527 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002168/0.2122, allocations: 27.72 kB / 386.9 MB, free: 2.5 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001478/0.2123, allocations: 29.73 kB / 386.9 MB, free: 2.469 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.904e-06/0.2124, allocations: 0 / 386.9 MB, free: 2.469 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.275e-05/0.2124, allocations: 4 kB / 386.9 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.2124, allocations: 3.938 kB / 386.9 MB, free: 2.461 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002004/0.2144, allocations: 0.5185 MB / 387.5 MB, free: 1.883 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/0.2145, allocations: 0 / 387.5 MB, free: 1.883 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006015/0.2151, allocations: 43.92 kB / 387.5 MB, free: 1.84 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.022e-05/0.2152, allocations: 11.92 kB / 387.5 MB, free: 1.828 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.013e-05/0.2152, allocations: 4 kB / 387.5 MB, free: 1.824 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.03e-05/0.2153, allocations: 4 kB / 387.5 MB, free: 1.82 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.347e-06/0.2153, allocations: 3.953 kB / 387.5 MB, free: 1.816 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001595/0.2169, allocations: 454.6 kB / 388 MB, free: 1.34 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000238/0.2172, allocations: 100.8 kB / 388.1 MB, free: 1.223 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.2173, allocations: 7.984 kB / 388.1 MB, free: 1.215 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000632/0.218, allocations: 12 kB / 388.1 MB, free: 1.203 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001413/0.2181, allocations: 19.92 kB / 388.1 MB, free: 1.184 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.91e-05/0.2182, allocations: 7.984 kB / 388.1 MB, free: 1.176 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005285/0.2187, allocations: 198 kB / 388.3 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.02e-07/0.2188, allocations: 4 kB / 388.3 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001112/0.2199, allocations: 83.69 kB / 388.4 MB, free: 0.8984 MB / 282.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 (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.0002986/0.2202, allocations: 99.36 kB / 388.5 MB, free: 0.793 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001165/0.2214, allocations: 199.6 kB / 388.7 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.337e-06/0.2215, allocations: 1.125 kB / 388.7 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004484/0.222, allocations: 75.97 kB / 388.8 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007512/0.2227, allocations: 28.88 kB / 388.8 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4235/0.6463, allocations: 0.8329 MB / 389.6 MB, free: 20.19 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005269/0.6469, allocations: 0.7851 MB / 390.4 MB, free: 19.49 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002335/0.6471, allocations: 27.38 kB / 390.4 MB, free: 19.48 MB / 282.7 MB Notification: Performance of SimCode: time 1.874e-06/0.6472, allocations: 0 / 390.4 MB, free: 19.48 MB / 282.7 MB Notification: Performance of Templates: time 0.01815/0.6653, allocations: 3.349 MB / 393.8 MB, free: 19.31 MB / 282.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches