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.001385/0.001385, allocations: 109.4 kB / 17.21 MB, free: 6.273 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.001508/0.001508, allocations: 194 kB / 18.12 MB, free: 5.363 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.209/1.209, allocations: 222.9 MB / 241.8 MB, free: 15.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1818/0.1818, allocations: 44.17 MB / 336.1 MB, free: 2.965 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 63.98 kB / 407.8 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09667/0.09787, allocations: 60.83 MB / 468.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.01481/0.1127, allocations: 17.28 MB / 485.9 MB, free: 13.38 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006842/0.1196, allocations: 4.106 MB / 490 MB, free: 9.254 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00177/0.1214, allocations: 63.88 kB / 490.1 MB, free: 9.191 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001906/0.1233, allocations: 1.021 MB / 491.1 MB, free: 8.168 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001667/0.125, allocations: 0.8056 MB / 491.9 MB, free: 7.359 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006674/0.1257, allocations: 259.6 kB / 492.1 MB, free: 7.105 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002619/0.1283, allocations: 2.762 MB / 494.9 MB, free: 4.336 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001563/0.1299, allocations: 1.276 MB / 496.2 MB, free: 3.039 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009321/0.1308, allocations: 0.638 MB / 496.8 MB, free: 2.398 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00132/0.1322, allocations: 1.059 MB / 497.9 MB, free: 1.336 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003114/0.1325, allocations: 96 kB / 498 MB, free: 1.242 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001184/0.1337, allocations: 0.7331 MB / 498.7 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008483/0.1345, allocations: 0.9192 MB / 499.6 MB, free: 15.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001207/0.1358, allocations: 1.133 MB / 0.489 GB, free: 14.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003156/0.1389, allocations: 3.543 MB / 0.4925 GB, free: 10.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1389, allocations: 0 / 0.4925 GB, free: 10.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.01e-07/0.1389, allocations: 0 / 0.4925 GB, free: 10.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001024/0.1391, allocations: 4 kB / 0.4925 GB, free: 10.89 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.004448/0.1435, allocations: 2.661 MB / 0.4951 GB, free: 8.168 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.1436, allocations: 12.03 kB / 0.4951 GB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006475/0.1442, allocations: 454.4 kB / 0.4955 GB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004637/0.1489, allocations: 1.569 MB / 0.4971 GB, free: 6.129 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001823/0.1507, allocations: 1.065 MB / 0.4981 GB, free: 5.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.12e-05/0.1508, allocations: 119.3 kB / 0.4982 GB, free: 4.902 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002627/0.1511, allocations: 163.7 kB / 0.4984 GB, free: 4.742 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1728/0.3239, allocations: 6.175 MB / 0.5044 GB, free: 47.33 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.914e-05/0.324, allocations: 31.52 kB / 0.5044 GB, free: 47.31 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002218/0.3242, allocations: 79.69 kB / 0.5045 GB, free: 47.31 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002595/0.3268, allocations: 1.435 MB / 0.5059 GB, free: 47.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00994/0.3368, allocations: 5.401 MB / 0.5112 GB, free: 45.69 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02246/0.3593, allocations: 24.86 MB / 0.5355 GB, free: 26.36 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003619/0.3629, allocations: 2.346 MB / 0.5378 GB, free: 24.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008692/0.3638, allocations: 0.9973 MB / 0.5387 GB, free: 24.31 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002833/0.3641, allocations: 322.6 kB / 0.539 GB, free: 24 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.3642, allocations: 50.61 kB / 0.5391 GB, free: 23.95 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 3.426e-06/0.3642, allocations: 0.6875 kB / 0.5391 GB, free: 23.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=106): time 0.01866/0.3828, allocations: 8.442 MB / 0.5473 GB, free: 15.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.3829, allocations: 136.5 kB / 0.5475 GB, free: 15.51 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002463/0.3854, allocations: 2.636 MB / 0.55 GB, free: 12.85 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.116e-05/0.3855, allocations: 41.7 kB / 0.5501 GB, free: 12.8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007097/0.3862, allocations: 2.024 MB / 0.5521 GB, free: 10.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002442/0.3865, allocations: 442.6 kB / 0.5525 GB, free: 10.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007152/0.3872, allocations: 0.861 MB / 0.5533 GB, free: 9.441 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.664e-05/0.3872, allocations: 305.1 kB / 0.5536 GB, free: 9.141 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001362/0.3886, allocations: 1.336 MB / 0.5549 GB, free: 7.797 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002078/0.3907, allocations: 4.1 MB / 0.5589 GB, free: 2.293 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00503/0.3957, allocations: 5.934 MB / 0.5647 GB, free: 10.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.39e-05/0.3958, allocations: 31.94 kB / 0.5647 GB, free: 10.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.007519/0.4033, allocations: 5.493 MB / 0.5701 GB, free: 5.445 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.217e-05/0.4034, allocations: 44 kB / 0.5701 GB, free: 5.402 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.329e-05/0.4034, allocations: 100 kB / 0.5702 GB, free: 5.305 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009726/0.4044, allocations: 465.3 kB / 0.5707 GB, free: 4.848 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002338/0.4068, allocations: 0.9708 MB / 0.5716 GB, free: 3.875 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003614/0.4104, allocations: 3.404 MB / 0.575 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002375/0.4128, allocations: 227.6 kB / 0.5752 GB, free: 120 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003506/0.4131, allocations: 271.9 kB / 0.5754 GB, free: 15.85 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.001855/0.415, allocations: 1.368 MB / 0.5768 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003598/0.4154, allocations: 225.1 kB / 0.577 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00218/0.4176, allocations: 1.326 MB / 0.5783 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.951e-05/0.4176, allocations: 12 kB / 0.5783 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.904e-06/0.4176, allocations: 0.875 kB / 0.5783 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.4176, allocations: 7.984 kB / 0.5783 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007309/0.4249, allocations: 4.242 MB / 0.5824 GB, free: 8.578 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-05/0.425, allocations: 0 / 0.5824 GB, free: 8.578 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006474/0.4256, allocations: 139.8 kB / 0.5826 GB, free: 8.441 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008967/0.4265, allocations: 320.5 kB / 0.5829 GB, free: 8.125 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.036e-05/0.4266, allocations: 12 kB / 0.5829 GB, free: 8.113 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003039/0.4297, allocations: 2.827 MB / 0.5857 GB, free: 5.156 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.4297, allocations: 4.031 kB / 0.5857 GB, free: 5.152 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003921/0.4336, allocations: 3.066 MB / 0.5887 GB, free: 2.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003965/0.434, allocations: 270.1 kB / 0.5889 GB, free: 1.785 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001974/0.4342, allocations: 19.94 kB / 0.5889 GB, free: 1.766 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006728/0.4349, allocations: 47.94 kB / 0.589 GB, free: 1.719 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/0.435, allocations: 60.86 kB / 0.589 GB, free: 1.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.541e-05/0.4351, allocations: 24 kB / 0.5891 GB, free: 1.637 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002162/0.4373, allocations: 1.637 MB / 0.5907 GB, free: 15.99 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4373, allocations: 0 / 0.5907 GB, free: 15.99 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002603/0.4399, allocations: 0.5963 MB / 0.5912 GB, free: 15.39 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.004118/0.444, allocations: 3.697 MB / 0.5948 GB, free: 11.67 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004263/0.4483, allocations: 3.2 MB / 0.598 GB, free: 8.469 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4483, allocations: 1.5 kB / 0.598 GB, free: 8.469 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001021/0.4493, allocations: 0.8639 MB / 0.5988 GB, free: 7.594 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.4505, allocations: 212.2 kB / 0.599 GB, free: 7.387 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03685/0.4873, allocations: 31.37 MB / 0.6297 GB, free: 3.234 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001839/0.4892, allocations: 2.174 MB / 0.6318 GB, free: 1.023 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002755/0.492, allocations: 1.387 MB / 0.6331 GB, free: 15.63 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001119/0.4931, allocations: 1.03 MB / 0.6341 GB, free: 14.6 MB / 478.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4931, allocations: 0 / 0.6341 GB, free: 14.6 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.916/3.409, allocations: 40.28 MB / 0.6735 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003495/3.41, allocations: 210.8 kB / 0.6737 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.401/6.811, allocations: 3.938 kB / 0.6737 GB, free: 6.281 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