Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.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.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001792/0.001792, allocations: 195.8 kB / 18.1 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.55/1.55, allocations: 226.5 MB / 245.4 MB, free: 6.418 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007992/0.000799, allocations: 92.77 kB / 297.5 MB, free: 6.672 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3339/0.3339, allocations: 44.83 MB / 394.3 MB, free: 35.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002537/0.0002537, allocations: 8 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3188, allocations: 62.96 MB / 0.5184 GB, free: 37.54 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1402/0.4591, allocations: 103.9 MB / 0.6199 GB, free: 1.395 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003065/0.4594, allocations: 83.94 kB / 0.6199 GB, free: 1.316 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1327/0.5921, allocations: 53.85 MB / 0.6725 GB, free: 11.11 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.5922, allocations: 0 / 0.6725 GB, free: 11.11 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001444/0.5923, allocations: 52 kB / 0.6726 GB, free: 11.05 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: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.006796/0.5991, allocations: 2.554 MB / 0.6751 GB, free: 8.438 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.5992, allocations: 8.875 kB / 0.6751 GB, free: 8.43 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007464/0.6066, allocations: 1.791 MB / 0.6768 GB, free: 6.633 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004458/0.6111, allocations: 1.692 MB / 0.6785 GB, free: 4.895 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000245/0.6114, allocations: 213.8 kB / 0.6787 GB, free: 4.684 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001523/0.613, allocations: 268.3 kB / 0.6789 GB, free: 4.422 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.266/0.879, allocations: 6.29 MB / 0.6851 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.199e-05/0.8791, allocations: 19.19 kB / 0.6851 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003768/0.8795, allocations: 124.3 kB / 0.6852 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008761/0.8804, allocations: 0.64 MB / 0.6858 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00915/0.8896, allocations: 5.462 MB / 0.6912 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02337/0.913, allocations: 22.29 MB / 0.7129 GB, free: 92.88 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003823/0.9168, allocations: 2.003 MB / 0.7149 GB, free: 91.88 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009857/0.9178, allocations: 0.6866 MB / 0.7156 GB, free: 91.63 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006383/0.9242, allocations: 3.675 MB / 0.7192 GB, free: 89.86 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.9243, allocations: 37.69 kB / 0.7192 GB, free: 89.82 MB / 490.7 MB Notification: Performance of pre-optimization done (n=78): time 3.737e-06/0.9243, allocations: 2.625 kB / 0.7192 GB, free: 89.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=78): time 0.00516/0.9295, allocations: 1.975 MB / 0.7211 GB, free: 89.33 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.9295, allocations: 56.81 kB / 0.7212 GB, free: 89.27 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00317/0.9327, allocations: 1.94 MB / 0.7231 GB, free: 88.58 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.221e-05/0.9328, allocations: 36.02 kB / 0.7231 GB, free: 88.54 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008878/0.9337, allocations: 1.885 MB / 0.725 GB, free: 87.26 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000185/0.9339, allocations: 318.1 kB / 0.7253 GB, free: 87.04 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.066e-05/0.934, allocations: 55.09 kB / 0.7253 GB, free: 87 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002163/0.9342, allocations: 496.8 kB / 0.7258 GB, free: 86.61 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001078/0.9353, allocations: 0.8544 MB / 0.7266 GB, free: 86.35 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001718/0.937, allocations: 2.718 MB / 0.7293 GB, free: 83.56 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003253/0.9402, allocations: 3.904 MB / 0.7331 GB, free: 80.16 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.463e-05/0.9403, allocations: 18.47 kB / 0.7331 GB, free: 80.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=386) (initialization): time 0.004258/0.9446, allocations: 3.442 MB / 0.7365 GB, free: 78.83 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.27e-05/0.9446, allocations: 36.59 kB / 0.7365 GB, free: 78.83 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-05/0.9447, allocations: 63 kB / 0.7366 GB, free: 78.83 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.551e-05/0.9448, allocations: 89.38 kB / 0.7366 GB, free: 78.83 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001596/0.9464, allocations: 0.6618 MB / 0.7373 GB, free: 78.74 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.009e-05/0.9465, allocations: 127.1 kB / 0.7374 GB, free: 78.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001776/0.9482, allocations: 417.4 kB / 0.7378 GB, free: 78.46 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001789/0.9484, allocations: 183.2 kB / 0.738 GB, free: 78.44 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 302 * Number of states: 0 () * Number of discrete variables: 26 (worldTorque.color[3],worldTorque.color[2],worldTorque.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutTorque.torqueArrow.arrowLine.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (362): * Single equations (assignments): 359 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002186/0.9506, allocations: 1.373 MB / 0.7393 GB, free: 77.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002435/0.9509, allocations: 163.7 kB / 0.7395 GB, free: 77.71 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003132/0.9512, allocations: 202.3 kB / 0.7397 GB, free: 77.61 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.852e-05/0.9512, allocations: 6.969 kB / 0.7397 GB, free: 77.61 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.564e-05/0.9512, allocations: 3.969 kB / 0.7397 GB, free: 77.61 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.9512, allocations: 3.844 kB / 0.7397 GB, free: 77.61 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005564/0.9568, allocations: 4.112 MB / 0.7437 GB, free: 75.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.246e-06/0.9568, allocations: 4.844 kB / 0.7437 GB, free: 75.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003456/0.9572, allocations: 101.6 kB / 0.7438 GB, free: 75.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.074e-05/0.9572, allocations: 6.812 kB / 0.7438 GB, free: 75.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.853e-05/0.9573, allocations: 22.41 kB / 0.7438 GB, free: 75.89 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.697e-06/0.9573, allocations: 9.906 kB / 0.7438 GB, free: 75.89 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/0.9573, allocations: 12.31 kB / 0.7439 GB, free: 75.89 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/0.9584, allocations: 1.261 MB / 0.7451 GB, free: 75.16 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003564/0.9588, allocations: 262.8 kB / 0.7453 GB, free: 74.95 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001392/0.959, allocations: 17.91 kB / 0.7454 GB, free: 74.94 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000429/0.9594, allocations: 34 kB / 0.7454 GB, free: 74.93 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.805e-05/0.9595, allocations: 55.92 kB / 0.7454 GB, free: 74.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-05/0.9595, allocations: 35.11 kB / 0.7455 GB, free: 74.91 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001386/0.9609, allocations: 1.274 MB / 0.7467 GB, free: 74.46 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.9609, allocations: 0 / 0.7467 GB, free: 74.46 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002361/0.9633, allocations: 0.709 MB / 0.7474 GB, free: 74.24 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 54 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002917/0.9636, allocations: 148.4 kB / 0.7476 GB, free: 74.13 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002343/0.966, allocations: 1.986 MB / 0.7495 GB, free: 73.48 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.966, allocations: 7.156 kB / 0.7495 GB, free: 73.48 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004178/0.9664, allocations: 456.3 kB / 0.7499 GB, free: 73.35 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002359/0.9688, allocations: 231.7 kB / 0.7502 GB, free: 73.25 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007768/0.9765, allocations: 6.28 MB / 0.7563 GB, free: 69.78 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001847/0.9784, allocations: 2.323 MB / 0.7586 GB, free: 68.71 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002062/0.9805, allocations: 0.9644 MB / 0.7595 GB, free: 68.63 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002482/0.9808, allocations: 123.4 kB / 0.7596 GB, free: 68.61 MB / 490.7 MB Notification: Performance of SimCode: time 8.22e-07/0.9808, allocations: 0 / 0.7596 GB, free: 68.61 MB / 490.7 MB Notification: Performance of Templates: time 0.02722/1.008, allocations: 13.8 MB / 0.7731 GB, free: 64.58 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches