Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.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.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00214/0.002139, allocations: 177.8 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.036/2.036, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.001102/0.001102, allocations: 97.64 kB / 262.1 MB, free: 13.86 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.2958/0.2958, allocations: 43.49 MB / 353.6 MB, free: 2.262 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.97e-05/2.996e-05, allocations: 4.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4196/0.4196, allocations: 58.85 MB / 477.1 MB, free: 5.258 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1973/0.6169, allocations: 106.3 MB / 0.5697 GB, free: 8.996 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002926/0.6173, allocations: 83.95 kB / 0.5698 GB, free: 8.914 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.8397/1.457, allocations: 112.7 MB / 0.6798 GB, free: 106.3 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.766e-06/1.457, allocations: 0 / 0.6798 GB, free: 106.3 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0004167/1.458, allocations: 104.2 kB / 0.6799 GB, free: 106.3 MB / 475.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1959 * Number of variables: 1959 Notification: Performance of Generate backend data structure: time 0.0227/1.48, allocations: 5.471 MB / 0.6852 GB, free: 103.7 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/1.48, allocations: 7.656 kB / 0.6852 GB, free: 103.7 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05082/1.531, allocations: 6.956 MB / 0.692 GB, free: 102.6 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02521/1.556, allocations: 6.883 MB / 0.6987 GB, free: 100.1 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003623/1.557, allocations: 179.3 kB / 0.6989 GB, free: 100.1 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003119/1.56, allocations: 322.4 kB / 0.6992 GB, free: 100.1 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01894/1.579, allocations: 7.461 MB / 0.7065 GB, free: 97.5 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03027/1.609, allocations: 11.74 MB / 0.718 GB, free: 87.75 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003405/1.61, allocations: 75.33 kB / 0.718 GB, free: 87.68 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002475/1.612, allocations: 40 kB / 0.7181 GB, free: 87.64 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002796/1.615, allocations: 1.258 MB / 0.7193 GB, free: 86.39 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08254/1.698, allocations: 57.5 MB / 0.7755 GB, free: 27.56 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006117/1.704, allocations: 3.44 MB / 0.7788 GB, free: 23.96 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00391/1.708, allocations: 2.097 MB / 0.7809 GB, free: 21.85 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002036/1.708, allocations: 32.22 kB / 0.7809 GB, free: 21.83 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.676e-05/1.708, allocations: 55.62 kB / 0.781 GB, free: 21.76 MB / 475.1 MB Notification: Performance of pre-optimization done (n=185): time 7.624e-06/1.708, allocations: 0 / 0.781 GB, free: 21.76 MB / 475.1 MB Notification: Performance of matching and sorting (n=198): time 0.05322/1.761, allocations: 17.55 MB / 0.7981 GB, free: 4.035 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.27e-05/1.761, allocations: 223 kB / 0.7983 GB, free: 3.77 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01022/1.772, allocations: 4.149 MB / 0.8024 GB, free: 15.62 MB / 491.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005554/1.772, allocations: 29.7 kB / 0.8024 GB, free: 15.59 MB / 491.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004942/1.777, allocations: 4.119 MB / 0.8064 GB, free: 11.41 MB / 491.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001527/1.779, allocations: 0.7559 MB / 0.8071 GB, free: 10.64 MB / 491.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009361/1.78, allocations: 4 kB / 0.8071 GB, free: 10.64 MB / 491.1 MB Notification: Performance of setup shared object (initialization): time 0.0007632/1.781, allocations: 0.6289 MB / 0.8078 GB, free: 10 MB / 491.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006434/1.787, allocations: 2.197 MB / 0.8099 GB, free: 7.805 MB / 491.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0115/1.799, allocations: 6.876 MB / 0.8166 GB, free: 14.56 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009901/1.809, allocations: 3.858 MB / 0.8204 GB, free: 10.7 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001759/1.809, allocations: 48 kB / 0.8204 GB, free: 10.66 MB / 0.4952 GB Notification: Performance of matching and sorting (n=980) (initialization): time 0.02597/1.835, allocations: 8.268 MB / 0.8285 GB, free: 2.387 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001544/1.835, allocations: 83.95 kB / 0.8286 GB, free: 2.305 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002925/1.835, allocations: 168.8 kB / 0.8288 GB, free: 2.141 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002567/1.838, allocations: 0.6067 MB / 0.8293 GB, free: 1.527 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3759/2.214, allocations: 1.725 MB / 0.831 GB, free: 118.1 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00933/2.223, allocations: 5.527 MB / 0.8364 GB, free: 115.6 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008223/2.231, allocations: 252.5 kB / 0.8367 GB, free: 115.6 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002033/2.234, allocations: 467 kB / 0.8371 GB, free: 115.6 MB / 0.4952 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 767 * Number of states: 0 () * Number of discrete variables: 45 (Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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 (928): * Single equations (assignments): 923 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002805/2.236, allocations: 0.5106 MB / 0.8376 GB, free: 115.5 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001203/2.238, allocations: 429.9 kB / 0.838 GB, free: 115.5 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009606/2.247, allocations: 2.913 MB / 0.8409 GB, free: 115.4 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.242e-05/2.247, allocations: 33 kB / 0.8409 GB, free: 115.4 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.078e-05/2.247, allocations: 5.5 kB / 0.8409 GB, free: 115.4 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.587e-05/2.247, allocations: 9.156 kB / 0.8409 GB, free: 115.4 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02688/2.274, allocations: 7.542 MB / 0.8483 GB, free: 114.8 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.147e-05/2.274, allocations: 10.73 kB / 0.8483 GB, free: 114.8 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00327/2.278, allocations: 299.4 kB / 0.8486 GB, free: 114.8 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001898/2.28, allocations: 353.7 kB / 0.8489 GB, free: 114.8 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005149/2.28, allocations: 11.56 kB / 0.8489 GB, free: 114.8 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007989/2.288, allocations: 4.847 MB / 0.8537 GB, free: 112.2 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.209e-05/2.288, allocations: 6.266 kB / 0.8537 GB, free: 112.2 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01363/2.302, allocations: 5.675 MB / 0.8592 GB, free: 110.1 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003395/2.305, allocations: 0.7185 MB / 0.8599 GB, free: 109.9 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001718/2.307, allocations: 7.344 kB / 0.8599 GB, free: 109.9 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003917/2.311, allocations: 70.36 kB / 0.86 GB, free: 109.9 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007392/2.312, allocations: 106.2 kB / 0.8601 GB, free: 109.9 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002486/2.312, allocations: 51.95 kB / 0.8601 GB, free: 109.9 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.007936/2.32, allocations: 2.805 MB / 0.8629 GB, free: 108.8 MB / 0.4952 GB Notification: Performance of sort global known variables: time 1.052e-06/2.32, allocations: 3.938 kB / 0.8629 GB, free: 108.8 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.009902/2.33, allocations: 1.06 MB / 0.8639 GB, free: 108.8 MB / 0.4952 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (155): * Single equations (assignments): 150 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009293/2.331, allocations: 144.8 kB / 0.864 GB, free: 108.7 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.01282/2.344, allocations: 5.43 MB / 0.8693 GB, free: 107.1 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 9.648e-06/2.344, allocations: 0 / 0.8693 GB, free: 107.1 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.003616/2.348, allocations: 1.668 MB / 0.871 GB, free: 106.3 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004436/2.352, allocations: 484.9 kB / 0.8714 GB, free: 106.1 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02894/2.381, allocations: 10.13 MB / 0.8813 GB, free: 102.4 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01005/2.391, allocations: 4.248 MB / 0.8855 GB, free: 100.9 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001957/2.393, allocations: 356.5 kB / 0.8858 GB, free: 100.9 MB / 0.4952 GB Notification: Performance of SimCode: time 1.362e-06/2.393, allocations: 3.344 kB / 0.8858 GB, free: 100.9 MB / 0.4952 GB Notification: Performance of Templates: time 0.2093/2.603, allocations: 114.4 MB / 0.9976 GB, free: 10.07 MB / 0.4952 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches