Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007951/0.0007951, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007928/0.0007928, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8984/0.8984, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2403/0.2403, allocations: 34.25 MB / 294.9 MB, free: 0.7109 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 442.2 MB, free: 1.664 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.845e-05/2.006e-05, allocations: 2.281 kB / 442.2 MB, free: 1.66 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.1767/0.1767, allocations: 2.811 MB / 445 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008911/0.1776, allocations: 419.3 kB / 445.4 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001796/0.1778, allocations: 12.78 kB / 445.4 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.065e-05/0.1779, allocations: 63.48 kB / 445.5 MB, free: 42.76 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002344/0.1781, allocations: 184.7 kB / 445.6 MB, free: 42.63 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001891/0.1783, allocations: 102.5 kB / 445.7 MB, free: 42.62 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002871/0.1786, allocations: 0.5595 MB / 446.3 MB, free: 42.44 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002064/0.1788, allocations: 108 kB / 446.4 MB, free: 42.42 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002179/0.179, allocations: 317.9 kB / 446.7 MB, free: 42.38 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00014/0.1791, allocations: 161.1 kB / 446.9 MB, free: 42.35 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.791e-05/0.1792, allocations: 40.16 kB / 446.9 MB, free: 42.35 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.357e-05/0.1792, allocations: 42.28 kB / 446.9 MB, free: 42.35 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.414e-05/0.1793, allocations: 94.12 kB / 447 MB, free: 42.29 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.808e-05/0.1794, allocations: 180 kB / 447.2 MB, free: 42.22 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003336/0.1797, allocations: 0.5268 MB / 447.7 MB, free: 42.03 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1797, allocations: 0.5 kB / 447.7 MB, free: 42.03 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.1797, allocations: 3.5 kB / 447.7 MB, free: 42.03 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.1797, allocations: 0 / 447.7 MB, free: 42.03 MB / 410.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.0006198/0.1803, allocations: 0.6486 MB / 448.4 MB, free: 41.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.1804, allocations: 8.688 kB / 448.4 MB, free: 41.54 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.271e-05/0.1804, allocations: 89.33 kB / 448.5 MB, free: 41.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.49e-05/0.1805, allocations: 49.91 kB / 448.5 MB, free: 41.45 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000222/0.1807, allocations: 229 kB / 448.8 MB, free: 41.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.1807, allocations: 33.41 kB / 448.8 MB, free: 41.24 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.79e-05/0.1808, allocations: 59.62 kB / 448.9 MB, free: 41.21 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003832/0.1812, allocations: 465.5 kB / 449.3 MB, free: 40.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.1812, allocations: 8.578 kB / 449.3 MB, free: 40.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.373e-05/0.1812, allocations: 22.12 kB / 449.3 MB, free: 40.94 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.357e-06/0.1812, allocations: 15.88 kB / 449.4 MB, free: 40.94 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002441/0.1815, allocations: 255.6 kB / 449.6 MB, free: 40.86 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001129/0.1826, allocations: 1.564 MB / 451.2 MB, free: 39.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002969/0.1829, allocations: 394.8 kB / 451.6 MB, free: 39.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.183, allocations: 151.6 kB / 451.7 MB, free: 39.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.183, allocations: 5.906 kB / 451.7 MB, free: 39.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.183, allocations: 47.64 kB / 451.8 MB, free: 39.19 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 2.064e-06/0.183, allocations: 0 / 451.8 MB, free: 39.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=42): time 0.0004372/0.1835, allocations: 357 kB / 452.1 MB, free: 39.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.1835, allocations: 266.9 kB / 452.4 MB, free: 38.72 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.1837, allocations: 273.5 kB / 452.6 MB, free: 38.56 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.1837, allocations: 32.3 kB / 452.7 MB, free: 38.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.403e-05/0.1837, allocations: 246 kB / 452.9 MB, free: 38.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.747e-05/0.1838, allocations: 186.7 kB / 453.1 MB, free: 38.17 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.602e-05/0.1839, allocations: 113.4 kB / 453.2 MB, free: 38.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.648e-05/0.1839, allocations: 351 kB / 453.5 MB, free: 37.78 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001147/0.1841, allocations: 118 kB / 453.7 MB, free: 37.74 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001782/0.1842, allocations: 418.4 kB / 454.1 MB, free: 37.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003462/0.1846, allocations: 0.575 MB / 454.6 MB, free: 36.79 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.1846, allocations: 6.906 kB / 454.6 MB, free: 36.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0004458/0.185, allocations: 0.5665 MB / 455.2 MB, free: 36.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.185, allocations: 11.84 kB / 455.2 MB, free: 36.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.1851, allocations: 8.906 kB / 455.2 MB, free: 36.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.1851, allocations: 19 kB / 455.2 MB, free: 36.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002797/0.1854, allocations: 178.8 kB / 455.4 MB, free: 36.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/0.1854, allocations: 22.09 kB / 455.4 MB, free: 36.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/0.1855, allocations: 70.45 kB / 455.5 MB, free: 36.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.003e-05/0.1855, allocations: 31.34 kB / 455.5 MB, free: 36.46 MB / 410.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.95e-05/0.1856, allocations: 185.8 kB / 455.7 MB, free: 36.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.951e-05/0.1857, allocations: 37.89 kB / 455.8 MB, free: 36.28 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.758e-05/0.1858, allocations: 44.2 kB / 455.8 MB, free: 36.25 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.1858, allocations: 5.562 kB / 455.8 MB, free: 36.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.1858, allocations: 6.625 kB / 455.8 MB, free: 36.24 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.1858, allocations: 9.781 kB / 455.8 MB, free: 36.24 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005704/0.1864, allocations: 360.6 kB / 456.2 MB, free: 36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1864, allocations: 2.656 kB / 456.2 MB, free: 36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002995/0.1867, allocations: 123.6 kB / 456.3 MB, free: 35.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.1867, allocations: 6.75 kB / 456.3 MB, free: 35.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/0.1867, allocations: 16.59 kB / 456.3 MB, free: 35.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.1867, allocations: 4.031 kB / 456.3 MB, free: 35.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.1867, allocations: 4.047 kB / 456.3 MB, free: 35.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004473/0.1871, allocations: 1.087 MB / 457.4 MB, free: 35.11 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.467e-05/0.1872, allocations: 39.09 kB / 457.5 MB, free: 35.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.822e-05/0.1872, allocations: 13.75 kB / 457.5 MB, free: 35.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002264/0.1874, allocations: 10.34 kB / 457.5 MB, free: 35.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.077e-05/0.1875, allocations: 32.41 kB / 457.5 MB, free: 35.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.1875, allocations: 14.62 kB / 457.5 MB, free: 35.06 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.501e-05/0.1876, allocations: 169.9 kB / 457.7 MB, free: 34.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1876, allocations: 0 / 457.7 MB, free: 34.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000514/0.1881, allocations: 135.3 kB / 457.8 MB, free: 34.93 MB / 410.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 (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.0005742/0.1886, allocations: 1.648 MB / 459.5 MB, free: 33.51 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003335/0.189, allocations: 330.9 kB / 459.8 MB, free: 33.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.189, allocations: 4.062 kB / 459.8 MB, free: 33.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.848e-05/0.1891, allocations: 122.3 kB / 459.9 MB, free: 33.37 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007337/0.1898, allocations: 95.75 kB / 460 MB, free: 33.34 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003128/0.1929, allocations: 5.096 MB / 465.1 MB, free: 29.37 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00015/0.1931, allocations: 232 kB / 465.3 MB, free: 29.27 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001261/0.1932, allocations: 51.23 kB / 465.4 MB, free: 29.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.1933, allocations: 139.2 kB / 465.5 MB, free: 29.15 MB / 410.7 MB Notification: Performance of SimCode: time 1.072e-06/0.1933, allocations: 2.969 kB / 465.5 MB, free: 29.15 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01963/0.213, allocations: 9.277 MB / 474.8 MB, free: 27.45 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.892/7.105, allocations: 0 / 474.8 MB, free: 27.45 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Rotational_InitializationConversion_Inertia_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Rotational_InitializationConversion_Inertia.fmu > ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.163302747532725]