Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001227/0.001227, allocations: 79.69 kB / 20.02 MB, free: 4.504 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.0008209/0.0008209, allocations: 166 kB / 23.32 MB, free: 1.203 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8061/0.8061, allocations: 158.6 MB / 185.1 MB, free: 3.02 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1302/0.1302, allocations: 32.36 MB / 269.7 MB, free: 14.92 MB / 266.7 MB " [Timeout remaining time 180] 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 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 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_3_2_3_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 407 MB, free: 2.145 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.638e-05/1.799e-05, allocations: 6.078 kB / 407 MB, free: 2.141 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.005541/0.005559, allocations: 6.071 MB / 413.1 MB, free: 12.04 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.002902/0.008461, allocations: 2.271 MB / 415.4 MB, free: 9.758 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004104/0.008871, allocations: 35.88 kB / 415.4 MB, free: 9.723 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001203/0.01007, allocations: 1.059 MB / 416.5 MB, free: 8.66 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001339/0.01141, allocations: 0.9056 MB / 417.4 MB, free: 7.75 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004683/0.01188, allocations: 315 kB / 417.7 MB, free: 7.441 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001537/0.01342, allocations: 1.942 MB / 419.6 MB, free: 5.492 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009676/0.01439, allocations: 1.107 MB / 420.7 MB, free: 4.363 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009587/0.01534, allocations: 1.056 MB / 421.8 MB, free: 3.305 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000789/0.01613, allocations: 0.9934 MB / 422.8 MB, free: 2.309 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001275/0.01626, allocations: 128 kB / 422.9 MB, free: 2.184 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006474/0.01691, allocations: 0.6629 MB / 423.6 MB, free: 1.52 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006279/0.01754, allocations: 1.005 MB / 424.6 MB, free: 0.5117 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003795/0.01792, allocations: 0.5877 MB / 425.2 MB, free: 15.92 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002223/0.02014, allocations: 3.698 MB / 428.9 MB, free: 12.21 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.02014, allocations: 0 / 428.9 MB, free: 12.21 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.02014, allocations: 0 / 428.9 MB, free: 12.21 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.747e-05/0.02018, allocations: 0 / 428.9 MB, free: 12.21 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.002876/0.02306, allocations: 2.62 MB / 431.5 MB, free: 9.547 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.02309, allocations: 11.97 kB / 431.5 MB, free: 9.535 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000321/0.02342, allocations: 466.3 kB / 432 MB, free: 9.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002658/0.02607, allocations: 1.621 MB / 433.6 MB, free: 7.445 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001192/0.02727, allocations: 1.026 MB / 434.6 MB, free: 6.391 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.74e-05/0.02732, allocations: 115.3 kB / 434.7 MB, free: 6.277 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001946/0.02752, allocations: 156.3 kB / 434.9 MB, free: 6.125 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005052/0.03257, allocations: 6.19 MB / 441.1 MB, free: 15.45 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.195e-05/0.03261, allocations: 39.69 kB / 441.1 MB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001358/0.03275, allocations: 83.88 kB / 441.2 MB, free: 15.33 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001261/0.03401, allocations: 1.437 MB / 442.6 MB, free: 13.89 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005357/0.03937, allocations: 5.377 MB / 448 MB, free: 8.508 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1693/0.2087, allocations: 23.9 MB / 471.9 MB, free: 92.66 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002427/0.2111, allocations: 1.841 MB / 473.7 MB, free: 92.55 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005945/0.2117, allocations: 0.8826 MB / 474.6 MB, free: 92.52 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001598/0.2119, allocations: 97.58 kB / 474.7 MB, free: 92.52 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.612e-05/0.2119, allocations: 41.59 kB / 474.8 MB, free: 92.48 MB / 442.7 MB Notification: Performance of pre-optimization done (n=96): time 2.795e-06/0.2119, allocations: 3.438 kB / 474.8 MB, free: 92.48 MB / 442.7 MB Notification: Performance of matching and sorting (n=106): time 0.01085/0.2227, allocations: 8.647 MB / 483.4 MB, free: 89.89 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.2228, allocations: 141.4 kB / 483.5 MB, free: 89.73 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001786/0.2246, allocations: 2.808 MB / 486.4 MB, free: 88.71 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.551e-05/0.2246, allocations: 41.08 kB / 486.4 MB, free: 88.67 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004726/0.2251, allocations: 2.089 MB / 488.5 MB, free: 87.12 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001682/0.2252, allocations: 450.3 kB / 488.9 MB, free: 86.8 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000499/0.2257, allocations: 0.8621 MB / 489.8 MB, free: 86.37 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 2.52e-05/0.2258, allocations: 305.1 kB / 490.1 MB, free: 86.07 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009586/0.2267, allocations: 1.33 MB / 491.4 MB, free: 85.65 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001559/0.2283, allocations: 4.105 MB / 495.5 MB, free: 81.5 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002903/0.2312, allocations: 5.94 MB / 0.4897 GB, free: 76.43 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-05/0.2312, allocations: 28.69 kB / 0.4897 GB, free: 76.43 MB / 442.7 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.004918/0.2361, allocations: 5.502 MB / 0.4951 GB, free: 74.32 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.703e-05/0.2362, allocations: 46.28 kB / 0.4952 GB, free: 74.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.105e-05/0.2362, allocations: 100.4 kB / 0.4952 GB, free: 74.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005703/0.2368, allocations: 464.2 kB / 0.4957 GB, free: 74.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00142/0.2382, allocations: 0.9701 MB / 0.4966 GB, free: 74.11 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002184/0.2404, allocations: 3.543 MB / 0.5001 GB, free: 71.87 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/0.2416, allocations: 230.4 kB / 0.5003 GB, free: 71.79 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002174/0.2419, allocations: 272.3 kB / 0.5006 GB, free: 71.75 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.00101/0.2429, allocations: 1.373 MB / 0.5019 GB, free: 71.07 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001618/0.243, allocations: 227.7 kB / 0.5021 GB, free: 70.94 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001237/0.2443, allocations: 1.325 MB / 0.5034 GB, free: 70.41 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.466e-05/0.2443, allocations: 17.94 kB / 0.5034 GB, free: 70.41 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.156e-06/0.2443, allocations: 2.719 kB / 0.5034 GB, free: 70.41 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.2443, allocations: 6.75 kB / 0.5035 GB, free: 70.41 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003534/0.2478, allocations: 4.005 MB / 0.5074 GB, free: 68.86 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.2478, allocations: 0 / 0.5074 GB, free: 68.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003007/0.2481, allocations: 141.9 kB / 0.5075 GB, free: 68.84 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000431/0.2486, allocations: 316.4 kB / 0.5078 GB, free: 68.76 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.758e-05/0.2486, allocations: 21.52 kB / 0.5078 GB, free: 68.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001689/0.2503, allocations: 2.937 MB / 0.5107 GB, free: 66.83 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2503, allocations: 4.812 kB / 0.5107 GB, free: 66.82 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002161/0.2525, allocations: 3.08 MB / 0.5137 GB, free: 65.44 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003213/0.2528, allocations: 351.6 kB / 0.514 GB, free: 65.25 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.2529, allocations: 12.45 kB / 0.514 GB, free: 65.24 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003698/0.2533, allocations: 50.02 kB / 0.5141 GB, free: 65.23 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.2534, allocations: 61.8 kB / 0.5142 GB, free: 65.21 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-05/0.2534, allocations: 35.52 kB / 0.5142 GB, free: 65.2 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001303/0.2547, allocations: 1.632 MB / 0.5158 GB, free: 64.62 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2547, allocations: 0 / 0.5158 GB, free: 64.62 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001615/0.2563, allocations: 0.5982 MB / 0.5164 GB, free: 64.54 MB / 442.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.002425/0.2587, allocations: 3.7 MB / 0.52 GB, free: 61.4 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002399/0.2611, allocations: 3.103 MB / 0.523 GB, free: 58.67 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2611, allocations: 0 / 0.523 GB, free: 58.67 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005567/0.2617, allocations: 0.8011 MB / 0.5238 GB, free: 57.96 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006996/0.2624, allocations: 220.5 kB / 0.524 GB, free: 57.77 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01665/0.2791, allocations: 28.21 MB / 0.5516 GB, free: 27.71 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009373/0.28, allocations: 1.6 MB / 0.5531 GB, free: 26.09 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00133/0.2813, allocations: 1.393 MB / 0.5545 GB, free: 24.7 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006129/0.2819, allocations: 1.02 MB / 0.5555 GB, free: 23.68 MB / 442.7 MB Notification: Performance of SimCode: time 1.172e-06/0.2819, allocations: 4 kB / 0.5555 GB, free: 23.67 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04272/0.3246, allocations: 38.35 MB / 0.5929 GB, free: 1.402 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.228/9.552, allocations: 0 / 0.5929 GB, free: 1.402 MB / 458.7 MB " [Timeout remaining time 650] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_MultiBody_Parts_PointMass.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.565276337787509]