Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001625/0.001625, allocations: 188.5 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.058/2.058, allocations: 205.4 MB / 222.5 MB, free: 13.86 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.001144/0.001144, allocations: 118.7 kB / 270.9 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2827/0.2827, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007317/0.0007319, allocations: 23.98 kB / 431.4 MB, free: 20.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1595, allocations: 58.86 MB / 490.2 MB, free: 9.348 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.006324/0.1659, allocations: 2.411 MB / 492.6 MB, free: 6.922 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001824/0.1678, allocations: 446.7 kB / 493.1 MB, free: 6.484 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003793/0.1682, allocations: 11.94 kB / 493.1 MB, free: 6.473 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001916/0.1684, allocations: 47.61 kB / 493.1 MB, free: 6.426 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008131/0.1693, allocations: 179.5 kB / 493.3 MB, free: 6.25 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004314/0.1697, allocations: 63.94 kB / 493.4 MB, free: 6.188 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001168/0.1709, allocations: 399.1 kB / 493.8 MB, free: 5.797 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004768/0.1714, allocations: 121.1 kB / 493.9 MB, free: 5.664 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005029/0.172, allocations: 171.4 kB / 494 MB, free: 5.496 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005078/0.1725, allocations: 191.2 kB / 494.2 MB, free: 5.309 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000117/0.1726, allocations: 24 kB / 494.2 MB, free: 5.285 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001768/0.1728, allocations: 24 kB / 494.3 MB, free: 5.262 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001396/0.173, allocations: 79.67 kB / 494.3 MB, free: 5.184 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002334/0.1733, allocations: 117.5 kB / 494.5 MB, free: 5.062 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009143/0.1742, allocations: 375.1 kB / 494.8 MB, free: 4.695 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1742, allocations: 0 / 494.8 MB, free: 4.695 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.986e-06/0.1743, allocations: 0 / 494.8 MB, free: 4.695 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.501e-05/0.1743, allocations: 0 / 494.8 MB, free: 4.695 MB / 330.7 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.002017/0.1763, allocations: 0.6432 MB / 495.5 MB, free: 4.004 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.932e-05/0.1764, allocations: 12.03 kB / 495.5 MB, free: 3.992 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002338/0.1767, allocations: 51.39 kB / 495.5 MB, free: 3.941 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000738/0.1774, allocations: 286.2 kB / 495.8 MB, free: 3.621 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.643e-05/0.1776, allocations: 37 kB / 495.9 MB, free: 3.582 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001865/0.1778, allocations: 59.84 kB / 495.9 MB, free: 3.523 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/0.1793, allocations: 446.1 kB / 496.3 MB, free: 3.055 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.174e-05/0.1795, allocations: 19.84 kB / 496.4 MB, free: 3.035 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.893e-05/0.1796, allocations: 20 kB / 496.4 MB, free: 3.016 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.609e-05/0.1796, allocations: 12 kB / 496.4 MB, free: 3.004 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009694/0.1806, allocations: 255.3 kB / 496.6 MB, free: 2.758 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003585/0.1842, allocations: 1.703 MB / 498.3 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008268/0.1851, allocations: 423.6 kB / 498.8 MB, free: 488 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.787e-05/0.1851, allocations: 4 kB / 498.8 MB, free: 484 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.369e-05/0.1852, allocations: 46.5 kB / 498.8 MB, free: 428 kB / 330.7 MB Notification: Performance of pre-optimization done (n=42): time 3.967e-06/0.1852, allocations: 0 / 498.8 MB, free: 428 kB / 330.7 MB Notification: Performance of matching and sorting (n=42): time 0.001124/0.1863, allocations: 354.6 kB / 499.2 MB, free: 68 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000176/0.1865, allocations: 269 kB / 499.4 MB, free: 15.74 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003735/0.1869, allocations: 251.3 kB / 499.7 MB, free: 15.49 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.991e-05/0.187, allocations: 41.64 kB / 499.7 MB, free: 15.44 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002227/0.1872, allocations: 302 kB / 0.4883 GB, free: 15.14 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000201/0.1874, allocations: 185.4 kB / 0.4885 GB, free: 14.96 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.399e-05/0.1875, allocations: 16 kB / 0.4885 GB, free: 14.95 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.1876, allocations: 334.8 kB / 0.4888 GB, free: 14.61 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003507/0.188, allocations: 114 kB / 0.4889 GB, free: 14.5 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005866/0.1886, allocations: 409.6 kB / 0.4893 GB, free: 13.96 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004808/0.1891, allocations: 184 kB / 0.4895 GB, free: 13.78 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.035e-05/0.1891, allocations: 8 kB / 0.4895 GB, free: 13.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001349/0.1905, allocations: 0.5475 MB / 0.49 GB, free: 13.22 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.17e-05/0.1905, allocations: 8 kB / 0.49 GB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.616e-05/0.1906, allocations: 12.91 kB / 0.49 GB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.862e-05/0.1906, allocations: 16 kB / 0.49 GB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/0.1917, allocations: 183.7 kB / 0.4902 GB, free: 13 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.113e-05/0.1918, allocations: 23.86 kB / 0.4902 GB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004552/0.1923, allocations: 59.38 kB / 0.4903 GB, free: 12.92 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.08e-05/0.1924, allocations: 36 kB / 0.4903 GB, free: 12.89 MB / 346.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003142/0.1927, allocations: 181.6 kB / 0.4905 GB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002543/0.1929, allocations: 39.58 kB / 0.4905 GB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001199/0.1931, allocations: 41.7 kB / 0.4906 GB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.1931, allocations: 12 kB / 0.4906 GB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.375e-05/0.1931, allocations: 4 kB / 0.4906 GB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.1931, allocations: 3.984 kB / 0.4906 GB, free: 12.6 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001595/0.1947, allocations: 425.1 kB / 0.491 GB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/0.1948, allocations: 4 kB / 0.491 GB, free: 12.13 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001278/0.1961, allocations: 119.9 kB / 0.4911 GB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.801e-05/0.1961, allocations: 7.953 kB / 0.4911 GB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-05/0.1962, allocations: 15.94 kB / 0.4912 GB, free: 11.99 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.198e-06/0.1962, allocations: 4 kB / 0.4912 GB, free: 11.99 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/0.1962, allocations: 7.938 kB / 0.4912 GB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001361/0.1976, allocations: 1.17 MB / 0.4923 GB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/0.1978, allocations: 112.7 kB / 0.4924 GB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.238e-05/0.1978, allocations: 12 kB / 0.4924 GB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005995/0.1985, allocations: 12 kB / 0.4924 GB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.626e-05/0.1986, allocations: 31.92 kB / 0.4925 GB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.72e-05/0.1986, allocations: 15.98 kB / 0.4925 GB, free: 10.53 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002282/0.1988, allocations: 173.9 kB / 0.4926 GB, free: 10.36 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1989, allocations: 0 / 0.4926 GB, free: 10.36 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001222/0.2001, allocations: 135.7 kB / 0.4928 GB, free: 10.23 MB / 346.7 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 (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.0001837/0.2003, allocations: 118.9 kB / 0.4929 GB, free: 10.11 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009096/0.2012, allocations: 346 kB / 0.4932 GB, free: 9.77 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.71e-06/0.2012, allocations: 4 kB / 0.4932 GB, free: 9.766 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002907/0.2015, allocations: 128.2 kB / 0.4933 GB, free: 9.641 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001219/0.2028, allocations: 87.06 kB / 0.4934 GB, free: 9.562 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005107/0.2079, allocations: 2.454 MB / 0.4958 GB, free: 7.051 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005975/0.2085, allocations: 0.8355 MB / 0.4966 GB, free: 6.191 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/0.2087, allocations: 35.44 kB / 0.4967 GB, free: 6.156 MB / 346.7 MB Notification: Performance of SimCode: time 1.262e-06/0.2087, allocations: 4 kB / 0.4967 GB, free: 6.152 MB / 346.7 MB Notification: Performance of Templates: time 0.01222/0.221, allocations: 4.845 MB / 0.5014 GB, free: 1.312 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches