Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.PointMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/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_cpp_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_cpp_ModelicaTest.MultiBody.Parts.PointMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008828/0.0008831, allocations: 175.4 kB / 16.72 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.189/1.189, allocations: 205.4 MB / 222.9 MB, free: 8.938 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007058/0.0007058, allocations: 88.73 kB / 271.2 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3013/0.3013, allocations: 43.56 MB / 363.1 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003852/0.0003854, allocations: 12 kB / 432 MB, free: 5.594 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1044, allocations: 58.85 MB / 490.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.1949/0.2993, allocations: 15.55 MB / 0.4945 GB, free: 34.89 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.007769/0.3071, allocations: 3.834 MB / 0.4982 GB, free: 34.31 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002277/0.3094, allocations: 66.16 kB / 0.4983 GB, free: 34.3 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0022/0.3116, allocations: 0.781 MB / 0.4991 GB, free: 34.13 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005863/0.3175, allocations: 2.218 MB / 0.5012 GB, free: 33.66 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001113/0.3187, allocations: 268.6 kB / 0.5015 GB, free: 33.64 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002661/0.3213, allocations: 2.198 MB / 0.5036 GB, free: 33.34 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002213/0.3236, allocations: 1.629 MB / 0.5052 GB, free: 33.07 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009099/0.3245, allocations: 0.655 MB / 0.5059 GB, free: 32.94 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001123/0.3256, allocations: 0.9825 MB / 0.5068 GB, free: 32.79 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002142/0.3258, allocations: 74.47 kB / 0.5069 GB, free: 32.79 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001181/0.327, allocations: 0.7001 MB / 0.5076 GB, free: 32.73 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005886/0.3276, allocations: 0.864 MB / 0.5084 GB, free: 32.47 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006939/0.3283, allocations: 1.047 MB / 0.5095 GB, free: 31.73 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00203/0.3304, allocations: 2.792 MB / 0.5122 GB, free: 31.24 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.3304, allocations: 3.938 kB / 0.5122 GB, free: 31.24 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3304, allocations: 0 / 0.5122 GB, free: 31.24 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.538e-05/0.3305, allocations: 7.188 kB / 0.5122 GB, free: 31.23 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.002942/0.3334, allocations: 2.188 MB / 0.5143 GB, free: 29.86 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.3335, allocations: 10.28 kB / 0.5143 GB, free: 29.86 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004314/0.3378, allocations: 1.611 MB / 0.5159 GB, free: 29.64 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00156/0.3394, allocations: 1.074 MB / 0.517 GB, free: 28.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.213e-05/0.3395, allocations: 116.5 kB / 0.5171 GB, free: 28.95 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002475/0.3397, allocations: 157.7 kB / 0.5172 GB, free: 28.92 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006829/0.3466, allocations: 6.182 MB / 0.5233 GB, free: 25.95 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.627e-05/0.3466, allocations: 27.69 kB / 0.5233 GB, free: 25.94 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001997/0.3469, allocations: 81.5 kB / 0.5234 GB, free: 25.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00205/0.3489, allocations: 1.444 MB / 0.5248 GB, free: 25.66 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00881/0.3577, allocations: 5.36 MB / 0.53 GB, free: 24.02 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02522/0.383, allocations: 24.88 MB / 0.5543 GB, free: 20.57 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004091/0.3871, allocations: 2.351 MB / 0.5566 GB, free: 19.05 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001015/0.3882, allocations: 0.9825 MB / 0.5576 GB, free: 18.52 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002977/0.3885, allocations: 326.5 kB / 0.5579 GB, free: 18.21 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.3885, allocations: 53.33 kB / 0.5579 GB, free: 18.15 MB / 394.7 MB Notification: Performance of pre-optimization done (n=96): time 3.446e-06/0.3885, allocations: 2.938 kB / 0.5579 GB, free: 18.15 MB / 394.7 MB Notification: Performance of matching and sorting (n=106): time 0.01968/0.4082, allocations: 8.473 MB / 0.5662 GB, free: 11.21 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.999e-05/0.4083, allocations: 136.5 kB / 0.5663 GB, free: 11.05 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00321/0.4116, allocations: 2.628 MB / 0.5689 GB, free: 8.395 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001462/0.4117, allocations: 45.69 kB / 0.5689 GB, free: 8.344 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001293/0.413, allocations: 2.024 MB / 0.5709 GB, free: 6.324 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003818/0.4134, allocations: 437.4 kB / 0.5713 GB, free: 5.902 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000178/0.4136, allocations: 84.19 kB / 0.5714 GB, free: 5.82 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002818/0.4139, allocations: 499.4 kB / 0.5719 GB, free: 5.324 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001839/0.4157, allocations: 1.312 MB / 0.5732 GB, free: 4.004 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003477/0.4192, allocations: 4.096 MB / 0.5772 GB, free: 14.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006051/0.4253, allocations: 5.921 MB / 0.583 GB, free: 7.203 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.125e-05/0.4254, allocations: 28 kB / 0.583 GB, free: 7.176 MB / 410.7 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.008331/0.4337, allocations: 5.449 MB / 0.5883 GB, free: 1.719 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.824e-05/0.4338, allocations: 48 kB / 0.5883 GB, free: 1.672 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001103/0.4339, allocations: 100 kB / 0.5884 GB, free: 1.574 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001025/0.435, allocations: 464.5 kB / 0.5889 GB, free: 1.117 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002534/0.4375, allocations: 0.9708 MB / 0.5898 GB, free: 148 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003686/0.4412, allocations: 3.399 MB / 0.5932 GB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002249/0.4435, allocations: 238.1 kB / 0.5934 GB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003318/0.4438, allocations: 268 kB / 0.5936 GB, free: 12.12 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001839/0.4457, allocations: 1.364 MB / 0.595 GB, free: 10.75 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003409/0.446, allocations: 217.2 kB / 0.5952 GB, free: 10.54 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002228/0.4482, allocations: 1.322 MB / 0.5965 GB, free: 9.195 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-05/0.4483, allocations: 12 kB / 0.5965 GB, free: 9.184 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.4483, allocations: 4 kB / 0.5965 GB, free: 9.18 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.966e-06/0.4483, allocations: 7.984 kB / 0.5965 GB, free: 9.172 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006795/0.4551, allocations: 4.248 MB / 0.6006 GB, free: 4.887 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/0.4552, allocations: 4 kB / 0.6006 GB, free: 4.883 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005815/0.4558, allocations: 139.8 kB / 0.6008 GB, free: 4.746 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008309/0.4566, allocations: 314 kB / 0.6011 GB, free: 4.438 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001041/0.4567, allocations: 19.94 kB / 0.6011 GB, free: 4.418 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002972/0.4597, allocations: 2.828 MB / 0.6039 GB, free: 1.461 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.229e-06/0.4597, allocations: 3.938 kB / 0.6039 GB, free: 1.457 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003777/0.4635, allocations: 3.051 MB / 0.6068 GB, free: 14.38 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007446/0.4643, allocations: 418 kB / 0.6072 GB, free: 13.95 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002007/0.4645, allocations: 12.62 kB / 0.6072 GB, free: 13.94 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000694/0.4652, allocations: 56.5 kB / 0.6073 GB, free: 13.88 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.4653, allocations: 56.36 kB / 0.6074 GB, free: 13.83 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.416e-05/0.4654, allocations: 24.62 kB / 0.6074 GB, free: 13.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002208/0.4676, allocations: 1.621 MB / 0.609 GB, free: 12.17 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4676, allocations: 4.062 kB / 0.609 GB, free: 12.17 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002771/0.4704, allocations: 0.599 MB / 0.6096 GB, free: 11.57 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003069/0.4707, allocations: 140.8 kB / 0.6097 GB, free: 11.43 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004388/0.4751, allocations: 3.186 MB / 0.6128 GB, free: 8.246 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.583e-06/0.4752, allocations: 0 / 0.6128 GB, free: 8.246 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00108/0.4762, allocations: 0.871 MB / 0.6136 GB, free: 7.367 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00144/0.4777, allocations: 197.7 kB / 0.6138 GB, free: 7.172 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008831/0.4865, allocations: 6.756 MB / 0.6204 GB, free: 376 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001941/0.4885, allocations: 2.167 MB / 0.6225 GB, free: 14.17 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005691/0.4891, allocations: 195.4 kB / 0.6227 GB, free: 13.98 MB / 458.7 MB Notification: Performance of SimCode: time 9.82e-07/0.4891, allocations: 0 / 0.6227 GB, free: 13.98 MB / 458.7 MB Notification: Performance of Templates: time 0.0553/0.5444, allocations: 45.27 MB / 0.6669 GB, free: 0.7109 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.PointMass.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.PointMass.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.PointMass --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.MultiBody.Parts.PointMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches