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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.0008794/0.0008793, allocations: 184.6 kB / 8.008 MB, free: 1.039 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.519/1.519, allocations: 205.3 MB / 213.7 MB, free: 13.78 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.0008464/0.0008463, allocations: 82.73 kB / 261.7 MB, free: 13.46 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.2131/0.2131, allocations: 43.49 MB / 353.2 MB, free: 1.852 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.82e-05/1.823e-05, allocations: 4.219 kB / 418.3 MB, free: 40.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3134, allocations: 58.85 MB / 477.1 MB, free: 5.293 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.136/0.4495, allocations: 95.92 MB / 0.5596 GB, free: 2.895 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000244/0.4498, allocations: 71.97 kB / 0.5597 GB, free: 2.824 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1192/0.569, allocations: 46.64 MB / 0.6052 GB, free: 3.746 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.569, allocations: 0 / 0.6052 GB, free: 3.746 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.361e-05/0.5691, allocations: 40 kB / 0.6053 GB, free: 3.707 MB / 442.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.00564/0.5747, allocations: 2.319 MB / 0.6075 GB, free: 1.332 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.5748, allocations: 8.031 kB / 0.6075 GB, free: 1.324 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007376/0.5822, allocations: 1.771 MB / 0.6093 GB, free: 15.55 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003257/0.5855, allocations: 1.364 MB / 0.6106 GB, free: 14.14 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.144e-05/0.5856, allocations: 76 kB / 0.6107 GB, free: 14.06 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005322/0.5861, allocations: 143.8 kB / 0.6108 GB, free: 13.92 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006037/0.5922, allocations: 3.729 MB / 0.6144 GB, free: 10.19 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008754/0.601, allocations: 6.076 MB / 0.6204 GB, free: 3.352 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.91e-05/0.6011, allocations: 35.69 kB / 0.6204 GB, free: 3.316 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002953/0.6014, allocations: 27.98 kB / 0.6204 GB, free: 3.289 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008585/0.6023, allocations: 0.7149 MB / 0.6211 GB, free: 2.574 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2826/0.8849, allocations: 30.45 MB / 0.6509 GB, free: 104.2 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002594/0.8875, allocations: 2.006 MB / 0.6528 GB, free: 103.5 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00108/0.8886, allocations: 0.9464 MB / 0.6537 GB, free: 103.5 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001167/0.8888, allocations: 44.27 kB / 0.6538 GB, free: 103.5 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.8888, allocations: 48.59 kB / 0.6538 GB, free: 103.4 MB / 474.7 MB Notification: Performance of pre-optimization done (n=96): time 3.546e-06/0.8888, allocations: 0 / 0.6538 GB, free: 103.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=117): time 0.01763/0.9064, allocations: 8.415 MB / 0.6621 GB, free: 101.6 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.9065, allocations: 138.2 kB / 0.6622 GB, free: 101.4 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003174/0.9097, allocations: 2.021 MB / 0.6642 GB, free: 101.2 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001394/0.9099, allocations: 25.7 kB / 0.6642 GB, free: 101.1 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001173/0.911, allocations: 2.094 MB / 0.6662 GB, free: 99.94 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004621/0.9115, allocations: 459.2 kB / 0.6667 GB, free: 99.69 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001296/0.9116, allocations: 0 / 0.6667 GB, free: 99.69 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002615/0.9119, allocations: 0.5362 MB / 0.6672 GB, free: 99.37 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001697/0.9136, allocations: 1.306 MB / 0.6685 GB, free: 99.31 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002868/0.9165, allocations: 4.199 MB / 0.6726 GB, free: 94.93 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002861/0.9194, allocations: 2.358 MB / 0.6749 GB, free: 94.28 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.913e-05/0.9194, allocations: 31.27 kB / 0.6749 GB, free: 94.28 MB / 474.7 MB Notification: Performance of matching and sorting (n=596) (initialization): time 0.006863/0.9263, allocations: 5.09 MB / 0.6799 GB, free: 92.74 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.992e-05/0.9264, allocations: 54.19 kB / 0.6799 GB, free: 92.74 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.131e-05/0.9265, allocations: 103.5 kB / 0.68 GB, free: 92.74 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009548/0.9274, allocations: 471.4 kB / 0.6805 GB, free: 92.66 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002731/0.9302, allocations: 1.072 MB / 0.6815 GB, free: 92.52 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002852/0.933, allocations: 3.149 MB / 0.6846 GB, free: 90.51 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002919/0.936, allocations: 152.2 kB / 0.6847 GB, free: 90.49 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004519/0.9365, allocations: 295.3 kB / 0.685 GB, free: 90.45 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 475 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (563): * Single equations (assignments): 559 * 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.0005453/0.937, allocations: 361.2 kB / 0.6854 GB, free: 90.16 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003307/0.9373, allocations: 199.7 kB / 0.6856 GB, free: 90.05 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002173/0.9395, allocations: 1.411 MB / 0.6869 GB, free: 89.52 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.037e-05/0.9396, allocations: 18.11 kB / 0.687 GB, free: 89.52 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/0.9396, allocations: 3.312 kB / 0.687 GB, free: 89.52 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.9396, allocations: 7.172 kB / 0.687 GB, free: 89.52 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005972/0.9456, allocations: 4.002 MB / 0.6909 GB, free: 87.98 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.9456, allocations: 0 / 0.6909 GB, free: 87.98 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007766/0.9464, allocations: 174.9 kB / 0.691 GB, free: 87.96 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000696/0.9471, allocations: 309.3 kB / 0.6913 GB, free: 87.88 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.922e-05/0.9471, allocations: 3.875 kB / 0.6913 GB, free: 87.88 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002163/0.9493, allocations: 2.62 MB / 0.6939 GB, free: 86.12 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.9493, allocations: 3.531 kB / 0.6939 GB, free: 86.12 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003413/0.9528, allocations: 3.246 MB / 0.6971 GB, free: 84.64 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006499/0.9534, allocations: 408.7 kB / 0.6975 GB, free: 84.38 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001945/0.9536, allocations: 7.516 kB / 0.6975 GB, free: 84.38 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006937/0.9543, allocations: 28.08 kB / 0.6975 GB, free: 84.38 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.9545, allocations: 67.95 kB / 0.6976 GB, free: 84.36 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.807e-05/0.9545, allocations: 36.09 kB / 0.6976 GB, free: 84.35 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002169/0.9567, allocations: 1.312 MB / 0.6989 GB, free: 83.83 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.01e-07/0.9567, allocations: 4.062 kB / 0.6989 GB, free: 83.83 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004629/0.9614, allocations: 0.5237 MB / 0.6994 GB, free: 83.83 MB / 474.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 84 * 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.0003837/0.9618, allocations: 132 kB / 0.6995 GB, free: 83.73 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004132/0.9659, allocations: 3.149 MB / 0.7026 GB, free: 82.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.9659, allocations: 1.422 kB / 0.7026 GB, free: 82.6 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008896/0.9668, allocations: 0.9107 MB / 0.7035 GB, free: 82.21 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008677/0.9677, allocations: 141.9 kB / 0.7036 GB, free: 82.12 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00717/0.9749, allocations: 4.555 MB / 0.7081 GB, free: 78.68 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001717/0.9766, allocations: 2.245 MB / 0.7103 GB, free: 76.88 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002804/0.9794, allocations: 1.467 MB / 0.7117 GB, free: 75.98 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003432/0.9798, allocations: 155 kB / 0.7118 GB, free: 75.83 MB / 474.7 MB Notification: Performance of SimCode: time 7.81e-07/0.9798, allocations: 0 / 0.7118 GB, free: 75.83 MB / 474.7 MB Notification: Performance of Templates: time 0.02741/1.007, allocations: 18.07 MB / 0.7295 GB, free: 61.5 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