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.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008621/0.0008621, allocations: 93.42 kB / 17.35 MB, free: 6.34 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.0009324/0.0009324, allocations: 170.8 kB / 18.25 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 223.3 MB / 242.3 MB, free: 188 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1918/0.1918, allocations: 44.25 MB / 337.7 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003387/0.0003387, allocations: 8 kB / 410.4 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1093, allocations: 61.92 MB / 472.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.01649/0.1258, allocations: 16.63 MB / 489 MB, free: 12.54 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008035/0.1339, allocations: 4.063 MB / 493.1 MB, free: 8.457 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002046/0.136, allocations: 71.81 kB / 493.1 MB, free: 8.387 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007542/0.1368, allocations: 266.8 kB / 493.4 MB, free: 8.125 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001924/0.1387, allocations: 0.8096 MB / 494.2 MB, free: 7.312 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007685/0.1395, allocations: 267.5 kB / 494.5 MB, free: 7.051 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002966/0.1425, allocations: 2.766 MB / 497.2 MB, free: 4.281 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002479/0.145, allocations: 1.663 MB / 498.9 MB, free: 2.578 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001074/0.1461, allocations: 0.5872 MB / 499.5 MB, free: 1.988 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0015/0.1476, allocations: 0.9964 MB / 0.4887 GB, free: 0.9883 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003834/0.148, allocations: 72 kB / 0.4888 GB, free: 0.918 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001492/0.1495, allocations: 0.7214 MB / 0.4895 GB, free: 200 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001077/0.1506, allocations: 0.8996 MB / 0.4904 GB, free: 15.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00151/0.1521, allocations: 1.115 MB / 0.4915 GB, free: 14.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00369/0.1558, allocations: 3.468 MB / 0.4949 GB, free: 10.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.1558, allocations: 4 kB / 0.4949 GB, free: 10.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1558, allocations: 0 / 0.4949 GB, free: 10.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001024/0.1559, allocations: 0 / 0.4949 GB, free: 10.68 MB / 382.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.00444/0.1604, allocations: 2.199 MB / 0.497 GB, free: 8.426 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.1604, allocations: 12.03 kB / 0.497 GB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008824/0.1613, allocations: 458.4 kB / 0.4975 GB, free: 7.957 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005433/0.1668, allocations: 1.604 MB / 0.499 GB, free: 6.348 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001786/0.1686, allocations: 1.065 MB / 0.5001 GB, free: 5.238 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001106/0.1687, allocations: 119.2 kB / 0.5002 GB, free: 5.121 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004548/0.1691, allocations: 155.8 kB / 0.5003 GB, free: 4.969 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1775/0.3466, allocations: 6.182 MB / 0.5064 GB, free: 45.49 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.57e-05/0.3467, allocations: 27.72 kB / 0.5064 GB, free: 45.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002169/0.3469, allocations: 82.48 kB / 0.5065 GB, free: 45.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00241/0.3493, allocations: 1.445 MB / 0.5079 GB, free: 45.46 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009138/0.3585, allocations: 5.394 MB / 0.5132 GB, free: 44.49 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02319/0.3817, allocations: 24.88 MB / 0.5374 GB, free: 25.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004519/0.3863, allocations: 2.35 MB / 0.5397 GB, free: 23.67 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001036/0.3874, allocations: 0.989 MB / 0.5407 GB, free: 23.15 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002804/0.3877, allocations: 325.8 kB / 0.541 GB, free: 22.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/0.3877, allocations: 50.17 kB / 0.5411 GB, free: 22.79 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 4.579e-06/0.3877, allocations: 0 / 0.5411 GB, free: 22.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=106): time 0.02064/0.4084, allocations: 8.492 MB / 0.5494 GB, free: 14.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.417e-05/0.4085, allocations: 140.5 kB / 0.5495 GB, free: 14.38 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003406/0.4119, allocations: 2.64 MB / 0.5521 GB, free: 11.71 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.481e-05/0.412, allocations: 45.7 kB / 0.5521 GB, free: 11.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009082/0.4129, allocations: 2.023 MB / 0.5541 GB, free: 9.645 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003621/0.4133, allocations: 439.8 kB / 0.5545 GB, free: 9.219 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004097/0.4137, allocations: 363.2 kB / 0.5549 GB, free: 8.855 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.94e-05/0.4137, allocations: 301.1 kB / 0.5551 GB, free: 8.559 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001604/0.4153, allocations: 1.336 MB / 0.5565 GB, free: 7.215 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002486/0.4178, allocations: 4.1 MB / 0.5605 GB, free: 1.711 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005839/0.4237, allocations: 5.933 MB / 0.5662 GB, free: 10.39 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-05/0.4238, allocations: 28 kB / 0.5663 GB, free: 10.37 MB / 398.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.008732/0.4325, allocations: 5.491 MB / 0.5716 GB, free: 4.871 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.277e-05/0.4326, allocations: 56.05 kB / 0.5717 GB, free: 4.816 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001249/0.4328, allocations: 100 kB / 0.5718 GB, free: 4.719 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001049/0.4338, allocations: 456.5 kB / 0.5722 GB, free: 4.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002592/0.4364, allocations: 0.9749 MB / 0.5732 GB, free: 3.293 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003773/0.4402, allocations: 3.401 MB / 0.5765 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002294/0.4425, allocations: 227.5 kB / 0.5767 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003446/0.4429, allocations: 273.5 kB / 0.577 GB, free: 15.28 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.001888/0.4448, allocations: 1.368 MB / 0.5783 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003957/0.4452, allocations: 221.1 kB / 0.5785 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002357/0.4475, allocations: 1.326 MB / 0.5798 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.548e-05/0.4476, allocations: 12.55 kB / 0.5798 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.4476, allocations: 7.938 kB / 0.5798 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.4476, allocations: 7.984 kB / 0.5798 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00729/0.4549, allocations: 4.253 MB / 0.584 GB, free: 8.008 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.4549, allocations: 0 / 0.584 GB, free: 8.008 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005884/0.4555, allocations: 131.9 kB / 0.5841 GB, free: 7.879 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008408/0.4564, allocations: 318.5 kB / 0.5844 GB, free: 7.566 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.498e-05/0.4564, allocations: 16 kB / 0.5844 GB, free: 7.551 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003027/0.4595, allocations: 2.842 MB / 0.5872 GB, free: 4.582 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4595, allocations: 0 / 0.5872 GB, free: 4.582 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003921/0.4634, allocations: 3.061 MB / 0.5902 GB, free: 1.508 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004987/0.4639, allocations: 282.1 kB / 0.5905 GB, free: 1.211 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003398/0.4643, allocations: 19.62 kB / 0.5905 GB, free: 1.195 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008174/0.4651, allocations: 49.58 kB / 0.5905 GB, free: 1.148 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/0.4653, allocations: 52.36 kB / 0.5906 GB, free: 1.098 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.297e-05/0.4653, allocations: 31.94 kB / 0.5906 GB, free: 1.066 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002291/0.4676, allocations: 1.637 MB / 0.5922 GB, free: 15.42 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4676, allocations: 0 / 0.5922 GB, free: 15.42 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002822/0.4705, allocations: 0.6001 MB / 0.5928 GB, free: 14.82 MB / 430.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.004345/0.4748, allocations: 3.688 MB / 0.5964 GB, free: 11.11 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004878/0.4797, allocations: 3.21 MB / 0.5995 GB, free: 7.906 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4797, allocations: 0 / 0.5995 GB, free: 7.906 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001097/0.4808, allocations: 0.8647 MB / 0.6004 GB, free: 7.031 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001492/0.4823, allocations: 195.1 kB / 0.6006 GB, free: 6.84 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04361/0.526, allocations: 31.44 MB / 0.6313 GB, free: 2.613 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002558/0.5285, allocations: 2.179 MB / 0.6334 GB, free: 412 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003209/0.5318, allocations: 1.383 MB / 0.6348 GB, free: 15.01 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001364/0.5332, allocations: 1.026 MB / 0.6358 GB, free: 13.98 MB / 478.1 MB Notification: Performance of SimCode: time 9.82e-07/0.5332, allocations: 0 / 0.6358 GB, free: 13.98 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06533/0.5985, allocations: 39.89 MB / 0.6747 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002002/0.5987, allocations: 212.3 kB / 0.6749 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.625/3.224, allocations: 0 / 0.6749 GB, free: 6.086 MB / 0.4981 GB (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 --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) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches