Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia") translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001609/0.001609, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001943/0.001943, allocations: 194 kB / 18.77 MB, free: 4.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.213/2.213, allocations: 222.9 MB / 242.5 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3237/0.3237, allocations: 44.18 MB / 336.8 MB, free: 3.004 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00242/0.00242, allocations: 65.27 kB / 408.4 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1652, allocations: 60.82 MB / 469.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.006489/0.1717, allocations: 3.095 MB / 472.3 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001635/0.1734, allocations: 410.5 kB / 472.7 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004318/0.1739, allocations: 11.94 kB / 472.7 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002415/0.1742, allocations: 51.61 kB / 472.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005962/0.1748, allocations: 138.8 kB / 472.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003987/0.1752, allocations: 91.92 kB / 473 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008085/0.176, allocations: 0.5169 MB / 473.5 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004043/0.1765, allocations: 136.8 kB / 473.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003443/0.1768, allocations: 187.2 kB / 473.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003406/0.1772, allocations: 211 kB / 474 MB, free: 10 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.521e-05/0.1773, allocations: 32 kB / 474 MB, free: 9.973 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.1774, allocations: 28 kB / 474.1 MB, free: 9.945 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.1775, allocations: 75.69 kB / 474.1 MB, free: 9.871 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003284/0.1778, allocations: 234.9 kB / 474.4 MB, free: 9.641 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005462/0.1784, allocations: 391.2 kB / 474.7 MB, free: 9.258 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.1784, allocations: 4 kB / 474.7 MB, free: 9.254 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1784, allocations: 0 / 474.7 MB, free: 9.254 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.1785, allocations: 0 / 474.7 MB, free: 9.254 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001498/0.18, allocations: 0.7136 MB / 475.5 MB, free: 8.488 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.791e-05/0.18, allocations: 12.03 kB / 475.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001376/0.1802, allocations: 52.38 kB / 475.5 MB, free: 8.426 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004728/0.1807, allocations: 291.5 kB / 475.8 MB, free: 8.102 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.754e-05/0.1807, allocations: 37.38 kB / 475.8 MB, free: 8.062 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001267/0.1809, allocations: 52.28 kB / 475.9 MB, free: 8.012 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/0.182, allocations: 462.6 kB / 476.3 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.051e-05/0.182, allocations: 12.08 kB / 476.4 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.094e-05/0.1821, allocations: 23.94 kB / 476.4 MB, free: 7.492 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.024e-05/0.1822, allocations: 12 kB / 476.4 MB, free: 7.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006774/0.1828, allocations: 263.6 kB / 476.6 MB, free: 7.223 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003382/0.1862, allocations: 1.703 MB / 478.4 MB, free: 5.438 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008153/0.1871, allocations: 419.3 kB / 478.8 MB, free: 4.945 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000309/0.1874, allocations: 159.7 kB / 478.9 MB, free: 4.762 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.474e-05/0.1875, allocations: 8.547 kB / 478.9 MB, free: 4.754 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.061e-05/0.1875, allocations: 46.5 kB / 479 MB, free: 4.699 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 4.418e-06/0.1876, allocations: 0 / 479 MB, free: 4.699 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.001228/0.1888, allocations: 356.9 kB / 479.3 MB, free: 4.344 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001679/0.189, allocations: 269.4 kB / 479.6 MB, free: 4.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004048/0.1894, allocations: 250.6 kB / 479.8 MB, free: 3.762 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.993e-05/0.1895, allocations: 37.7 kB / 479.9 MB, free: 3.719 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002207/0.1897, allocations: 239.6 kB / 480.1 MB, free: 3.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002011/0.1899, allocations: 189.4 kB / 480.3 MB, free: 3.293 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002089/0.1901, allocations: 110.6 kB / 480.4 MB, free: 3.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.1903, allocations: 346.8 kB / 480.7 MB, free: 2.832 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000319/0.1906, allocations: 118 kB / 480.8 MB, free: 2.719 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006055/0.1913, allocations: 417.6 kB / 481.3 MB, free: 2.172 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/0.1923, allocations: 0.5854 MB / 481.8 MB, free: 1.449 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.177e-06/0.1923, allocations: 4 kB / 481.8 MB, free: 1.445 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001425/0.1938, allocations: 0.5676 MB / 482.4 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.771e-05/0.1938, allocations: 8 kB / 482.4 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.356e-05/0.1939, allocations: 12 kB / 482.4 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.307e-05/0.1939, allocations: 16 kB / 482.4 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009313/0.1949, allocations: 179.7 kB / 482.6 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.442e-05/0.1949, allocations: 19.92 kB / 482.6 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005149/0.1954, allocations: 63.38 kB / 482.7 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.828e-05/0.1955, allocations: 32 kB / 482.7 MB, free: 0.5469 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (86): * Single equations (assignments): 86 * 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.0004094/0.1959, allocations: 189.7 kB / 482.9 MB, free: 360 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003022/0.1962, allocations: 39.56 kB / 483 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001168/0.1964, allocations: 41.7 kB / 483 MB, free: 280 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.507e-05/0.1964, allocations: 11.94 kB / 483 MB, free: 268 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.652e-05/0.1964, allocations: 4 kB / 483 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.153e-05/0.1964, allocations: 3.984 kB / 483 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001702/0.1981, allocations: 413.2 kB / 483.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.1982, allocations: 0 / 483.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000793/0.199, allocations: 123.9 kB / 483.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.338e-05/0.199, allocations: 7.938 kB / 483.5 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.633e-05/0.1991, allocations: 20 kB / 483.6 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.094e-05/0.1991, allocations: 11.88 kB / 483.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.1991, allocations: 0 / 483.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001236/0.2003, allocations: 1.079 MB / 484.7 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001492/0.2005, allocations: 120.6 kB / 484.8 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.975e-05/0.2006, allocations: 16 kB / 484.8 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005936/0.2012, allocations: 11.94 kB / 484.8 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.907e-05/0.2013, allocations: 35.91 kB / 484.8 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.333e-05/0.2013, allocations: 11.98 kB / 484.9 MB, free: 14.33 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002439/0.2016, allocations: 174 kB / 485 MB, free: 14.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2016, allocations: 0 / 485 MB, free: 14.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001453/0.2031, allocations: 131.8 kB / 485.2 MB, free: 14.03 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.w) * 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 (42): * Single equations (assignments): 42 * 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.0003548/0.2034, allocations: 112.3 kB / 485.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009704/0.2044, allocations: 349 kB / 485.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.2044, allocations: 0 / 485.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000273/0.2047, allocations: 125.6 kB / 485.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002249/0.207, allocations: 99.72 kB / 485.8 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005378/0.2124, allocations: 2.163 MB / 488 MB, free: 11.13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007098/0.2132, allocations: 0.8317 MB / 488.8 MB, free: 10.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000177/0.2134, allocations: 39.38 kB / 488.9 MB, free: 10.23 MB / 366.1 MB Notification: Performance of SimCode: time 1.553e-06/0.2134, allocations: 4 kB / 488.9 MB, free: 10.23 MB / 366.1 MB Notification: Performance of Templates: time 0.01304/0.2264, allocations: 5.005 MB / 493.9 MB, free: 5.234 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches