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.001507/0.001511, allocations: 181.6 kB / 13.66 MB, free: 1.664 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.943/1.943, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.00107/0.00107, allocations: 90.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2671/0.2671, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.522e-05/3.556e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1157, allocations: 58.86 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6026/0.7183, allocations: 96.58 MB / 0.5671 GB, free: 7.172 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/0.7187, allocations: 78.56 kB / 0.5672 GB, free: 7.137 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2063/0.925, allocations: 47.65 MB / 0.6137 GB, free: 13.67 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.9251, allocations: 0 / 0.6137 GB, free: 13.67 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001202/0.9252, allocations: 40 kB / 0.6138 GB, free: 13.63 MB / 426.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.008457/0.9337, allocations: 2.32 MB / 0.616 GB, free: 11.44 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/0.9337, allocations: 8.031 kB / 0.616 GB, free: 11.43 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01349/0.9472, allocations: 1.774 MB / 0.6178 GB, free: 9.656 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004794/0.9521, allocations: 1.362 MB / 0.6191 GB, free: 8.523 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002216/0.9524, allocations: 180 kB / 0.6193 GB, free: 8.402 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001212/0.9536, allocations: 245.1 kB / 0.6195 GB, free: 8.223 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01657/0.9702, allocations: 6.541 MB / 0.6259 GB, free: 2.312 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001321/0.9704, allocations: 43.62 kB / 0.6259 GB, free: 2.27 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006446/0.971, allocations: 119.9 kB / 0.626 GB, free: 2.152 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00148/0.9725, allocations: 0.7033 MB / 0.6267 GB, free: 1.445 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0161/0.9886, allocations: 5.424 MB / 0.632 GB, free: 12.02 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04744/1.036, allocations: 31.83 MB / 0.6631 GB, free: 11.05 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007888/1.044, allocations: 2.332 MB / 0.6654 GB, free: 8.574 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00217/1.046, allocations: 0.9794 MB / 0.6663 GB, free: 7.586 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001649/1.046, allocations: 39.97 kB / 0.6664 GB, free: 7.547 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.779e-05/1.047, allocations: 50.5 kB / 0.6664 GB, free: 7.488 MB / 474.7 MB Notification: Performance of pre-optimization done (n=96): time 7.544e-06/1.047, allocations: 0 / 0.6664 GB, free: 7.488 MB / 474.7 MB Notification: Performance of matching and sorting (n=115): time 0.04119/1.088, allocations: 8.488 MB / 0.6747 GB, free: 14.87 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.591e-05/1.088, allocations: 141.1 kB / 0.6749 GB, free: 14.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005575/1.093, allocations: 2.334 MB / 0.6771 GB, free: 12.34 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002633/1.094, allocations: 41.7 kB / 0.6772 GB, free: 12.29 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002267/1.096, allocations: 2.035 MB / 0.6792 GB, free: 10.23 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007701/1.097, allocations: 466.2 kB / 0.6796 GB, free: 9.77 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004411/1.097, allocations: 87.94 kB / 0.6797 GB, free: 9.684 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004037/1.098, allocations: 0.4965 MB / 0.6802 GB, free: 9.176 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003667/1.101, allocations: 1.344 MB / 0.6815 GB, free: 7.824 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006732/1.108, allocations: 4.118 MB / 0.6855 GB, free: 2.301 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006078/1.114, allocations: 2.374 MB / 0.6878 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.186e-05/1.114, allocations: 28 kB / 0.6879 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=570) (initialization): time 0.01637/1.131, allocations: 5.487 MB / 0.6932 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.827e-05/1.131, allocations: 51.98 kB / 0.6933 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001551/1.131, allocations: 96 kB / 0.6934 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001888/1.133, allocations: 473.3 kB / 0.6938 GB, free: 9.789 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006456/1.14, allocations: 1.018 MB / 0.6948 GB, free: 8.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006304/1.146, allocations: 3.388 MB / 0.6981 GB, free: 5.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00458/1.151, allocations: 235.5 kB / 0.6983 GB, free: 5.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009685/1.152, allocations: 272 kB / 0.6986 GB, free: 4.754 MB / 0.4948 GB 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 () * 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.0009787/1.153, allocations: 440.8 kB / 0.699 GB, free: 4.312 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005935/1.153, allocations: 221.2 kB / 0.6992 GB, free: 4.094 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004562/1.158, allocations: 1.473 MB / 0.7007 GB, free: 2.613 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-05/1.158, allocations: 12 kB / 0.7007 GB, free: 2.602 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/1.158, allocations: 4 kB / 0.7007 GB, free: 2.598 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.003e-05/1.158, allocations: 3.984 kB / 0.7007 GB, free: 2.594 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3484/1.506, allocations: 4.463 MB / 0.705 GB, free: 144.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.688e-05/1.506, allocations: 4.969 kB / 0.705 GB, free: 144.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001748/1.508, allocations: 172.6 kB / 0.7052 GB, free: 144.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001543/1.51, allocations: 315.9 kB / 0.7055 GB, free: 144.9 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001958/1.51, allocations: 21.42 kB / 0.7055 GB, free: 144.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004826/1.515, allocations: 2.804 MB / 0.7083 GB, free: 143.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/1.515, allocations: 1.156 kB / 0.7083 GB, free: 143.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007757/1.523, allocations: 3.309 MB / 0.7115 GB, free: 143.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001414/1.524, allocations: 433.4 kB / 0.7119 GB, free: 143.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004664/1.525, allocations: 19.97 kB / 0.7119 GB, free: 143.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001556/1.526, allocations: 47.23 kB / 0.712 GB, free: 143.1 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002563/1.526, allocations: 56.62 kB / 0.712 GB, free: 143.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000122/1.527, allocations: 36 kB / 0.7121 GB, free: 143.1 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004277/1.531, allocations: 1.596 MB / 0.7136 GB, free: 142.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.22e-07/1.531, allocations: 0 / 0.7136 GB, free: 142.9 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004992/1.536, allocations: 0.6189 MB / 0.7142 GB, free: 142.9 MB / 0.4948 GB 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 (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.0005648/1.537, allocations: 154.9 kB / 0.7144 GB, free: 142.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008038/1.545, allocations: 3.293 MB / 0.7176 GB, free: 142.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/1.545, allocations: 3.5 kB / 0.7176 GB, free: 142.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002224/1.547, allocations: 0.9168 MB / 0.7185 GB, free: 142.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001729/1.549, allocations: 203.7 kB / 0.7187 GB, free: 142.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01511/1.564, allocations: 4.89 MB / 0.7235 GB, free: 141.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004378/1.568, allocations: 2.245 MB / 0.7257 GB, free: 140.9 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00109/1.569, allocations: 204.2 kB / 0.7258 GB, free: 140.9 MB / 0.4948 GB Notification: Performance of SimCode: time 3.186e-06/1.569, allocations: 0 / 0.7258 GB, free: 140.9 MB / 0.4948 GB Notification: Performance of Templates: time 0.08226/1.652, allocations: 44.96 MB / 0.7697 GB, free: 122.6 MB / 0.4948 GB 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