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.002289/0.002288, allocations: 186.2 kB / 16.4 MB, free: 5.746 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.912/1.912, allocations: 205.4 MB / 222.5 MB, free: 9.133 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.001177/0.001178, allocations: 95.39 kB / 270.9 MB, free: 8.371 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.4964/0.4964, allocations: 43.55 MB / 362.7 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004515/0.0004514, allocations: 8 kB / 431.4 MB, free: 6.188 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.126, allocations: 58.85 MB / 490.2 MB, free: 11.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4718/0.5978, allocations: 96.67 MB / 0.5731 GB, free: 6.039 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002902/0.5981, allocations: 75.97 kB / 0.5732 GB, free: 5.965 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2025/0.8006, allocations: 47.63 MB / 0.6197 GB, free: 5.973 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.955e-06/0.8007, allocations: 0 / 0.6197 GB, free: 5.973 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000116/0.8008, allocations: 44 kB / 0.6198 GB, free: 5.93 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.009958/0.8108, allocations: 2.4 MB / 0.6221 GB, free: 3.473 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/0.8108, allocations: 8.031 kB / 0.6221 GB, free: 3.465 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01393/0.8248, allocations: 1.782 MB / 0.6239 GB, free: 1.68 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005037/0.8299, allocations: 1.365 MB / 0.6252 GB, free: 272 kB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002518/0.8302, allocations: 180.7 kB / 0.6254 GB, free: 88 kB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001401/0.8316, allocations: 244 kB / 0.6256 GB, free: 15.84 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01733/0.8489, allocations: 6.589 MB / 0.632 GB, free: 8.488 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001519/0.8491, allocations: 47.53 kB / 0.6321 GB, free: 8.441 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006094/0.8498, allocations: 127.9 kB / 0.6322 GB, free: 8.316 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001415/0.8512, allocations: 0.6955 MB / 0.6329 GB, free: 7.621 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01576/0.867, allocations: 5.513 MB / 0.6383 GB, free: 2.109 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04438/0.9114, allocations: 31.81 MB / 0.6693 GB, free: 1.176 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3279/1.239, allocations: 2.345 MB / 0.6716 GB, free: 115.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001972/1.24, allocations: 35.94 kB / 0.6717 GB, free: 115.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.987e-05/1.24, allocations: 46.02 kB / 0.6717 GB, free: 115.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 3.89e-05/1.24, allocations: 4.453 kB / 0.6717 GB, free: 115.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=115): time 0.04349/1.283, allocations: 9.734 MB / 0.6812 GB, free: 113.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.146e-05/1.283, allocations: 140 kB / 0.6813 GB, free: 113.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006079/1.289, allocations: 2.359 MB / 0.6836 GB, free: 113 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002889/1.29, allocations: 39.58 kB / 0.6837 GB, free: 112.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001869/1.292, allocations: 2.034 MB / 0.6857 GB, free: 111.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007651/1.293, allocations: 466.2 kB / 0.6861 GB, free: 111.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005193/1.293, allocations: 87.59 kB / 0.6862 GB, free: 111.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002975/1.293, allocations: 0.4952 MB / 0.6867 GB, free: 111.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003507/1.297, allocations: 1.375 MB / 0.688 GB, free: 111.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005561/1.303, allocations: 4.147 MB / 0.6921 GB, free: 107.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005571/1.308, allocations: 2.366 MB / 0.6944 GB, free: 107.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001209/1.308, allocations: 31.22 kB / 0.6944 GB, free: 107.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=570) (initialization): time 0.01508/1.323, allocations: 5.547 MB / 0.6998 GB, free: 107 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.271e-05/1.324, allocations: 53.78 kB / 0.6999 GB, free: 107 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001898/1.324, allocations: 102.2 kB / 0.7 GB, free: 107 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001839/1.326, allocations: 478.6 kB / 0.7004 GB, free: 106.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006128/1.332, allocations: 1.023 MB / 0.7014 GB, free: 106.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005753/1.338, allocations: 3.457 MB / 0.7048 GB, free: 104.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004548/1.342, allocations: 231.4 kB / 0.705 GB, free: 104.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001005/1.343, allocations: 280.3 kB / 0.7053 GB, free: 104.5 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 451 * 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 (537): * Single equations (assignments): 533 * 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.003627/1.347, allocations: 1.381 MB / 0.7066 GB, free: 103.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006462/1.348, allocations: 219.5 kB / 0.7069 GB, free: 103.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004472/1.352, allocations: 1.476 MB / 0.7083 GB, free: 103.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.327e-05/1.352, allocations: 17.2 kB / 0.7083 GB, free: 103.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.365e-05/1.352, allocations: 5.781 kB / 0.7083 GB, free: 103.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-05/1.352, allocations: 8.375 kB / 0.7083 GB, free: 103.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01365/1.366, allocations: 4.477 MB / 0.7127 GB, free: 101.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.856e-05/1.366, allocations: 1.562 kB / 0.7127 GB, free: 101.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001728/1.368, allocations: 171.7 kB / 0.7129 GB, free: 101.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001626/1.369, allocations: 320.9 kB / 0.7132 GB, free: 101.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002193/1.37, allocations: 19.38 kB / 0.7132 GB, free: 101.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005028/1.375, allocations: 2.884 MB / 0.716 GB, free: 99.34 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/1.375, allocations: 0.9688 kB / 0.716 GB, free: 99.34 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00812/1.383, allocations: 3.333 MB / 0.7193 GB, free: 97.82 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001518/1.384, allocations: 438.7 kB / 0.7197 GB, free: 97.53 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006308/1.385, allocations: 18.25 kB / 0.7197 GB, free: 97.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001669/1.387, allocations: 45.58 kB / 0.7197 GB, free: 97.51 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002994/1.387, allocations: 60.64 kB / 0.7198 GB, free: 97.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001233/1.387, allocations: 32.7 kB / 0.7198 GB, free: 97.49 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004489/1.392, allocations: 1.621 MB / 0.7214 GB, free: 96.91 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.152e-06/1.392, allocations: 0 / 0.7214 GB, free: 96.91 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005208/1.397, allocations: 0.6181 MB / 0.722 GB, free: 96.84 MB / 490.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 (86): * Single equations (assignments): 82 * 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.0005741/1.398, allocations: 163.6 kB / 0.7222 GB, free: 96.71 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00805/1.406, allocations: 3.327 MB / 0.7254 GB, free: 95.53 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/1.406, allocations: 7.406 kB / 0.7254 GB, free: 95.53 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002118/1.408, allocations: 0.9307 MB / 0.7263 GB, free: 95.13 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001712/1.41, allocations: 187.6 kB / 0.7265 GB, free: 95.03 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01688/1.427, allocations: 6.819 MB / 0.7332 GB, free: 91.52 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0047/1.431, allocations: 2.248 MB / 0.7354 GB, free: 90.48 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001118/1.432, allocations: 196.1 kB / 0.7356 GB, free: 90.47 MB / 490.7 MB Notification: Performance of SimCode: time 1.813e-06/1.432, allocations: 2.844 kB / 0.7356 GB, free: 90.47 MB / 490.7 MB Notification: Performance of Templates: time 0.09098/1.523, allocations: 44.97 MB / 0.7795 GB, free: 65.77 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/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