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: translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass") translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 103.9 kB / 17.08 MB, free: 6.016 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.001176/0.001176, allocations: 198.2 kB / 18.02 MB, free: 5.094 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.357/1.357, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.2129/0.2129, allocations: 43.52 MB / 314.8 MB, free: 468 kB / 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.001466/0.001466, allocations: 67.89 kB / 442.5 MB, free: 5.684 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09764/0.09912, allocations: 57.78 MB / 0.4885 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.008374/0.1075, allocations: 6.81 MB / 0.4952 GB, free: 4.984 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004919/0.1125, allocations: 2.392 MB / 0.4975 GB, free: 2.586 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008177/0.1133, allocations: 31.94 kB / 0.4975 GB, free: 2.555 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00221/0.1156, allocations: 1.035 MB / 0.4986 GB, free: 1.516 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00198/0.1176, allocations: 0.8323 MB / 0.4994 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007396/0.1183, allocations: 299.3 kB / 0.4997 GB, free: 396 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002405/0.1208, allocations: 1.9 MB / 0.5015 GB, free: 14.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001651/0.1224, allocations: 1.268 MB / 0.5027 GB, free: 13.19 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00113/0.1236, allocations: 0.7199 MB / 0.5035 GB, free: 12.47 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0014/0.125, allocations: 0.9808 MB / 0.5044 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003593/0.1254, allocations: 128 kB / 0.5045 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001257/0.1266, allocations: 0.7098 MB / 0.5052 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008816/0.1275, allocations: 0.9388 MB / 0.5061 GB, free: 9.707 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001254/0.1288, allocations: 1.149 MB / 0.5073 GB, free: 8.551 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003456/0.1323, allocations: 3.736 MB / 0.5109 GB, free: 4.801 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1323, allocations: 0 / 0.5109 GB, free: 4.801 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1323, allocations: 0 / 0.5109 GB, free: 4.801 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001063/0.1324, allocations: 0 / 0.5109 GB, free: 4.801 MB / 398.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.004791/0.1372, allocations: 2.661 MB / 0.5135 GB, free: 2.082 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.1372, allocations: 15.89 kB / 0.5135 GB, free: 2.066 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004893/0.1421, allocations: 1.565 MB / 0.5151 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001717/0.1439, allocations: 1.084 MB / 0.5161 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.891e-05/0.144, allocations: 115.3 kB / 0.5162 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003605/0.1443, allocations: 164 kB / 0.5164 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007928/0.1523, allocations: 6.186 MB / 0.5224 GB, free: 8.418 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.586e-05/0.1524, allocations: 27.66 kB / 0.5224 GB, free: 8.391 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002539/0.1526, allocations: 79.89 kB / 0.5225 GB, free: 8.312 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002235/0.1549, allocations: 1.441 MB / 0.5239 GB, free: 6.863 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008822/0.1637, allocations: 5.397 MB / 0.5292 GB, free: 1.473 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2402/0.4039, allocations: 24.75 MB / 0.5534 GB, free: 19.22 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004678/0.4086, allocations: 2.343 MB / 0.5557 GB, free: 18.04 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001176/0.4098, allocations: 0.9905 MB / 0.5566 GB, free: 17.62 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002871/0.4101, allocations: 333.9 kB / 0.5569 GB, free: 17.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.4101, allocations: 46.36 kB / 0.557 GB, free: 17.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 3.196e-06/0.4102, allocations: 0 / 0.557 GB, free: 17.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=106): time 0.02145/0.4316, allocations: 8.455 MB / 0.5652 GB, free: 13.83 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.4317, allocations: 137 kB / 0.5654 GB, free: 13.67 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004392/0.4361, allocations: 2.642 MB / 0.568 GB, free: 12.67 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.882e-05/0.4362, allocations: 37.61 kB / 0.568 GB, free: 12.63 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001039/0.4372, allocations: 2.022 MB / 0.57 GB, free: 10.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003627/0.4376, allocations: 444.6 kB / 0.5704 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001033/0.4386, allocations: 0.8667 MB / 0.5712 GB, free: 10.12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 3.888e-05/0.4387, allocations: 306.4 kB / 0.5715 GB, free: 9.816 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001685/0.4404, allocations: 1.329 MB / 0.5728 GB, free: 9.188 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002667/0.443, allocations: 4.107 MB / 0.5768 GB, free: 4.621 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004638/0.4477, allocations: 5.934 MB / 0.5826 GB, free: 15.01 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.457e-05/0.4478, allocations: 28 kB / 0.5827 GB, free: 15.01 MB / 430.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.008409/0.4562, allocations: 5.482 MB / 0.588 GB, free: 9.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.898e-05/0.4563, allocations: 48.95 kB / 0.5881 GB, free: 9.523 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001226/0.4564, allocations: 100 kB / 0.5882 GB, free: 9.426 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001072/0.4575, allocations: 472.2 kB / 0.5886 GB, free: 8.965 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002569/0.4601, allocations: 0.9708 MB / 0.5895 GB, free: 7.992 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00399/0.4641, allocations: 3.672 MB / 0.5931 GB, free: 4.191 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002457/0.4665, allocations: 231.5 kB / 0.5934 GB, free: 3.965 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003777/0.4669, allocations: 271.9 kB / 0.5936 GB, free: 3.699 MB / 430.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.002099/0.469, allocations: 1.372 MB / 0.595 GB, free: 2.312 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005467/0.4696, allocations: 225.1 kB / 0.5952 GB, free: 2.094 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002479/0.4721, allocations: 1.318 MB / 0.5965 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.453e-05/0.4721, allocations: 7.922 kB / 0.5965 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.4721, allocations: 3.938 kB / 0.5965 GB, free: 0.75 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007513/0.4729, allocations: 410.1 kB / 0.5969 GB, free: 336 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003337/0.4732, allocations: 23.98 kB / 0.5969 GB, free: 312 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008928/0.4741, allocations: 47.38 kB / 0.5969 GB, free: 268 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001747/0.4743, allocations: 56.36 kB / 0.597 GB, free: 212 kB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003326/0.4776, allocations: 2.046 MB / 0.599 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003305/0.481, allocations: 2.845 MB / 0.6018 GB, free: 11.31 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008076/0.4818, allocations: 0.6709 MB / 0.6024 GB, free: 10.64 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002459/0.4842, allocations: 1.625 MB / 0.604 GB, free: 9.004 MB / 446.1 MB Notification: Performance of Backend: time 3.61e-07/0.4843, allocations: 4 kB / 0.604 GB, free: 9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005314/0.4896, allocations: 2.814 MB / 0.6068 GB, free: 6.203 MB / 446.1 MB Notification: Performance of SimCode: time 0.009852/0.4995, allocations: 5.591 MB / 0.6122 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of Templates: time 0.04701/0.5465, allocations: 25.06 MB / 0.6367 GB, free: 7.609 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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