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.002232/0.002232, allocations: 179.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.107/2.107, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001105/0.001105, allocations: 94.62 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3405/0.3405, allocations: 43.49 MB / 353.6 MB, free: 2.262 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.387e-05/2.399e-05, allocations: 224 / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4055/0.4056, allocations: 58.85 MB / 477.1 MB, free: 5.277 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1881/0.5937, allocations: 95.93 MB / 0.5596 GB, free: 3.371 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002991/0.594, allocations: 75.95 kB / 0.5596 GB, free: 3.297 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.2045/0.7986, allocations: 46.64 MB / 0.6052 GB, free: 4.223 MB / 443.1 MB Notification: Performance of FrontEnd: time 4.889e-06/0.7987, allocations: 4 kB / 0.6052 GB, free: 4.219 MB / 443.1 MB Notification: Performance of Transformations before backend: time 0.0001254/0.7988, allocations: 44 kB / 0.6052 GB, free: 4.176 MB / 443.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.008527/0.8073, allocations: 2.315 MB / 0.6075 GB, free: 1.805 MB / 443.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/0.8074, allocations: 12.03 kB / 0.6075 GB, free: 1.793 MB / 443.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01355/0.821, allocations: 1.767 MB / 0.6092 GB, free: 20 kB / 443.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005146/0.8262, allocations: 1.367 MB / 0.6106 GB, free: 14.61 MB / 459.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001378/0.8263, allocations: 76 kB / 0.6106 GB, free: 14.53 MB / 459.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009808/0.8273, allocations: 147.8 kB / 0.6108 GB, free: 14.39 MB / 459.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01285/0.8402, allocations: 3.729 MB / 0.6144 GB, free: 10.65 MB / 459.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01743/0.8577, allocations: 6.076 MB / 0.6204 GB, free: 3.816 MB / 459.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001349/0.8579, allocations: 35.69 kB / 0.6204 GB, free: 3.781 MB / 459.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005096/0.8585, allocations: 24 kB / 0.6204 GB, free: 3.758 MB / 459.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001493/0.86, allocations: 0.7072 MB / 0.6211 GB, free: 3.051 MB / 459.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3936/1.254, allocations: 30.45 MB / 0.6508 GB, free: 104.5 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003737/1.257, allocations: 2 MB / 0.6528 GB, free: 103.8 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001952/1.259, allocations: 0.9456 MB / 0.6537 GB, free: 103.8 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001916/1.26, allocations: 48.64 kB / 0.6538 GB, free: 103.8 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/1.26, allocations: 39.38 kB / 0.6538 GB, free: 103.7 MB / 475.1 MB Notification: Performance of pre-optimization done (n=96): time 5.32e-06/1.26, allocations: 0 / 0.6538 GB, free: 103.7 MB / 475.1 MB Notification: Performance of matching and sorting (n=117): time 0.03119/1.291, allocations: 8.415 MB / 0.662 GB, free: 101.9 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.168e-05/1.291, allocations: 144 kB / 0.6622 GB, free: 101.7 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005862/1.297, allocations: 2.022 MB / 0.6641 GB, free: 101.5 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003035/1.297, allocations: 25.7 kB / 0.6642 GB, free: 101.4 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002311/1.3, allocations: 2.118 MB / 0.6662 GB, free: 100.2 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000925/1.301, allocations: 466.6 kB / 0.6667 GB, free: 99.93 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000582/1.301, allocations: 1.188 kB / 0.6667 GB, free: 99.93 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 0.0004293/1.302, allocations: 0.5054 MB / 0.6672 GB, free: 99.61 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003679/1.305, allocations: 1.306 MB / 0.6684 GB, free: 99.6 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005591/1.311, allocations: 4.2 MB / 0.6725 GB, free: 95.37 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005734/1.317, allocations: 2.355 MB / 0.6748 GB, free: 94.72 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001934/1.317, allocations: 29.12 kB / 0.6749 GB, free: 94.72 MB / 475.1 MB Notification: Performance of matching and sorting (n=596) (initialization): time 0.01483/1.332, allocations: 5.064 MB / 0.6798 GB, free: 93.21 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001391/1.332, allocations: 53.28 kB / 0.6799 GB, free: 93.21 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000245/1.332, allocations: 105.3 kB / 0.68 GB, free: 93.21 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002558/1.335, allocations: 476.9 kB / 0.6804 GB, free: 93.12 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009026/1.344, allocations: 1.066 MB / 0.6815 GB, free: 92.99 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006496/1.351, allocations: 3.162 MB / 0.6846 GB, free: 90.98 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004913/1.355, allocations: 153 kB / 0.6847 GB, free: 90.96 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001056/1.357, allocations: 288.3 kB / 0.685 GB, free: 90.92 MB / 475.1 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.001061/1.358, allocations: 353.2 kB / 0.6853 GB, free: 90.62 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006572/1.358, allocations: 203.2 kB / 0.6855 GB, free: 90.52 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003881/1.362, allocations: 1.413 MB / 0.6869 GB, free: 89.99 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.116e-05/1.362, allocations: 15.12 kB / 0.6869 GB, free: 89.99 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.468e-05/1.362, allocations: 7.828 kB / 0.6869 GB, free: 89.98 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.501e-05/1.362, allocations: 4.781 kB / 0.6869 GB, free: 89.98 MB / 475.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01193/1.374, allocations: 4.009 MB / 0.6908 GB, free: 88.44 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.387e-05/1.374, allocations: 2.562 kB / 0.6908 GB, free: 88.44 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001686/1.376, allocations: 171.8 kB / 0.691 GB, free: 88.43 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001373/1.377, allocations: 306.5 kB / 0.6913 GB, free: 88.35 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001485/1.378, allocations: 7.578 kB / 0.6913 GB, free: 88.34 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003939/1.382, allocations: 2.616 MB / 0.6938 GB, free: 86.58 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/1.382, allocations: 0 / 0.6938 GB, free: 86.58 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006359/1.388, allocations: 3.242 MB / 0.697 GB, free: 85.11 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001313/1.389, allocations: 412.7 kB / 0.6974 GB, free: 84.84 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003693/1.39, allocations: 0 / 0.6974 GB, free: 84.84 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001503/1.391, allocations: 37.19 kB / 0.6974 GB, free: 84.84 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002355/1.392, allocations: 61.84 kB / 0.6975 GB, free: 84.83 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001137/1.392, allocations: 36.11 kB / 0.6975 GB, free: 84.82 MB / 475.1 MB Notification: Performance of sorting global known variables: time 0.002775/1.394, allocations: 1.317 MB / 0.6988 GB, free: 84.3 MB / 475.1 MB Notification: Performance of sort global known variables: time 6.41e-07/1.394, allocations: 3.469 kB / 0.6988 GB, free: 84.3 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.005279/1.4, allocations: 0.5191 MB / 0.6993 GB, free: 84.3 MB / 475.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 () * 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.0004647/1.4, allocations: 138 kB / 0.6995 GB, free: 84.2 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 0.006731/1.407, allocations: 3.153 MB / 0.7025 GB, free: 83.07 MB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/1.407, allocations: 3.938 kB / 0.7025 GB, free: 83.06 MB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001703/1.409, allocations: 0.8999 MB / 0.7034 GB, free: 82.68 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001356/1.41, allocations: 141.4 kB / 0.7036 GB, free: 82.59 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01221/1.422, allocations: 4.845 MB / 0.7083 GB, free: 79.6 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002978/1.425, allocations: 2.247 MB / 0.7105 GB, free: 77.8 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001048/1.427, allocations: 198.5 kB / 0.7107 GB, free: 77.62 MB / 475.1 MB Notification: Performance of SimCode: time 1.192e-06/1.427, allocations: 0 / 0.7107 GB, free: 77.62 MB / 475.1 MB Notification: Performance of Templates: time 0.07923/1.506, allocations: 43.68 MB / 0.7533 GB, free: 38.4 MB / 475.1 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/jenkins1/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