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.001419/0.001419, allocations: 120.4 kB / 17.79 MB, free: 5.285 MB / 14.72 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.001676/0.001676, allocations: 199.3 kB / 20.74 MB, free: 2.344 MB / 14.72 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 1.508/1.508, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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.2464/0.2464, allocations: 46.91 MB / 357.1 MB, free: 10.33 MB / 286.1 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 0.003166/0.003166, allocations: 71.89 kB / 0.4909 GB, free: 7.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1531, allocations: 65.99 MB / 0.5554 GB, free: 5.867 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004483/0.1576, allocations: 3.086 MB / 0.5584 GB, free: 2.762 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008576/0.1584, allocations: 414.5 kB / 0.5588 GB, free: 2.355 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001654/0.1586, allocations: 11.94 kB / 0.5588 GB, free: 2.344 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001481/0.1588, allocations: 71.3 kB / 0.5589 GB, free: 2.273 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003352/0.1591, allocations: 170.5 kB / 0.559 GB, free: 2.105 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000256/0.1594, allocations: 99.88 kB / 0.5591 GB, free: 2.008 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005663/0.1599, allocations: 0.5442 MB / 0.5596 GB, free: 1.461 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002472/0.1602, allocations: 112.8 kB / 0.5598 GB, free: 1.348 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002623/0.1604, allocations: 211.4 kB / 0.56 GB, free: 1.141 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002883/0.1607, allocations: 215 kB / 0.5602 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.416e-05/0.1608, allocations: 40 kB / 0.5602 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.339e-05/0.1609, allocations: 40 kB / 0.5602 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.663e-05/0.161, allocations: 95.69 kB / 0.5603 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002484/0.1612, allocations: 254.8 kB / 0.5606 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006575/0.1619, allocations: 0.5174 MB / 0.5611 GB, free: 15.99 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.1619, allocations: 4 kB / 0.5611 GB, free: 15.98 MB / 430.1 MB Notification: Performance of FrontEnd: time 5.249e-06/0.1619, allocations: 3.984 kB / 0.5611 GB, free: 15.98 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.542e-05/0.1619, allocations: 0 / 0.5611 GB, free: 15.98 MB / 430.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.001189/0.1631, allocations: 0.7285 MB / 0.5618 GB, free: 15.2 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.1631, allocations: 12.03 kB / 0.5618 GB, free: 15.19 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001025/0.1632, allocations: 82.7 kB / 0.5619 GB, free: 15.1 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.1633, allocations: 56.61 kB / 0.5619 GB, free: 15.04 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003582/0.1637, allocations: 291.7 kB / 0.5622 GB, free: 14.72 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.702e-05/0.1637, allocations: 33.38 kB / 0.5622 GB, free: 14.69 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.74e-05/0.1638, allocations: 60.31 kB / 0.5623 GB, free: 14.63 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007335/0.1645, allocations: 454.7 kB / 0.5627 GB, free: 14.15 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.268e-05/0.1646, allocations: 15.83 kB / 0.5628 GB, free: 14.13 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.93e-05/0.1646, allocations: 20 kB / 0.5628 GB, free: 14.11 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/0.1646, allocations: 16 kB / 0.5628 GB, free: 14.1 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004398/0.1651, allocations: 259.7 kB / 0.563 GB, free: 13.84 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002373/0.1674, allocations: 1.688 MB / 0.5647 GB, free: 12.07 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000561/0.168, allocations: 411.4 kB / 0.5651 GB, free: 11.59 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002187/0.1682, allocations: 148.2 kB / 0.5652 GB, free: 11.42 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.893e-05/0.1683, allocations: 8 kB / 0.5652 GB, free: 11.41 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.165e-05/0.1683, allocations: 50.48 kB / 0.5653 GB, free: 11.35 MB / 430.1 MB Notification: Performance of pre-optimization done (n=42): time 2.444e-06/0.1683, allocations: 0 / 0.5653 GB, free: 11.35 MB / 430.1 MB Notification: Performance of matching and sorting (n=42): time 0.0008046/0.1691, allocations: 357.5 kB / 0.5656 GB, free: 11 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001601/0.1693, allocations: 273 kB / 0.5659 GB, free: 10.67 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002926/0.1696, allocations: 254.8 kB / 0.5661 GB, free: 10.41 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.479e-05/0.1696, allocations: 37.7 kB / 0.5662 GB, free: 10.37 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001843/0.1698, allocations: 248.2 kB / 0.5664 GB, free: 10.12 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001636/0.1699, allocations: 190.4 kB / 0.5666 GB, free: 9.93 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001522/0.1701, allocations: 110.6 kB / 0.5667 GB, free: 9.812 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.1703, allocations: 350.8 kB / 0.567 GB, free: 9.461 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002149/0.1705, allocations: 121.9 kB / 0.5671 GB, free: 9.344 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004608/0.1709, allocations: 413.6 kB / 0.5675 GB, free: 8.801 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007194/0.1717, allocations: 0.5732 MB / 0.5681 GB, free: 8.09 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.1717, allocations: 4 kB / 0.5681 GB, free: 8.086 MB / 430.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009393/0.1726, allocations: 0.5679 MB / 0.5686 GB, free: 7.512 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/0.1726, allocations: 8 kB / 0.5686 GB, free: 7.504 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/0.1727, allocations: 16.11 kB / 0.5687 GB, free: 7.488 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.437e-05/0.1727, allocations: 19.94 kB / 0.5687 GB, free: 7.469 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006071/0.1733, allocations: 176.3 kB / 0.5689 GB, free: 7.297 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.499e-05/0.1733, allocations: 19.92 kB / 0.5689 GB, free: 7.277 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002977/0.1736, allocations: 71.52 kB / 0.5689 GB, free: 7.207 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-05/0.1737, allocations: 32 kB / 0.569 GB, free: 7.176 MB / 430.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.000245/0.1739, allocations: 181.6 kB / 0.5691 GB, free: 6.988 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002074/0.1741, allocations: 43.75 kB / 0.5692 GB, free: 6.945 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.647e-05/0.1742, allocations: 41.7 kB / 0.5692 GB, free: 6.906 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.501e-05/0.1742, allocations: 11.94 kB / 0.5692 GB, free: 6.895 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.41e-05/0.1742, allocations: 4 kB / 0.5692 GB, free: 6.891 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.1742, allocations: 3.938 kB / 0.5692 GB, free: 6.887 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/0.1754, allocations: 417.2 kB / 0.5696 GB, free: 6.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.1754, allocations: 0 / 0.5696 GB, free: 6.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005637/0.1759, allocations: 123.9 kB / 0.5698 GB, free: 6.309 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.27e-05/0.1759, allocations: 7.984 kB / 0.5698 GB, free: 6.301 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.338e-05/0.176, allocations: 16 kB / 0.5698 GB, free: 6.285 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.979e-06/0.176, allocations: 11.92 kB / 0.5698 GB, free: 6.273 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.176, allocations: 3.938 kB / 0.5698 GB, free: 6.27 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009959/0.177, allocations: 1.086 MB / 0.5709 GB, free: 5.156 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.1771, allocations: 112.9 kB / 0.571 GB, free: 5.027 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.714e-05/0.1771, allocations: 15.94 kB / 0.571 GB, free: 5.012 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004179/0.1776, allocations: 12 kB / 0.571 GB, free: 5 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.13e-05/0.1776, allocations: 35.89 kB / 0.571 GB, free: 4.965 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/0.1776, allocations: 15.94 kB / 0.571 GB, free: 4.949 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001704/0.1778, allocations: 170 kB / 0.5712 GB, free: 4.785 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1778, allocations: 0 / 0.5712 GB, free: 4.785 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008842/0.1787, allocations: 139.7 kB / 0.5713 GB, free: 4.648 MB / 430.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.001394/0.1801, allocations: 1.635 MB / 0.5729 GB, free: 2.977 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006321/0.1807, allocations: 333 kB / 0.5733 GB, free: 2.652 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1807, allocations: 0 / 0.5733 GB, free: 2.652 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000175/0.1809, allocations: 124.7 kB / 0.5734 GB, free: 2.531 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001263/0.1822, allocations: 93.97 kB / 0.5735 GB, free: 2.445 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007126/0.1893, allocations: 5.621 MB / 0.5789 GB, free: 12.44 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005211/0.1898, allocations: 0.8275 MB / 0.5798 GB, free: 11.58 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001831/0.19, allocations: 44.17 kB / 0.5798 GB, free: 11.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001929/0.1902, allocations: 147.4 kB / 0.5799 GB, free: 11.39 MB / 446.1 MB Notification: Performance of SimCode: time 1.272e-06/0.1902, allocations: 0 / 0.5799 GB, free: 11.39 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03512/0.2253, allocations: 8.397 MB / 0.5881 GB, free: 3.148 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.057/9.282, allocations: 11.88 kB / 0.5882 GB, free: 3.145 MB / 446.1 MB " [Timeout remaining time 651] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins1/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: 12.828085751039907]