Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001689/0.001689, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 225.6 MB / 234.8 MB, free: 3.281 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008126/0.0008126, allocations: 98.56 kB / 286.7 MB, free: 5.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.205/0.205, allocations: 45.16 MB / 383.8 MB, free: 292 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.057e-05/2.06e-05, allocations: 7.938 kB / 453.2 MB, free: 75.84 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1113, allocations: 63.24 MB / 0.5044 GB, free: 12.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4059/0.5172, allocations: 108.4 MB / 0.6102 GB, free: 10.49 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001814/0.5174, allocations: 78.08 kB / 0.6103 GB, free: 10.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.268/0.7854, allocations: 108.5 MB / 0.7163 GB, free: 5.914 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.974e-06/0.7855, allocations: 0 / 0.7163 GB, free: 5.914 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003775/0.7859, allocations: 99.98 kB / 0.7164 GB, free: 5.816 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: 1787 * Number of variables: 1787 Notification: Performance of Generate backend data structure: time 0.01714/0.803, allocations: 5.199 MB / 0.7214 GB, free: 0.5508 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.8031, allocations: 12.03 kB / 0.7215 GB, free: 0.5391 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02725/0.8303, allocations: 6.877 MB / 0.7282 GB, free: 9.645 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0174/0.8478, allocations: 5.743 MB / 0.7338 GB, free: 3.844 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003668/0.8482, allocations: 164 kB / 0.7339 GB, free: 3.684 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002814/0.851, allocations: 303.9 kB / 0.7342 GB, free: 3.387 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01544/0.8665, allocations: 6.795 MB / 0.7409 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02679/0.8933, allocations: 10.88 MB / 0.7515 GB, free: 488 kB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004307/0.8938, allocations: 83.27 kB / 0.7516 GB, free: 404 kB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002091/0.8959, allocations: 40 kB / 0.7516 GB, free: 364 kB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2846/1.181, allocations: 1.121 MB / 0.7527 GB, free: 123.3 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05804/1.239, allocations: 54.43 MB / 0.8059 GB, free: 89.36 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003347/1.242, allocations: 3.099 MB / 0.8089 GB, free: 88.67 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001889/1.244, allocations: 1.801 MB / 0.8106 GB, free: 88.63 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 8.291e-05/1.244, allocations: 23.11 kB / 0.8107 GB, free: 88.63 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/1.244, allocations: 50.92 kB / 0.8107 GB, free: 88.59 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=147): time 4.408e-06/1.244, allocations: 2.562 kB / 0.8107 GB, free: 88.59 MB / 0.5261 GB Notification: Performance of matching and sorting (n=161): time 0.02749/1.272, allocations: 16.77 MB / 0.8271 GB, free: 83.17 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.031e-05/1.272, allocations: 231.3 kB / 0.8273 GB, free: 82.92 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00503/1.277, allocations: 3.94 MB / 0.8312 GB, free: 81.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002717/1.277, allocations: 29.55 kB / 0.8312 GB, free: 81.47 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001693/1.279, allocations: 3.942 MB / 0.835 GB, free: 78.57 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000523/1.279, allocations: 0.6379 MB / 0.8357 GB, free: 78.11 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001965/1.279, allocations: 0 / 0.8357 GB, free: 78.11 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002871/1.28, allocations: 0.5965 MB / 0.8362 GB, free: 77.69 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002024/1.282, allocations: 1.88 MB / 0.8381 GB, free: 77.04 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003611/1.285, allocations: 6.257 MB / 0.8442 GB, free: 70.43 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003907/1.289, allocations: 3.421 MB / 0.8475 GB, free: 69.48 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.046e-05/1.289, allocations: 46 kB / 0.8476 GB, free: 69.48 MB / 0.5261 GB Notification: Performance of matching and sorting (n=893) (initialization): time 0.01145/1.301, allocations: 7.495 MB / 0.8549 GB, free: 67.04 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.775e-05/1.301, allocations: 73.69 kB / 0.855 GB, free: 67.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001411/1.301, allocations: 158.9 kB / 0.8551 GB, free: 67.04 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001224/1.302, allocations: 0.6032 MB / 0.8557 GB, free: 66.92 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00435/1.307, allocations: 1.551 MB / 0.8572 GB, free: 66.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004797/1.311, allocations: 5.503 MB / 0.8626 GB, free: 62.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004838/1.316, allocations: 218.3 kB / 0.8628 GB, free: 62.93 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001454/1.318, allocations: 431.9 kB / 0.8632 GB, free: 62.88 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 721 * Number of states: 0 () * Number of discrete variables: 49 (Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.arrow.arrowLine.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.arrow.arrowLine.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,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 (841): * Single equations (assignments): 836 * 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.001559/1.319, allocations: 0.491 MB / 0.8637 GB, free: 62.48 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001196/1.321, allocations: 404.4 kB / 0.8641 GB, free: 62.26 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00376/1.324, allocations: 2.237 MB / 0.8663 GB, free: 61.44 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.014e-05/1.324, allocations: 17.38 kB / 0.8663 GB, free: 61.44 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/1.324, allocations: 7.125 kB / 0.8663 GB, free: 61.44 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.428e-05/1.324, allocations: 7.078 kB / 0.8663 GB, free: 61.44 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01002/1.334, allocations: 6.358 MB / 0.8725 GB, free: 59.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/1.335, allocations: 0 / 0.8725 GB, free: 59.04 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/1.336, allocations: 224.4 kB / 0.8727 GB, free: 59.02 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000852/1.336, allocations: 349.7 kB / 0.873 GB, free: 58.92 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.452e-05/1.337, allocations: 14.36 kB / 0.8731 GB, free: 58.92 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004085/1.341, allocations: 4.859 MB / 0.8778 GB, free: 55.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/1.341, allocations: 0 / 0.8778 GB, free: 55.35 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004971/1.346, allocations: 4.564 MB / 0.8823 GB, free: 51.24 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001076/1.347, allocations: 433.1 kB / 0.8827 GB, free: 50.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004061/1.347, allocations: 4 kB / 0.8827 GB, free: 50.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001278/1.348, allocations: 45.66 kB / 0.8827 GB, free: 50.78 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001817/1.349, allocations: 93.53 kB / 0.8828 GB, free: 50.72 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.971e-05/1.349, allocations: 44 kB / 0.8828 GB, free: 50.68 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003843/1.353, allocations: 2.654 MB / 0.8854 GB, free: 48.37 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.152e-06/1.353, allocations: 112 / 0.8854 GB, free: 48.37 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006412/1.359, allocations: 0.975 MB / 0.8864 GB, free: 47.41 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (119): * Single equations (assignments): 114 * 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.0005899/1.36, allocations: 147 kB / 0.8865 GB, free: 47.27 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007318/1.367, allocations: 4.671 MB / 0.8911 GB, free: 43.05 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/1.367, allocations: 4 kB / 0.8911 GB, free: 43.04 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001473/1.368, allocations: 1.368 MB / 0.8924 GB, free: 41.79 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002694/1.371, allocations: 498.6 kB / 0.8929 GB, free: 41.39 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01697/1.388, allocations: 8.537 MB / 0.9012 GB, free: 33.75 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005679/1.394, allocations: 3.969 MB / 0.9051 GB, free: 30.79 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.006422/1.4, allocations: 2.167 MB / 0.9072 GB, free: 29.44 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009528/1.401, allocations: 262.6 kB / 0.9075 GB, free: 29.19 MB / 0.5261 GB Notification: Performance of SimCode: time 7.72e-07/1.401, allocations: 0 / 0.9075 GB, free: 29.19 MB / 0.5261 GB Notification: Performance of Templates: time 0.05878/1.46, allocations: 32.56 MB / 0.9393 GB, free: 3.262 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches