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.000848/0.000848, allocations: 87.69 kB / 20.67 MB, free: 3.883 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.0008036/0.0008036, allocations: 165.3 kB / 23.95 MB, free: 0.6055 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.9042/0.9042, allocations: 177.1 MB / 204.3 MB, free: 5.73 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.2381/0.2381, allocations: 34.25 MB / 294.9 MB, free: 0.7148 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 1.703e-06/1.703e-06, allocations: 0 / 442.2 MB, free: 1.699 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.246e-05/2.416e-05, allocations: 4.531 kB / 442.2 MB, free: 1.695 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.1822/0.1822, allocations: 6.048 MB / 448.2 MB, free: 40.73 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002849/0.1851, allocations: 2.306 MB / 450.5 MB, free: 39.75 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005284/0.1856, allocations: 36.91 kB / 450.5 MB, free: 39.75 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001172/0.1868, allocations: 1.084 MB / 451.6 MB, free: 39.29 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001028/0.1878, allocations: 0.8784 MB / 452.5 MB, free: 38.88 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004562/0.1883, allocations: 324.5 kB / 452.8 MB, free: 38.73 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001081/0.1893, allocations: 1.906 MB / 454.7 MB, free: 37.95 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006687/0.19, allocations: 1.093 MB / 455.8 MB, free: 37.45 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006316/0.1906, allocations: 1.046 MB / 456.9 MB, free: 37.02 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006124/0.1912, allocations: 0.9904 MB / 457.9 MB, free: 36.75 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001279/0.1914, allocations: 128.6 kB / 458 MB, free: 36.75 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005902/0.192, allocations: 0.6788 MB / 458.7 MB, free: 36.61 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003687/0.1923, allocations: 0.9816 MB / 459.6 MB, free: 36.2 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002986/0.1926, allocations: 0.5739 MB / 460.2 MB, free: 35.92 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001649/0.1943, allocations: 3.664 MB / 463.9 MB, free: 34.63 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1943, allocations: 6.375 kB / 463.9 MB, free: 34.63 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1943, allocations: 0 / 463.9 MB, free: 34.63 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.194e-05/0.1943, allocations: 0 / 463.9 MB, free: 34.63 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.003503/0.1978, allocations: 2.616 MB / 466.5 MB, free: 33.01 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.343e-05/0.1979, allocations: 9.844 kB / 466.5 MB, free: 33.01 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004007/0.1983, allocations: 463.9 kB / 467 MB, free: 32.78 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002686/0.201, allocations: 1.614 MB / 468.6 MB, free: 32.55 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001302/0.2023, allocations: 1.022 MB / 469.6 MB, free: 31.96 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.45e-05/0.2023, allocations: 116.5 kB / 469.7 MB, free: 31.9 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002128/0.2026, allocations: 156.4 kB / 469.9 MB, free: 31.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00485/0.2074, allocations: 6.2 MB / 476.1 MB, free: 28.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.337e-05/0.2075, allocations: 28.94 kB / 476.1 MB, free: 28.8 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001601/0.2076, allocations: 78.55 kB / 476.2 MB, free: 28.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001295/0.2089, allocations: 1.443 MB / 477.6 MB, free: 28.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007326/0.2162, allocations: 5.381 MB / 483 MB, free: 26.86 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02024/0.2365, allocations: 23.89 MB / 0.495 GB, free: 8.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003025/0.2395, allocations: 1.864 MB / 0.4968 GB, free: 8.332 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008638/0.2404, allocations: 0.8746 MB / 0.4977 GB, free: 8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001991/0.2406, allocations: 92.39 kB / 0.4978 GB, free: 7.984 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.2406, allocations: 44.23 kB / 0.4978 GB, free: 7.938 MB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 4.509e-06/0.2406, allocations: 1.312 kB / 0.4978 GB, free: 7.938 MB / 410.7 MB Notification: Performance of matching and sorting (n=106): time 0.0139/0.2545, allocations: 8.624 MB / 0.5062 GB, free: 3.184 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/0.2546, allocations: 149.1 kB / 0.5064 GB, free: 3.008 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002479/0.257, allocations: 2.806 MB / 0.5091 GB, free: 196 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001441/0.2572, allocations: 37.7 kB / 0.5092 GB, free: 152 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001033/0.2582, allocations: 2.081 MB / 0.5112 GB, free: 14.05 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003669/0.2586, allocations: 448.6 kB / 0.5116 GB, free: 13.61 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007805/0.2594, allocations: 0.8617 MB / 0.5125 GB, free: 12.73 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.344e-05/0.2594, allocations: 301.1 kB / 0.5128 GB, free: 12.43 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001414/0.2608, allocations: 1.332 MB / 0.5141 GB, free: 11.09 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002435/0.2633, allocations: 4.108 MB / 0.5181 GB, free: 5.582 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004318/0.2676, allocations: 5.938 MB / 0.5239 GB, free: 14.26 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.783e-05/0.2677, allocations: 32 kB / 0.5239 GB, free: 14.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.006158/0.2738, allocations: 5.495 MB / 0.5293 GB, free: 8.73 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.266e-05/0.2739, allocations: 48.06 kB / 0.5293 GB, free: 8.684 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.95e-05/0.274, allocations: 100 kB / 0.5294 GB, free: 8.586 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006952/0.2747, allocations: 460.5 kB / 0.5298 GB, free: 8.133 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00159/0.2762, allocations: 0.9747 MB / 0.5308 GB, free: 7.156 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002843/0.2791, allocations: 3.54 MB / 0.5342 GB, free: 3.508 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001873/0.281, allocations: 231.6 kB / 0.5345 GB, free: 3.281 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002923/0.2813, allocations: 280 kB / 0.5347 GB, free: 3.008 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.001884/0.2831, allocations: 1.365 MB / 0.5361 GB, free: 1.629 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003778/0.2835, allocations: 226.5 kB / 0.5363 GB, free: 1.406 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001519/0.285, allocations: 1.323 MB / 0.5376 GB, free: 76 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.095e-05/0.2851, allocations: 16.47 kB / 0.5376 GB, free: 60 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/0.2851, allocations: 0 / 0.5376 GB, free: 60 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/0.2851, allocations: 7.984 kB / 0.5376 GB, free: 52 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004885/0.29, allocations: 4.018 MB / 0.5415 GB, free: 11.98 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.29, allocations: 0 / 0.5415 GB, free: 11.98 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003374/0.2903, allocations: 147.7 kB / 0.5417 GB, free: 11.84 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004626/0.2908, allocations: 320.1 kB / 0.542 GB, free: 11.52 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.832e-05/0.2908, allocations: 12 kB / 0.542 GB, free: 11.51 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002146/0.293, allocations: 2.939 MB / 0.5449 GB, free: 8.457 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.293, allocations: 4.594 kB / 0.5449 GB, free: 8.453 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00272/0.2957, allocations: 3.076 MB / 0.5479 GB, free: 5.355 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004121/0.2961, allocations: 210.3 kB / 0.5481 GB, free: 5.148 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001364/0.2962, allocations: 24.06 kB / 0.5481 GB, free: 5.125 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000391/0.2966, allocations: 43.94 kB / 0.5481 GB, free: 5.082 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.2967, allocations: 63.75 kB / 0.5482 GB, free: 5.023 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.27e-05/0.2968, allocations: 24 kB / 0.5482 GB, free: 5 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001727/0.2985, allocations: 1.628 MB / 0.5498 GB, free: 3.359 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2985, allocations: 4 kB / 0.5498 GB, free: 3.355 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002022/0.3005, allocations: 0.5859 MB / 0.5504 GB, free: 2.77 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.003059/0.3036, allocations: 3.699 MB / 0.554 GB, free: 15.04 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003731/0.3073, allocations: 3.102 MB / 0.557 GB, free: 11.94 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.3073, allocations: 4 kB / 0.557 GB, free: 11.94 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007494/0.3081, allocations: 0.8057 MB / 0.5578 GB, free: 11.12 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001375/0.3094, allocations: 197 kB / 0.558 GB, free: 10.93 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02924/0.3387, allocations: 28.19 MB / 0.5855 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001366/0.34, allocations: 1.594 MB / 0.5871 GB, free: 9.375 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00178/0.3418, allocations: 1.391 MB / 0.5884 GB, free: 7.977 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008905/0.3427, allocations: 1.02 MB / 0.5894 GB, free: 6.957 MB / 0.4948 GB Notification: Performance of SimCode: time 9.72e-07/0.3427, allocations: 4 kB / 0.5894 GB, free: 6.953 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05846/0.4012, allocations: 38.3 MB / 0.6268 GB, free: 1.125 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.314/8.715, allocations: 10.61 kB / 0.6269 GB, free: 1.121 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_PointMass_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 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.mat","/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: 10.794078355655074]