Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.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.0008774/0.0008774, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008888/0.0008888, allocations: 170.3 kB / 23.95 MB, free: 0.6094 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.8784/0.8784, allocations: 177.1 MB / 204.3 MB, free: 5.75 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.2326/0.2326, allocations: 34.24 MB / 294.9 MB, free: 0.7227 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.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.525e-06/2.525e-06, allocations: 0 / 442.2 MB, free: 1.695 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.264e-05/2.517e-05, allocations: 2.281 kB / 442.2 MB, free: 1.691 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.1705/0.1705, allocations: 6.039 MB / 448.2 MB, free: 41.22 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002898/0.1734, allocations: 2.312 MB / 450.5 MB, free: 39.9 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004804/0.1739, allocations: 33.66 kB / 450.5 MB, free: 39.89 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001335/0.1753, allocations: 1.08 MB / 451.6 MB, free: 39.43 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001409/0.1767, allocations: 0.8828 MB / 452.5 MB, free: 39.02 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005159/0.1772, allocations: 331.1 kB / 452.8 MB, free: 38.87 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001292/0.1785, allocations: 1.906 MB / 454.7 MB, free: 38.09 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007836/0.1793, allocations: 1.093 MB / 455.8 MB, free: 37.59 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008004/0.1801, allocations: 1.046 MB / 456.9 MB, free: 37.16 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008345/0.1809, allocations: 0.9852 MB / 457.9 MB, free: 36.9 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001405/0.181, allocations: 132 kB / 458 MB, free: 36.89 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006964/0.1817, allocations: 0.6779 MB / 458.7 MB, free: 36.75 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004102/0.1821, allocations: 0.9824 MB / 459.6 MB, free: 36.34 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003327/0.1825, allocations: 0.5748 MB / 460.2 MB, free: 36.06 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002031/0.1845, allocations: 3.668 MB / 463.9 MB, free: 34.77 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1845, allocations: 0 / 463.9 MB, free: 34.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1845, allocations: 7.156 kB / 463.9 MB, free: 34.77 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.341e-05/0.1846, allocations: 0 / 463.9 MB, free: 34.77 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: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.0026/0.1872, allocations: 2.613 MB / 466.5 MB, free: 33.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.1872, allocations: 10.03 kB / 466.5 MB, free: 33.16 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002933/0.1875, allocations: 460.2 kB / 467 MB, free: 32.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002561/0.19, allocations: 1.613 MB / 468.6 MB, free: 32.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001176/0.1912, allocations: 1.027 MB / 469.6 MB, free: 32.1 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.287e-05/0.1913, allocations: 120.9 kB / 469.7 MB, free: 32.04 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001847/0.1915, allocations: 158.1 kB / 469.9 MB, free: 31.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004737/0.1962, allocations: 6.2 MB / 476.1 MB, free: 28.95 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.631e-05/0.1962, allocations: 24.34 kB / 476.1 MB, free: 28.94 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001328/0.1964, allocations: 76.86 kB / 476.2 MB, free: 28.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001341/0.1977, allocations: 1.445 MB / 477.6 MB, free: 28.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007075/0.2048, allocations: 5.382 MB / 483 MB, free: 27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01739/0.2222, allocations: 23.89 MB / 0.495 GB, free: 9.051 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003017/0.2252, allocations: 1.863 MB / 0.4968 GB, free: 8.477 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008124/0.226, allocations: 0.8769 MB / 0.4977 GB, free: 8.141 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001867/0.2262, allocations: 88.73 kB / 0.4978 GB, free: 8.129 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.2262, allocations: 52.2 kB / 0.4978 GB, free: 8.074 MB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 3.266e-06/0.2262, allocations: 0 / 0.4978 GB, free: 8.074 MB / 410.7 MB Notification: Performance of matching and sorting (n=106): time 0.01446/0.2407, allocations: 8.619 MB / 0.5062 GB, free: 3.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/0.2407, allocations: 144.9 kB / 0.5064 GB, free: 3.148 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002393/0.2431, allocations: 2.811 MB / 0.5091 GB, free: 348 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000121/0.2433, allocations: 33.7 kB / 0.5092 GB, free: 308 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000937/0.2442, allocations: 2.085 MB / 0.5112 GB, free: 14.19 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003413/0.2445, allocations: 448.6 kB / 0.5116 GB, free: 13.75 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007427/0.2453, allocations: 0.8539 MB / 0.5125 GB, free: 12.88 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.305e-05/0.2454, allocations: 309.1 kB / 0.5127 GB, free: 12.58 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001387/0.2467, allocations: 1.332 MB / 0.514 GB, free: 11.24 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002647/0.2494, allocations: 4.104 MB / 0.5181 GB, free: 5.73 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004743/0.2541, allocations: 5.946 MB / 0.5239 GB, free: 14.4 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.158e-05/0.2542, allocations: 28 kB / 0.5239 GB, free: 14.38 MB / 442.7 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.006483/0.2607, allocations: 5.497 MB / 0.5293 GB, free: 8.879 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.355e-05/0.2607, allocations: 48 kB / 0.5293 GB, free: 8.832 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.472e-05/0.2608, allocations: 105.2 kB / 0.5294 GB, free: 8.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007029/0.2615, allocations: 456.5 kB / 0.5298 GB, free: 8.281 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001652/0.2632, allocations: 0.9788 MB / 0.5308 GB, free: 7.301 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002833/0.266, allocations: 3.541 MB / 0.5343 GB, free: 3.652 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001712/0.2677, allocations: 231.7 kB / 0.5345 GB, free: 3.426 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002381/0.2679, allocations: 276 kB / 0.5347 GB, free: 3.156 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 450 * Number of states: 0 () * Number of discrete variables: 21 (rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (527): * Single equations (assignments): 523 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00153/0.2695, allocations: 1.361 MB / 0.5361 GB, free: 1.781 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003217/0.2698, allocations: 230.5 kB / 0.5363 GB, free: 1.555 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001618/0.2714, allocations: 1.323 MB / 0.5376 GB, free: 228 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.129e-05/0.2714, allocations: 13.69 kB / 0.5376 GB, free: 216 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.415e-06/0.2714, allocations: 4 kB / 0.5376 GB, free: 212 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.297e-06/0.2715, allocations: 3.984 kB / 0.5376 GB, free: 208 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004842/0.2763, allocations: 4.014 MB / 0.5415 GB, free: 12.13 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.2763, allocations: 7.938 kB / 0.5415 GB, free: 12.12 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003426/0.2766, allocations: 135.8 kB / 0.5417 GB, free: 11.99 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004654/0.2771, allocations: 322 kB / 0.542 GB, free: 11.68 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.661e-05/0.2772, allocations: 16 kB / 0.542 GB, free: 11.66 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002144/0.2793, allocations: 2.946 MB / 0.5449 GB, free: 8.605 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.2793, allocations: 3.984 kB / 0.5449 GB, free: 8.602 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002665/0.282, allocations: 3.08 MB / 0.5479 GB, free: 5.5 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004181/0.2824, allocations: 210.3 kB / 0.5481 GB, free: 5.293 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/0.2825, allocations: 16 kB / 0.5481 GB, free: 5.277 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000395/0.2829, allocations: 43.94 kB / 0.5481 GB, free: 5.234 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.283, allocations: 56.39 kB / 0.5482 GB, free: 5.18 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.652e-05/0.2831, allocations: 28 kB / 0.5482 GB, free: 5.152 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001639/0.2847, allocations: 1.625 MB / 0.5498 GB, free: 3.516 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2847, allocations: 0 / 0.5498 GB, free: 3.516 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001952/0.2866, allocations: 0.5937 MB / 0.5504 GB, free: 2.922 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.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 (77): * Single equations (assignments): 73 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002922/0.2896, allocations: 3.701 MB / 0.554 GB, free: 15.19 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003586/0.2932, allocations: 3.104 MB / 0.557 GB, free: 12.09 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.2932, allocations: 0 / 0.557 GB, free: 12.09 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008287/0.294, allocations: 0.7945 MB / 0.5578 GB, free: 11.29 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/0.2951, allocations: 205.6 kB / 0.558 GB, free: 11.09 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02999/0.3251, allocations: 28.19 MB / 0.5855 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001571/0.3266, allocations: 1.598 MB / 0.5871 GB, free: 9.523 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002081/0.3287, allocations: 1.387 MB / 0.5884 GB, free: 8.129 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001018/0.3297, allocations: 1.024 MB / 0.5894 GB, free: 7.105 MB / 0.4948 GB Notification: Performance of SimCode: time 1.633e-06/0.3297, allocations: 0 / 0.5894 GB, free: 7.105 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05474/0.3845, allocations: 38.3 MB / 0.6268 GB, free: 1.281 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.665/9.049, allocations: 0 / 0.6268 GB, free: 1.281 MB / 0.5261 GB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_PointMass.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.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: 11.108365071937442]