Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0008997/0.0008997, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0008596/0.0008596, allocations: 173.9 kB / 23.95 MB, free: 0.6133 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.8628/0.8628, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2393/0.2393, allocations: 32.78 MB / 293.5 MB, free: 1.262 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.485e-06/2.485e-06, allocations: 0 / 439.6 MB, free: 4.289 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.353e-05/2.602e-05, allocations: 7.406 kB / 439.6 MB, free: 4.281 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.1802/0.1803, allocations: 6.041 MB / 445.6 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00295/0.1832, allocations: 2.309 MB / 447.9 MB, free: 42.43 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004693/0.1837, allocations: 37.41 kB / 448 MB, free: 42.42 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001252/0.1849, allocations: 1.073 MB / 449 MB, free: 41.96 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001205/0.1861, allocations: 0.8911 MB / 449.9 MB, free: 41.54 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004717/0.1866, allocations: 327.5 kB / 450.2 MB, free: 41.39 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001261/0.1879, allocations: 1.906 MB / 452.1 MB, free: 40.62 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008809/0.1888, allocations: 1.091 MB / 453.2 MB, free: 40.12 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009246/0.1897, allocations: 1.045 MB / 454.3 MB, free: 39.69 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007807/0.1905, allocations: 0.9855 MB / 455.3 MB, free: 39.42 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001464/0.1906, allocations: 129 kB / 455.4 MB, free: 39.42 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007765/0.1914, allocations: 0.6836 MB / 456.1 MB, free: 39.27 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004268/0.1918, allocations: 0.9792 MB / 457.1 MB, free: 38.86 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003578/0.1922, allocations: 0.5757 MB / 457.6 MB, free: 38.59 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002336/0.1945, allocations: 3.669 MB / 461.3 MB, free: 37.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/0.1945, allocations: 0 / 461.3 MB, free: 37.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.033e-06/0.1945, allocations: 0 / 461.3 MB, free: 37.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.252e-05/0.1946, allocations: 0 / 461.3 MB, free: 37.3 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.002495/0.1971, allocations: 2.616 MB / 463.9 MB, free: 35.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.1971, allocations: 10.09 kB / 463.9 MB, free: 35.68 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002578/0.1974, allocations: 460.5 kB / 464.4 MB, free: 35.45 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002479/0.1998, allocations: 1.613 MB / 466 MB, free: 35.22 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001084/0.2009, allocations: 1.026 MB / 467 MB, free: 34.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.006e-05/0.201, allocations: 120.7 kB / 467.1 MB, free: 34.56 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001789/0.2011, allocations: 158.2 kB / 467.3 MB, free: 34.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004536/0.2057, allocations: 6.19 MB / 473.5 MB, free: 31.49 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.991e-05/0.2057, allocations: 25.78 kB / 473.5 MB, free: 31.47 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000133/0.2059, allocations: 87.89 kB / 473.6 MB, free: 31.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001185/0.207, allocations: 1.44 MB / 475 MB, free: 31.17 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005973/0.213, allocations: 5.384 MB / 480.4 MB, free: 29.52 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01722/0.2302, allocations: 23.88 MB / 0.4925 GB, free: 11.58 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00304/0.2333, allocations: 1.861 MB / 0.4943 GB, free: 11.01 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008453/0.2341, allocations: 0.883 MB / 0.4952 GB, free: 10.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001808/0.2343, allocations: 101.2 kB / 0.4953 GB, free: 10.65 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.2343, allocations: 40.56 kB / 0.4953 GB, free: 10.61 MB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 3.116e-06/0.2343, allocations: 3.938 kB / 0.4953 GB, free: 10.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=106): time 0.01394/0.2483, allocations: 8.625 MB / 0.5037 GB, free: 6.898 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/0.2483, allocations: 144.5 kB / 0.5039 GB, free: 6.727 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002394/0.2507, allocations: 2.807 MB / 0.5066 GB, free: 4.203 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.483e-05/0.2508, allocations: 45.69 kB / 0.5066 GB, free: 4.152 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005362/0.2513, allocations: 2.081 MB / 0.5087 GB, free: 2.051 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002024/0.2515, allocations: 448.6 kB / 0.5091 GB, free: 1.609 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005389/0.2521, allocations: 0.8578 MB / 0.5099 GB, free: 0.7383 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.544e-05/0.2521, allocations: 301.1 kB / 0.5102 GB, free: 452 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001166/0.2533, allocations: 1.336 MB / 0.5115 GB, free: 15.1 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002481/0.2557, allocations: 4.1 MB / 0.5155 GB, free: 9.594 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004465/0.2602, allocations: 5.938 MB / 0.5213 GB, free: 2.273 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.779e-05/0.2602, allocations: 28 kB / 0.5214 GB, free: 2.246 MB / 426.7 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.00591/0.2661, allocations: 5.5 MB / 0.5267 GB, free: 12.74 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.429e-05/0.2662, allocations: 44 kB / 0.5268 GB, free: 12.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.87e-05/0.2662, allocations: 100.9 kB / 0.5269 GB, free: 12.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006461/0.2669, allocations: 465.4 kB / 0.5273 GB, free: 12.14 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001437/0.2683, allocations: 0.9785 MB / 0.5283 GB, free: 11.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002997/0.2713, allocations: 3.535 MB / 0.5317 GB, free: 7.516 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002716/0.274, allocations: 235.6 kB / 0.5319 GB, free: 7.285 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004095/0.2745, allocations: 268 kB / 0.5322 GB, free: 7.023 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.002133/0.2766, allocations: 1.369 MB / 0.5335 GB, free: 5.641 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003664/0.277, allocations: 226.5 kB / 0.5338 GB, free: 5.418 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001523/0.2785, allocations: 1.323 MB / 0.535 GB, free: 4.086 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-05/0.2785, allocations: 12 kB / 0.5351 GB, free: 4.074 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.2785, allocations: 1.062 kB / 0.5351 GB, free: 4.074 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/0.2785, allocations: 10.28 kB / 0.5351 GB, free: 4.066 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004774/0.2833, allocations: 4.019 MB / 0.539 GB, free: 15.99 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/0.2833, allocations: 0 / 0.539 GB, free: 15.99 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003413/0.2836, allocations: 139.3 kB / 0.5391 GB, free: 15.86 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004804/0.2841, allocations: 320.5 kB / 0.5394 GB, free: 15.55 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.876e-05/0.2842, allocations: 19.94 kB / 0.5395 GB, free: 15.53 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002153/0.2863, allocations: 2.942 MB / 0.5423 GB, free: 12.47 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.2863, allocations: 8.094 kB / 0.5423 GB, free: 12.46 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002652/0.289, allocations: 3.072 MB / 0.5453 GB, free: 9.367 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003506/0.2893, allocations: 214.3 kB / 0.5455 GB, free: 9.156 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001328/0.2894, allocations: 12 kB / 0.5456 GB, free: 9.145 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000409/0.2899, allocations: 47.94 kB / 0.5456 GB, free: 9.098 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.772e-05/0.29, allocations: 56.33 kB / 0.5457 GB, free: 9.043 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.625e-05/0.29, allocations: 36.05 kB / 0.5457 GB, free: 9.008 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001588/0.2916, allocations: 1.628 MB / 0.5473 GB, free: 7.367 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.2e-07/0.2916, allocations: 0 / 0.5473 GB, free: 7.367 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002033/0.2936, allocations: 0.5858 MB / 0.5478 GB, free: 6.781 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.002865/0.2965, allocations: 3.703 MB / 0.5515 GB, free: 3.047 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003325/0.2998, allocations: 3.1 MB / 0.5545 GB, free: 15.95 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.2998, allocations: 4 kB / 0.5545 GB, free: 15.95 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007202/0.3005, allocations: 0.7992 MB / 0.5553 GB, free: 15.14 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/0.3015, allocations: 208.4 kB / 0.5555 GB, free: 14.94 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02712/0.3287, allocations: 28.19 MB / 0.583 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001379/0.33, allocations: 1.594 MB / 0.5846 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00178/0.3318, allocations: 1.391 MB / 0.5859 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008655/0.3327, allocations: 1.016 MB / 0.5869 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of SimCode: time 1.633e-06/0.3327, allocations: 0 / 0.5869 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05351/0.3862, allocations: 38.32 MB / 0.6243 GB, free: 5.125 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.709/9.095, allocations: 6.203 kB / 0.6243 GB, free: 5.125 MB / 0.5261 GB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_PointMass_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_PointMass.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.297215716913342]