Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001369/0.00137, allocations: 172.3 kB / 16.07 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.423/1.423, allocations: 205.6 MB / 222.4 MB, free: 8.941 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008607/0.0008607, allocations: 86.78 kB / 270.8 MB, free: 8.133 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3592/0.3592, allocations: 43.67 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003226/0.0003226, allocations: 8 kB / 432.3 MB, free: 4.812 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1092, allocations: 58.84 MB / 491.1 MB, free: 9.836 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.2018/0.3111, allocations: 15.61 MB / 0.4949 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01037/0.3215, allocations: 5.735 MB / 0.5005 GB, free: 32.78 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003383/0.3249, allocations: 65.03 kB / 0.5005 GB, free: 32.77 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001164/0.3261, allocations: 271.4 kB / 0.5008 GB, free: 32.71 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003061/0.3292, allocations: 0.7994 MB / 0.5016 GB, free: 32.55 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009154/0.3302, allocations: 273.2 kB / 0.5018 GB, free: 32.52 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003258/0.3334, allocations: 2.775 MB / 0.5045 GB, free: 32.22 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002533/0.336, allocations: 1.892 MB / 0.5064 GB, free: 31.4 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001169/0.3372, allocations: 0.6622 MB / 0.507 GB, free: 31.21 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001564/0.3387, allocations: 0.996 MB / 0.508 GB, free: 30.96 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004105/0.3392, allocations: 73.19 kB / 0.5081 GB, free: 30.96 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001598/0.3408, allocations: 0.6924 MB / 0.5088 GB, free: 30.81 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009465/0.3417, allocations: 0.892 MB / 0.5096 GB, free: 30.52 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001365/0.3431, allocations: 1.111 MB / 0.5107 GB, free: 29.72 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003268/0.3464, allocations: 3.47 MB / 0.5141 GB, free: 28.8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.3464, allocations: 0 / 0.5141 GB, free: 28.8 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3464, allocations: 0 / 0.5141 GB, free: 28.8 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001352/0.3466, allocations: 0 / 0.5141 GB, free: 28.8 MB / 378.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.003675/0.3502, allocations: 2.199 MB / 0.5163 GB, free: 27.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.3503, allocations: 12.7 kB / 0.5163 GB, free: 27.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004428/0.3547, allocations: 1.606 MB / 0.5178 GB, free: 27.2 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001443/0.3562, allocations: 1.075 MB / 0.5189 GB, free: 26.54 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.923e-05/0.3563, allocations: 116.8 kB / 0.519 GB, free: 26.51 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002626/0.3565, allocations: 153.8 kB / 0.5191 GB, free: 26.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006829/0.3634, allocations: 6.176 MB / 0.5252 GB, free: 23.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.276e-05/0.3634, allocations: 32 kB / 0.5252 GB, free: 23.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002003/0.3636, allocations: 81.39 kB / 0.5253 GB, free: 23.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001914/0.3656, allocations: 1.439 MB / 0.5267 GB, free: 23.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008234/0.3738, allocations: 5.364 MB / 0.5319 GB, free: 21.59 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02584/0.3997, allocations: 24.88 MB / 0.5562 GB, free: 18.37 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004345/0.4041, allocations: 2.353 MB / 0.5585 GB, free: 16.84 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00121/0.4053, allocations: 0.9866 MB / 0.5595 GB, free: 16.31 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003846/0.4057, allocations: 331.6 kB / 0.5598 GB, free: 16 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/0.4058, allocations: 51.22 kB / 0.5598 GB, free: 15.94 MB / 394.7 MB Notification: Performance of pre-optimization done (n=96): time 4.759e-06/0.4058, allocations: 0 / 0.5598 GB, free: 15.94 MB / 394.7 MB Notification: Performance of matching and sorting (n=106): time 0.02203/0.4278, allocations: 8.473 MB / 0.5681 GB, free: 8.668 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.894e-05/0.4279, allocations: 152.5 kB / 0.5683 GB, free: 8.488 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003483/0.4314, allocations: 2.62 MB / 0.5708 GB, free: 5.844 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001398/0.4316, allocations: 42.72 kB / 0.5709 GB, free: 5.797 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001474/0.4331, allocations: 2.018 MB / 0.5728 GB, free: 3.77 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004655/0.4335, allocations: 438.6 kB / 0.5733 GB, free: 3.336 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/0.4337, allocations: 88 kB / 0.5733 GB, free: 3.25 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002724/0.434, allocations: 495.5 kB / 0.5738 GB, free: 2.758 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001773/0.4358, allocations: 1.316 MB / 0.5751 GB, free: 1.434 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003578/0.4393, allocations: 4.088 MB / 0.5791 GB, free: 11.94 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006499/0.4459, allocations: 5.917 MB / 0.5849 GB, free: 4.645 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.657e-05/0.446, allocations: 28 kB / 0.5849 GB, free: 4.617 MB / 410.7 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.01037/0.4563, allocations: 5.456 MB / 0.5902 GB, free: 15.16 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.703e-05/0.4564, allocations: 51.91 kB / 0.5903 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001218/0.4566, allocations: 100 kB / 0.5904 GB, free: 15.01 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001094/0.4577, allocations: 456.9 kB / 0.5908 GB, free: 14.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00313/0.4608, allocations: 0.9708 MB / 0.5917 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004032/0.4649, allocations: 3.402 MB / 0.5951 GB, free: 10.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003082/0.468, allocations: 231.5 kB / 0.5953 GB, free: 9.828 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005162/0.4685, allocations: 280 kB / 0.5956 GB, free: 9.555 MB / 426.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.002162/0.4707, allocations: 1.36 MB / 0.5969 GB, free: 8.184 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003878/0.4711, allocations: 217.2 kB / 0.5971 GB, free: 7.969 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002412/0.4735, allocations: 1.33 MB / 0.5984 GB, free: 6.621 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.779e-05/0.4735, allocations: 12 kB / 0.5984 GB, free: 6.609 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.4736, allocations: 7.984 kB / 0.5984 GB, free: 6.602 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.4736, allocations: 3.984 kB / 0.5984 GB, free: 6.598 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007784/0.4814, allocations: 4.242 MB / 0.6026 GB, free: 2.297 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.475e-05/0.4814, allocations: 4 kB / 0.6026 GB, free: 2.293 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006632/0.4821, allocations: 139.8 kB / 0.6027 GB, free: 2.156 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000875/0.483, allocations: 316.5 kB / 0.603 GB, free: 1.844 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-05/0.4831, allocations: 16 kB / 0.603 GB, free: 1.828 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003271/0.4864, allocations: 2.812 MB / 0.6058 GB, free: 14.88 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.857e-06/0.4864, allocations: 11.91 kB / 0.6058 GB, free: 14.87 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00427/0.4907, allocations: 3.051 MB / 0.6087 GB, free: 11.79 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009705/0.4917, allocations: 422 kB / 0.6092 GB, free: 11.36 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002175/0.4919, allocations: 12 kB / 0.6092 GB, free: 11.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007182/0.4926, allocations: 55.88 kB / 0.6092 GB, free: 11.29 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001714/0.4928, allocations: 60.36 kB / 0.6093 GB, free: 11.23 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.129e-05/0.4929, allocations: 28 kB / 0.6093 GB, free: 11.2 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002459/0.4953, allocations: 1.613 MB / 0.6109 GB, free: 9.578 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.4954, allocations: 0 / 0.6109 GB, free: 9.578 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00328/0.4986, allocations: 0.5938 MB / 0.6115 GB, free: 8.984 MB / 442.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.0003868/0.499, allocations: 155 kB / 0.6116 GB, free: 8.824 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005929/0.505, allocations: 3.188 MB / 0.6147 GB, free: 5.641 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.505, allocations: 0 / 0.6147 GB, free: 5.641 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001266/0.5063, allocations: 0.865 MB / 0.6156 GB, free: 4.766 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001885/0.5082, allocations: 217.7 kB / 0.6158 GB, free: 4.551 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01066/0.5189, allocations: 6.706 MB / 0.6223 GB, free: 13.8 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002262/0.5212, allocations: 2.175 MB / 0.6244 GB, free: 11.6 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003343/0.5245, allocations: 1.387 MB / 0.6258 GB, free: 10.2 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004789/0.525, allocations: 159.4 kB / 0.6259 GB, free: 10.05 MB / 458.7 MB Notification: Performance of SimCode: time 1.182e-06/0.525, allocations: 0 / 0.6259 GB, free: 10.05 MB / 458.7 MB Notification: Performance of Templates: time 0.03703/0.5621, allocations: 19.33 MB / 0.6448 GB, free: 6.762 MB / 474.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches