Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.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.FrameForcesAndTorques2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001014/0.001014, allocations: 182.8 kB / 13.19 MB, free: 2.129 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.417/1.417, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.000875/0.0008752, allocations: 92.25 kB / 267 MB, free: 9.27 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.3553/0.3553, allocations: 43.47 MB / 358.6 MB, free: 51.58 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.584e-05/3.587e-05, allocations: 4 kB / 425.3 MB, free: 8.219 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1115, allocations: 58.84 MB / 484.2 MB, free: 13.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3717/0.4833, allocations: 107.4 MB / 0.5777 GB, free: 14.56 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002156/0.4836, allocations: 75.62 kB / 0.5778 GB, free: 14.52 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5713/1.055, allocations: 133.6 MB / 0.7082 GB, free: 80.86 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.024e-06/1.055, allocations: 0 / 0.7082 GB, free: 80.86 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003396/1.055, allocations: 129.2 kB / 0.7084 GB, free: 80.86 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2413 * Number of variables: 2413 Notification: Performance of Generate backend data structure: time 0.01942/1.075, allocations: 6.444 MB / 0.7147 GB, free: 78.36 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/1.075, allocations: 8.938 kB / 0.7147 GB, free: 78.36 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02691/1.102, allocations: 7.135 MB / 0.7216 GB, free: 77.9 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01727/1.119, allocations: 7.255 MB / 0.7287 GB, free: 77.1 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004644/1.12, allocations: 0.5016 MB / 0.7292 GB, free: 77.09 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002422/1.122, allocations: 0.6656 MB / 0.7299 GB, free: 77.08 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03349/1.155, allocations: 16.61 MB / 0.7461 GB, free: 73.43 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004184/1.156, allocations: 88.8 kB / 0.7462 GB, free: 73.42 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001938/1.158, allocations: 322.1 kB / 0.7465 GB, free: 73.42 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002339/1.16, allocations: 1.564 MB / 0.748 GB, free: 73.41 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02776/1.188, allocations: 13.79 MB / 0.7615 GB, free: 73.36 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07/1.258, allocations: 70.25 MB / 0.8301 GB, free: 38.94 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01676/1.275, allocations: 7.837 MB / 0.8377 GB, free: 36.57 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003778/1.279, allocations: 3.888 MB / 0.8415 GB, free: 34.96 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001651/1.279, allocations: 56.33 kB / 0.8416 GB, free: 34.95 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/1.279, allocations: 70.84 kB / 0.8416 GB, free: 34.89 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=290): time 5.07e-06/1.279, allocations: 0 / 0.8416 GB, free: 34.89 MB / 0.5105 GB Notification: Performance of matching and sorting (n=332): time 0.06332/1.342, allocations: 28.27 MB / 0.8693 GB, free: 15.34 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.823e-05/1.342, allocations: 210.1 kB / 0.8695 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00713/1.349, allocations: 5.593 MB / 0.8749 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007104/1.35, allocations: 73.7 kB / 0.875 GB, free: 10.06 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003013/1.353, allocations: 4.609 MB / 0.8795 GB, free: 5.926 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001605/1.355, allocations: 1.242 MB / 0.8807 GB, free: 4.828 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004939/1.355, allocations: 168 kB / 0.8809 GB, free: 4.664 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000467/1.356, allocations: 0.6664 MB / 0.8815 GB, free: 4.09 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005698/1.362, allocations: 3.716 MB / 0.8851 GB, free: 0.7578 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2729/1.635, allocations: 9.584 MB / 0.8945 GB, free: 84.74 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008734/1.643, allocations: 5.571 MB / 0.8999 GB, free: 84.71 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.948e-05/1.643, allocations: 49.72 kB / 0.9 GB, free: 84.71 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1122) (initialization): time 0.01975/1.663, allocations: 13.6 MB / 0.9133 GB, free: 84.24 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.38e-05/1.663, allocations: 76.59 kB / 0.9133 GB, free: 84.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001355/1.663, allocations: 168.7 kB / 0.9135 GB, free: 84.24 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003351/1.667, allocations: 1.693 MB / 0.9152 GB, free: 84.21 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006012/1.673, allocations: 2.09 MB / 0.9172 GB, free: 84.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01172/1.685, allocations: 11.36 MB / 0.9283 GB, free: 81.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00684/1.691, allocations: 0.5272 MB / 0.9288 GB, free: 81.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001097/1.693, allocations: 0.5019 MB / 0.9293 GB, free: 81.27 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 773 * Number of states: 0 () * Number of discrete variables: 54 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[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 (1050): * Single equations (assignments): 1045 * 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 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001204/1.694, allocations: 0.7471 MB / 0.93 GB, free: 81 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007693/1.695, allocations: 0.5576 MB / 0.9306 GB, free: 81 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0117/1.706, allocations: 7.426 MB / 0.9378 GB, free: 80.73 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.141e-05/1.706, allocations: 34.91 kB / 0.9379 GB, free: 80.73 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.718e-05/1.706, allocations: 9.781 kB / 0.9379 GB, free: 80.73 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.041e-05/1.706, allocations: 15.92 kB / 0.9379 GB, free: 80.73 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02565/1.732, allocations: 16.27 MB / 0.9538 GB, free: 76.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.929e-05/1.732, allocations: 3.469 kB / 0.9538 GB, free: 76.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003089/1.735, allocations: 0.6521 MB / 0.9544 GB, free: 76.72 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003375/1.739, allocations: 1.418 MB / 0.9558 GB, free: 76.45 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000377/1.739, allocations: 63.77 kB / 0.9559 GB, free: 76.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01098/1.75, allocations: 10.6 MB / 0.9662 GB, free: 70.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/1.75, allocations: 2.781 kB / 0.9662 GB, free: 70.83 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01504/1.765, allocations: 12.72 MB / 0.9786 GB, free: 65.41 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003405/1.768, allocations: 1.201 MB / 0.9798 GB, free: 64.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001234/1.77, allocations: 55.81 kB / 0.9799 GB, free: 64.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002931/1.773, allocations: 270.1 kB / 0.9801 GB, free: 64.69 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004892/1.773, allocations: 209.2 kB / 0.9803 GB, free: 64.65 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002449/1.773, allocations: 85.72 kB / 0.9804 GB, free: 64.63 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005103/1.779, allocations: 3.952 MB / 0.9843 GB, free: 63.26 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.71e-07/1.779, allocations: 3.531 kB / 0.9843 GB, free: 63.26 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006341/1.785, allocations: 1.676 MB / 0.9859 GB, free: 63.07 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (278): * Single equations (assignments): 273 * 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 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005128/1.785, allocations: 217.4 kB / 0.9861 GB, free: 62.91 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01069/1.796, allocations: 9.193 MB / 0.9951 GB, free: 59.48 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/1.796, allocations: 7.906 kB / 0.9951 GB, free: 59.48 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004687/1.801, allocations: 3.804 MB / 0.9988 GB, free: 57.95 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002776/1.804, allocations: 0.6727 MB / 0.9995 GB, free: 57.66 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02099/1.825, allocations: 13.43 MB / 1.013 GB, free: 50.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004704/1.829, allocations: 4.993 MB / 1.017 GB, free: 46.71 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006957/1.836, allocations: 2.936 MB / 1.02 GB, free: 44.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001249/1.838, allocations: 396.9 kB / 1.021 GB, free: 44.43 MB / 0.5105 GB Notification: Performance of SimCode: time 9.51e-07/1.838, allocations: 0 / 1.021 GB, free: 44.43 MB / 0.5105 GB Notification: Performance of Templates: time 0.3772/2.215, allocations: 63.38 MB / 1.083 GB, free: 95.01 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques2/FrameForcesAndTorques2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches