Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001548/0.001548, allocations: 180.9 kB / 8.006 MB, free: 1.07 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.723/1.723, allocations: 205.3 MB / 213.7 MB, free: 1.727 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009288/0.0009287, allocations: 82.64 kB / 261.7 MB, free: 1.684 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.2045/0.2045, allocations: 43.48 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.387e-05/1.386e-05, allocations: 4 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1069, allocations: 58.85 MB / 477.1 MB, free: 1.645 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4184/0.5253, allocations: 106.3 MB / 0.5697 GB, free: 5.484 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001884/0.5255, allocations: 80.11 kB / 0.5698 GB, free: 5.445 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2802/0.8057, allocations: 112.7 MB / 0.6798 GB, free: 12.62 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.8058, allocations: 0 / 0.6798 GB, free: 12.62 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002887/0.8061, allocations: 111.8 kB / 0.6799 GB, free: 12.51 MB / 490.7 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.01528/0.8213, allocations: 5.46 MB / 0.6852 GB, free: 6.98 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/0.8214, allocations: 8.031 kB / 0.6853 GB, free: 6.973 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02845/0.8499, allocations: 6.954 MB / 0.692 GB, free: 0 / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01805/0.868, allocations: 6.876 MB / 0.6988 GB, free: 9.039 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002795/0.8683, allocations: 180 kB / 0.6989 GB, free: 8.863 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001993/0.8703, allocations: 331.8 kB / 0.6992 GB, free: 8.539 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01352/0.8838, allocations: 7.46 MB / 0.7065 GB, free: 1.074 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3058/1.19, allocations: 11.74 MB / 0.718 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002804/1.19, allocations: 76.48 kB / 0.7181 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000836/1.191, allocations: 39.58 kB / 0.7181 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002132/1.193, allocations: 1.253 MB / 0.7193 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05498/1.248, allocations: 57.5 MB / 0.7755 GB, free: 68.73 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003579/1.252, allocations: 3.455 MB / 0.7789 GB, free: 68.04 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001893/1.253, allocations: 2.095 MB / 0.7809 GB, free: 67.27 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000105/1.254, allocations: 33.91 kB / 0.7809 GB, free: 67.26 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/1.254, allocations: 56.09 kB / 0.781 GB, free: 67.21 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=185): time 3.376e-06/1.254, allocations: 0 / 0.781 GB, free: 67.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=198): time 0.02738/1.281, allocations: 17.54 MB / 0.7981 GB, free: 59.43 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.864e-05/1.281, allocations: 226 kB / 0.7983 GB, free: 59.18 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005188/1.286, allocations: 4.151 MB / 0.8024 GB, free: 57.69 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003003/1.287, allocations: 25.7 kB / 0.8024 GB, free: 57.66 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00198/1.289, allocations: 4.223 MB / 0.8065 GB, free: 54.59 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006547/1.289, allocations: 0.7572 MB / 0.8073 GB, free: 54.04 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002332/1.29, allocations: 0 / 0.8073 GB, free: 54.04 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003024/1.29, allocations: 0.6315 MB / 0.8079 GB, free: 53.59 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002553/1.292, allocations: 2.197 MB / 0.81 GB, free: 52.82 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00421/1.297, allocations: 6.88 MB / 0.8168 GB, free: 45.7 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004219/1.301, allocations: 3.857 MB / 0.8205 GB, free: 44.45 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.091e-05/1.301, allocations: 49.34 kB / 0.8206 GB, free: 44.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=980) (initialization): time 0.01172/1.313, allocations: 8.398 MB / 0.8288 GB, free: 41.51 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.026e-05/1.313, allocations: 81.09 kB / 0.8289 GB, free: 41.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001384/1.313, allocations: 166.7 kB / 0.829 GB, free: 41.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001099/1.314, allocations: 0.6222 MB / 0.8296 GB, free: 41.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004777/1.319, allocations: 1.719 MB / 0.8313 GB, free: 41.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004788/1.324, allocations: 5.524 MB / 0.8367 GB, free: 37.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006199/1.33, allocations: 247.2 kB / 0.8369 GB, free: 37.38 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001851/1.332, allocations: 466.9 kB / 0.8374 GB, free: 37.32 MB / 0.4948 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.001351/1.333, allocations: 0.5227 MB / 0.8379 GB, free: 36.89 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001032/1.334, allocations: 434.4 kB / 0.8383 GB, free: 36.65 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004389/1.339, allocations: 2.923 MB / 0.8412 GB, free: 35.19 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.303e-05/1.339, allocations: 20 kB / 0.8412 GB, free: 35.17 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/1.339, allocations: 4 kB / 0.8412 GB, free: 35.16 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.566e-05/1.339, allocations: 11.55 kB / 0.8412 GB, free: 35.16 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01164/1.35, allocations: 7.551 MB / 0.8486 GB, free: 29 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-05/1.35, allocations: 0 / 0.8486 GB, free: 29 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001379/1.352, allocations: 297.1 kB / 0.8488 GB, free: 28.77 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000874/1.353, allocations: 359.2 kB / 0.8492 GB, free: 28.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001224/1.353, allocations: 11.69 kB / 0.8492 GB, free: 28.49 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003878/1.357, allocations: 4.838 MB / 0.8539 GB, free: 23.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/1.357, allocations: 7.75 kB / 0.8539 GB, free: 23.85 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006/1.363, allocations: 5.685 MB / 0.8595 GB, free: 18.71 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001654/1.364, allocations: 0.7148 MB / 0.8602 GB, free: 18.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004641/1.365, allocations: 4 kB / 0.8602 GB, free: 18.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001448/1.366, allocations: 69.25 kB / 0.8603 GB, free: 17.98 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002079/1.366, allocations: 112 kB / 0.8604 GB, free: 17.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001167/1.367, allocations: 61.69 kB / 0.8604 GB, free: 17.86 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004463/1.371, allocations: 2.798 MB / 0.8631 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.11e-07/1.371, allocations: 0 / 0.8631 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006874/1.378, allocations: 1.058 MB / 0.8642 GB, free: 14.38 MB / 0.4948 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.0004626/1.378, allocations: 139.4 kB / 0.8643 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007449/1.386, allocations: 5.426 MB / 0.8696 GB, free: 9.316 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/1.386, allocations: 3.938 kB / 0.8696 GB, free: 9.312 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00183/1.388, allocations: 1.678 MB / 0.8713 GB, free: 7.781 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002743/1.391, allocations: 481.8 kB / 0.8717 GB, free: 7.379 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02081/1.411, allocations: 9.686 MB / 0.8812 GB, free: 15.35 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007056/1.418, allocations: 4.255 MB / 0.8853 GB, free: 12.19 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007312/1.426, allocations: 2.373 MB / 0.8876 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001063/1.427, allocations: 290.7 kB / 0.8879 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of SimCode: time 1.263e-06/1.427, allocations: 0 / 0.8879 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of Templates: time 0.3495/1.776, allocations: 35.46 MB / 0.9225 GB, free: 107 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins/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_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches