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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 104.5 kB / 16.27 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 192.3 kB / 17.2 MB, free: 5.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.325/1.325, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.213/0.213, allocations: 43.52 MB / 313.9 MB, free: 0.5312 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 74.22 kB / 382.8 MB, free: 56.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09089/0.09246, allocations: 57.79 MB / 440.6 MB, free: 6.832 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.006674/0.09919, allocations: 6.8 MB / 447.4 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005288/0.1045, allocations: 2.384 MB / 449.8 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001043/0.1056, allocations: 27.94 kB / 449.8 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002402/0.108, allocations: 1.043 MB / 450.9 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002308/0.1104, allocations: 0.8401 MB / 451.7 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009829/0.1114, allocations: 299.3 kB / 452 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002585/0.114, allocations: 1.896 MB / 453.9 MB, free: 9.488 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001702/0.1157, allocations: 1.26 MB / 455.2 MB, free: 8.207 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000824/0.1165, allocations: 0.716 MB / 455.9 MB, free: 7.488 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0011/0.1177, allocations: 0.9768 MB / 456.9 MB, free: 6.508 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002318/0.1179, allocations: 128 kB / 457 MB, free: 6.383 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001175/0.1191, allocations: 0.7059 MB / 457.7 MB, free: 5.676 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000882/0.12, allocations: 0.931 MB / 458.6 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001118/0.1211, allocations: 1.141 MB / 459.8 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004101/0.1252, allocations: 3.559 MB / 463.3 MB, free: 24 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.1252, allocations: 0 / 463.3 MB, free: 24 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1253, allocations: 0 / 463.3 MB, free: 24 kB / 334.1 MB Notification: Performance of Transformations before backend: time 3.739e-05/0.1253, allocations: 0 / 463.3 MB, free: 24 kB / 334.1 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.004665/0.13, allocations: 2.657 MB / 466 MB, free: 13.31 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.768e-05/0.13, allocations: 15.89 kB / 466 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004991/0.1305, allocations: 462.4 kB / 466.4 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005199/0.1358, allocations: 1.569 MB / 468 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001846/0.1376, allocations: 1.069 MB / 469.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-05/0.1377, allocations: 123.3 kB / 469.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002855/0.138, allocations: 155.8 kB / 469.4 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007881/0.1459, allocations: 6.182 MB / 475.5 MB, free: 3.207 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.209e-05/0.146, allocations: 31.64 kB / 475.6 MB, free: 3.176 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002082/0.1462, allocations: 83.89 kB / 475.6 MB, free: 3.094 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002336/0.1485, allocations: 1.437 MB / 477.1 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008244/0.1568, allocations: 5.4 MB / 482.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02695/0.1838, allocations: 24.86 MB / 0.4955 GB, free: 2.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004292/0.1881, allocations: 2.336 MB / 0.4977 GB, free: 108 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001108/0.1892, allocations: 0.991 MB / 0.4987 GB, free: 15.1 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003156/0.1896, allocations: 339.6 kB / 0.499 GB, free: 14.71 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.1896, allocations: 38.56 kB / 0.4991 GB, free: 14.67 MB / 398.1 MB Notification: Performance of pre-optimization done (n=96): time 3.126e-06/0.1896, allocations: 0 / 0.4991 GB, free: 14.67 MB / 398.1 MB Notification: Performance of matching and sorting (n=106): time 0.02108/0.2107, allocations: 8.444 MB / 0.5073 GB, free: 6.086 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.641e-05/0.2108, allocations: 144.4 kB / 0.5075 GB, free: 5.914 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003264/0.2141, allocations: 2.632 MB / 0.51 GB, free: 3.258 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.093e-05/0.2142, allocations: 41.7 kB / 0.5101 GB, free: 3.211 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00128/0.2155, allocations: 2.028 MB / 0.512 GB, free: 1.152 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003745/0.2159, allocations: 434.7 kB / 0.5125 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009384/0.2168, allocations: 0.8727 MB / 0.5133 GB, free: 15.83 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.286e-05/0.2169, allocations: 301.1 kB / 0.5136 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001736/0.2187, allocations: 1.332 MB / 0.5149 GB, free: 14.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003621/0.2223, allocations: 4.108 MB / 0.5189 GB, free: 8.684 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005897/0.2282, allocations: 5.932 MB / 0.5247 GB, free: 1.363 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.182e-05/0.2283, allocations: 28 kB / 0.5247 GB, free: 1.336 MB / 414.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.187/0.4153, allocations: 5.481 MB / 0.5301 GB, free: 84.85 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.402e-05/0.4154, allocations: 48.02 kB / 0.5301 GB, free: 84.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.369e-05/0.4155, allocations: 100.2 kB / 0.5302 GB, free: 84.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009519/0.4165, allocations: 465.2 kB / 0.5307 GB, free: 84.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002415/0.4189, allocations: 0.975 MB / 0.5316 GB, free: 84.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003397/0.4223, allocations: 3.675 MB / 0.5352 GB, free: 83.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0023/0.4246, allocations: 232.9 kB / 0.5354 GB, free: 83.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003133/0.4249, allocations: 272.9 kB / 0.5357 GB, free: 83.19 MB / 414.1 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.001715/0.4267, allocations: 1.373 MB / 0.537 GB, free: 82.65 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002893/0.427, allocations: 221.8 kB / 0.5372 GB, free: 82.64 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002138/0.4291, allocations: 1.321 MB / 0.5385 GB, free: 82.13 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-05/0.4291, allocations: 12.5 kB / 0.5385 GB, free: 82.13 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.4291, allocations: 3.344 kB / 0.5385 GB, free: 82.13 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/0.4292, allocations: 8.844 kB / 0.5386 GB, free: 82.13 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006564/0.4357, allocations: 4.243 MB / 0.5427 GB, free: 80.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/0.4358, allocations: 2.625 kB / 0.5427 GB, free: 80.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005658/0.4363, allocations: 139.3 kB / 0.5428 GB, free: 80.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007329/0.4371, allocations: 317.4 kB / 0.5431 GB, free: 80.42 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.179e-05/0.4371, allocations: 14.38 kB / 0.5432 GB, free: 80.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002396/0.4395, allocations: 3.034 MB / 0.5461 GB, free: 78.39 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.4396, allocations: 3.938 kB / 0.5461 GB, free: 78.39 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003102/0.4427, allocations: 3.066 MB / 0.5491 GB, free: 77.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005562/0.4432, allocations: 412.9 kB / 0.5495 GB, free: 76.79 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002012/0.4434, allocations: 11.31 kB / 0.5495 GB, free: 76.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006866/0.4441, allocations: 57.72 kB / 0.5496 GB, free: 76.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.4443, allocations: 52.8 kB / 0.5496 GB, free: 76.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.008e-05/0.4443, allocations: 33.72 kB / 0.5497 GB, free: 76.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001729/0.4461, allocations: 1.631 MB / 0.5512 GB, free: 76.17 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.4461, allocations: 0 / 0.5512 GB, free: 76.17 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002891/0.449, allocations: 0.5976 MB / 0.5518 GB, free: 75.96 MB / 414.1 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.00333/0.4523, allocations: 3.685 MB / 0.5554 GB, free: 72.6 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004013/0.4563, allocations: 3.469 MB / 0.5588 GB, free: 69.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.4564, allocations: 4 kB / 0.5588 GB, free: 69.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007876/0.4572, allocations: 0.8556 MB / 0.5597 GB, free: 68.29 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/0.4583, allocations: 218.3 kB / 0.5599 GB, free: 68.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0315/0.4898, allocations: 30.31 MB / 0.5895 GB, free: 33.03 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001848/0.4917, allocations: 2.181 MB / 0.5916 GB, free: 30.82 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002646/0.4944, allocations: 1.385 MB / 0.5929 GB, free: 29.43 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001109/0.4955, allocations: 1.03 MB / 0.5939 GB, free: 28.4 MB / 414.1 MB Notification: Performance of SimCode: time 9.52e-07/0.4955, allocations: 0 / 0.5939 GB, free: 28.4 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06457/0.5601, allocations: 41.08 MB / 0.6341 GB, free: 3.328 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/12.09, allocations: 10.94 kB / 0.6341 GB, free: 3.32 MB / 430.1 MB (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 --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) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches