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.0007725/0.0007725, allocations: 80.48 kB / 19.92 MB, free: 4.633 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.0007745/0.0007745, allocations: 169.9 kB / 23.21 MB, free: 1.352 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.8325/0.8325, allocations: 158.6 MB / 185 MB, free: 3.043 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.133/0.133, allocations: 32.37 MB / 269.6 MB, free: 14.96 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 2.164e-06/2.164e-06, allocations: 0 / 406.8 MB, free: 2.254 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.671e-05/2.887e-05, allocations: 6.281 kB / 406.8 MB, free: 2.246 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.005236/0.005264, allocations: 6.075 MB / 412.9 MB, free: 12.14 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.003474/0.008739, allocations: 2.275 MB / 415.2 MB, free: 9.859 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005299/0.009269, allocations: 39.88 kB / 415.2 MB, free: 9.82 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001337/0.01061, allocations: 1.047 MB / 416.3 MB, free: 8.77 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001282/0.01189, allocations: 0.9017 MB / 417.2 MB, free: 7.863 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005571/0.01245, allocations: 327 kB / 417.5 MB, free: 7.543 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.00169/0.01414, allocations: 1.942 MB / 419.4 MB, free: 5.594 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009137/0.01505, allocations: 1.103 MB / 420.5 MB, free: 4.469 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001327/0.01638, allocations: 1.06 MB / 421.6 MB, free: 3.406 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008911/0.01727, allocations: 0.9934 MB / 422.6 MB, free: 2.41 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001575/0.01743, allocations: 128 kB / 422.7 MB, free: 2.285 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007799/0.0182, allocations: 0.659 MB / 423.4 MB, free: 1.625 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005526/0.01876, allocations: 1.005 MB / 424.4 MB, free: 0.6172 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004209/0.01918, allocations: 0.5915 MB / 425 MB, free: 24 kB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002853/0.02203, allocations: 3.69 MB / 428.7 MB, free: 12.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.02204, allocations: 8 kB / 428.7 MB, free: 12.31 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.02204, allocations: 0 / 428.7 MB, free: 12.31 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.311e-05/0.02209, allocations: 0 / 428.7 MB, free: 12.31 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.003759/0.02585, allocations: 2.62 MB / 431.3 MB, free: 9.648 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.301e-05/0.02591, allocations: 11.97 kB / 431.3 MB, free: 9.637 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004419/0.02636, allocations: 462.4 kB / 431.7 MB, free: 9.176 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002881/0.02924, allocations: 1.618 MB / 433.4 MB, free: 7.555 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001439/0.03067, allocations: 1.038 MB / 434.4 MB, free: 6.488 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.268e-05/0.03074, allocations: 115.3 kB / 434.5 MB, free: 6.375 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002279/0.03097, allocations: 156.2 kB / 434.7 MB, free: 6.223 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006255/0.03722, allocations: 6.194 MB / 440.9 MB, free: 15.55 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.079e-05/0.03727, allocations: 35.7 kB / 440.9 MB, free: 15.51 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001501/0.03742, allocations: 79.89 kB / 441 MB, free: 15.43 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001634/0.03905, allocations: 1.437 MB / 442.4 MB, free: 13.99 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006812/0.04587, allocations: 5.381 MB / 447.8 MB, free: 8.605 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1876/0.2334, allocations: 23.9 MB / 471.7 MB, free: 92.68 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002705/0.2361, allocations: 1.84 MB / 473.5 MB, free: 92.57 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007442/0.2369, allocations: 0.8778 MB / 474.4 MB, free: 92.54 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001887/0.2371, allocations: 98.33 kB / 474.5 MB, free: 92.54 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.2371, allocations: 47.19 kB / 474.5 MB, free: 92.5 MB / 442.7 MB Notification: Performance of pre-optimization done (n=96): time 3.597e-06/0.2371, allocations: 1.875 kB / 474.5 MB, free: 92.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=106): time 0.01269/0.2498, allocations: 8.641 MB / 483.2 MB, free: 89.95 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.2498, allocations: 141.4 kB / 483.3 MB, free: 89.8 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002297/0.2521, allocations: 2.817 MB / 486.1 MB, free: 88.77 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001013/0.2522, allocations: 36.89 kB / 486.2 MB, free: 88.73 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006404/0.2529, allocations: 2.092 MB / 488.3 MB, free: 87.18 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002524/0.2531, allocations: 448.9 kB / 488.7 MB, free: 86.86 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006216/0.2537, allocations: 0.8611 MB / 489.6 MB, free: 86.43 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.117e-05/0.2538, allocations: 309.9 kB / 489.9 MB, free: 86.12 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001112/0.2549, allocations: 1.333 MB / 491.2 MB, free: 85.71 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001782/0.2567, allocations: 4.105 MB / 495.3 MB, free: 81.56 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003344/0.26, allocations: 5.936 MB / 0.4895 GB, free: 76.5 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.214e-05/0.2601, allocations: 27.38 kB / 0.4895 GB, free: 76.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.005946/0.266, allocations: 5.501 MB / 0.4949 GB, free: 74.39 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.348e-05/0.2661, allocations: 47.38 kB / 0.4949 GB, free: 74.39 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.636e-05/0.2661, allocations: 99.34 kB / 0.495 GB, free: 74.39 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006796/0.2668, allocations: 464.7 kB / 0.4955 GB, free: 74.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001588/0.2684, allocations: 0.9756 MB / 0.4964 GB, free: 74.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002533/0.2709, allocations: 3.539 MB / 0.4999 GB, free: 71.94 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001891/0.2728, allocations: 229.8 kB / 0.5001 GB, free: 71.85 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002681/0.2731, allocations: 275.3 kB / 0.5004 GB, free: 71.82 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.001465/0.2746, allocations: 1.361 MB / 0.5017 GB, free: 71.14 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003505/0.2749, allocations: 228.9 kB / 0.5019 GB, free: 71.02 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001371/0.2763, allocations: 1.329 MB / 0.5032 GB, free: 70.49 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.892e-05/0.2763, allocations: 15.81 kB / 0.5032 GB, free: 70.48 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.2763, allocations: 4.922 kB / 0.5032 GB, free: 70.48 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.2763, allocations: 5.969 kB / 0.5032 GB, free: 70.48 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004407/0.2807, allocations: 4.005 MB / 0.5072 GB, free: 68.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.2807, allocations: 3.875 kB / 0.5072 GB, free: 68.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003499/0.2811, allocations: 144.1 kB / 0.5073 GB, free: 68.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000486/0.2816, allocations: 313 kB / 0.5076 GB, free: 68.83 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.008e-05/0.2816, allocations: 22.44 kB / 0.5076 GB, free: 68.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002235/0.2838, allocations: 2.939 MB / 0.5105 GB, free: 66.9 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.2838, allocations: 3.938 kB / 0.5105 GB, free: 66.89 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002741/0.2866, allocations: 3.079 MB / 0.5135 GB, free: 65.52 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005585/0.2871, allocations: 345.7 kB / 0.5138 GB, free: 65.32 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.2873, allocations: 20 kB / 0.5138 GB, free: 65.31 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004176/0.2877, allocations: 46.31 kB / 0.5139 GB, free: 65.3 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.2878, allocations: 62.05 kB / 0.5139 GB, free: 65.29 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.181e-05/0.2878, allocations: 27.45 kB / 0.514 GB, free: 65.29 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00163/0.2895, allocations: 1.637 MB / 0.5156 GB, free: 64.7 MB / 442.7 MB Notification: Performance of sort global known variables: time 2e-07/0.2895, allocations: 0 / 0.5156 GB, free: 64.7 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002161/0.2916, allocations: 0.594 MB / 0.5162 GB, free: 64.62 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.003117/0.2948, allocations: 3.705 MB / 0.5198 GB, free: 61.44 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003752/0.2985, allocations: 3.112 MB / 0.5228 GB, free: 58.7 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.2985, allocations: 0 / 0.5228 GB, free: 58.7 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006682/0.2992, allocations: 0.8039 MB / 0.5236 GB, free: 57.99 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.3003, allocations: 208 kB / 0.5238 GB, free: 57.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02286/0.3231, allocations: 28.22 MB / 0.5513 GB, free: 27.79 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001016/0.3241, allocations: 1.598 MB / 0.5529 GB, free: 26.17 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001599/0.3257, allocations: 1.39 MB / 0.5543 GB, free: 24.78 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006777/0.3264, allocations: 1.024 MB / 0.5553 GB, free: 23.75 MB / 442.7 MB Notification: Performance of SimCode: time 1.783e-06/0.3264, allocations: 0 / 0.5553 GB, free: 23.75 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04856/0.375, allocations: 38.35 MB / 0.5927 GB, free: 1.504 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.058/8.433, allocations: 8 kB / 0.5927 GB, free: 1.496 MB / 458.7 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_PointMass_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 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.mat","/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: 10.47203749511391]