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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001192/0.001192, allocations: 119.9 kB / 18.42 MB, free: 4.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001403/0.001403, allocations: 207.5 kB / 19.36 MB, free: 3.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2068/0.2068, allocations: 46.11 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 76.73 kB / 419 MB, free: 19.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1087, allocations: 62.46 MB / 481.5 MB, free: 4.555 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.0096/0.1184, allocations: 9.51 MB / 491 MB, free: 11 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005152/0.1236, allocations: 2.92 MB / 493.9 MB, free: 8.066 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008339/0.1244, allocations: 51.94 kB / 493.9 MB, free: 8.016 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003267/0.1277, allocations: 1.994 MB / 495.9 MB, free: 6.016 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002509/0.1303, allocations: 1.109 MB / 497.1 MB, free: 4.902 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007046/0.131, allocations: 291.5 kB / 497.3 MB, free: 4.617 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00257/0.1336, allocations: 2.333 MB / 499.7 MB, free: 2.281 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002228/0.1358, allocations: 2.309 MB / 0.4902 GB, free: 15.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008258/0.1366, allocations: 0.8723 MB / 0.4911 GB, free: 15.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001159/0.1378, allocations: 1.156 MB / 0.4922 GB, free: 13.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002519/0.1381, allocations: 192 kB / 0.4924 GB, free: 13.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009886/0.1391, allocations: 0.7021 MB / 0.4931 GB, free: 13 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008211/0.1399, allocations: 1.11 MB / 0.4941 GB, free: 11.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00111/0.141, allocations: 1.301 MB / 0.4954 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003832/0.1449, allocations: 4.313 MB / 0.4996 GB, free: 6.254 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.1449, allocations: 3.938 kB / 0.4996 GB, free: 6.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.1449, allocations: 0 / 0.4996 GB, free: 6.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.06e-05/0.145, allocations: 0 / 0.4996 GB, free: 6.25 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.004554/0.1495, allocations: 2.865 MB / 0.5024 GB, free: 3.328 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.1496, allocations: 8.031 kB / 0.5024 GB, free: 3.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004586/0.1542, allocations: 1.561 MB / 0.504 GB, free: 1.754 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003125/0.1573, allocations: 1.336 MB / 0.5053 GB, free: 384 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000104/0.1575, allocations: 144 kB / 0.5054 GB, free: 240 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003945/0.1579, allocations: 187.8 kB / 0.5056 GB, free: 52 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2177/0.3756, allocations: 6.242 MB / 0.5117 GB, free: 37.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.129e-05/0.3757, allocations: 13.16 kB / 0.5117 GB, free: 37.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002295/0.3759, allocations: 93.95 kB / 0.5118 GB, free: 37.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002104/0.378, allocations: 1.34 MB / 0.5131 GB, free: 37.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01004/0.3881, allocations: 5.33 MB / 0.5183 GB, free: 35.86 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02323/0.4113, allocations: 20.02 MB / 0.5378 GB, free: 21.05 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003084/0.4145, allocations: 2.016 MB / 0.5398 GB, free: 18.92 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000642/0.4151, allocations: 0.6952 MB / 0.5405 GB, free: 18.22 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004799/0.4199, allocations: 3.605 MB / 0.544 GB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.42, allocations: 39 kB / 0.5441 GB, free: 14.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 2.625e-06/0.42, allocations: 0 / 0.5441 GB, free: 14.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.00418/0.4242, allocations: 1.985 MB / 0.546 GB, free: 12.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/0.4242, allocations: 59.84 kB / 0.546 GB, free: 12.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001717/0.4259, allocations: 1.937 MB / 0.5479 GB, free: 10.42 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.767e-05/0.426, allocations: 33.7 kB / 0.548 GB, free: 10.38 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006279/0.4266, allocations: 1.84 MB / 0.5498 GB, free: 8.512 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001531/0.4268, allocations: 308.1 kB / 0.5501 GB, free: 8.207 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005206/0.4273, allocations: 0.6229 MB / 0.5507 GB, free: 7.574 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.58e-05/0.4274, allocations: 353.9 kB / 0.551 GB, free: 7.223 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008798/0.4283, allocations: 0.8881 MB / 0.5519 GB, free: 6.332 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001502/0.4298, allocations: 2.744 MB / 0.5546 GB, free: 2.656 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003177/0.433, allocations: 3.974 MB / 0.5584 GB, free: 13.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.516e-05/0.433, allocations: 20 kB / 0.5585 GB, free: 13.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.004585/0.4376, allocations: 3.523 MB / 0.5619 GB, free: 10.2 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.782e-05/0.4377, allocations: 39.44 kB / 0.5619 GB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.804e-05/0.4377, allocations: 64 kB / 0.562 GB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.097e-05/0.4378, allocations: 91.94 kB / 0.5621 GB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001695/0.4395, allocations: 0.655 MB / 0.5627 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001007/0.4396, allocations: 131.5 kB / 0.5628 GB, free: 9.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001562/0.4412, allocations: 419.5 kB / 0.5632 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002115/0.4414, allocations: 191.8 kB / 0.5634 GB, free: 8.633 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutTorque.torqueArrow.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,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.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): 357 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001653/0.4431, allocations: 1.338 MB / 0.5647 GB, free: 7.285 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001728/0.4432, allocations: 153.9 kB / 0.5649 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002912/0.4435, allocations: 196.9 kB / 0.5651 GB, free: 6.938 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.471e-05/0.4436, allocations: 15.94 kB / 0.5651 GB, free: 6.922 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.4436, allocations: 0.75 kB / 0.5651 GB, free: 6.922 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.4436, allocations: 3.984 kB / 0.5651 GB, free: 6.918 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005573/0.4492, allocations: 4.025 MB / 0.569 GB, free: 2.746 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/0.4492, allocations: 8 kB / 0.569 GB, free: 2.738 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003621/0.4496, allocations: 107.3 kB / 0.5691 GB, free: 2.637 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.013e-05/0.4496, allocations: 8 kB / 0.5691 GB, free: 2.629 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.685e-05/0.4496, allocations: 20 kB / 0.5692 GB, free: 2.609 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.225e-05/0.4497, allocations: 19.92 kB / 0.5692 GB, free: 2.59 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.4497, allocations: 4 kB / 0.5692 GB, free: 2.586 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00134/0.451, allocations: 1.261 MB / 0.5704 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003574/0.4514, allocations: 246.7 kB / 0.5706 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001508/0.4515, allocations: 16 kB / 0.5707 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004374/0.452, allocations: 27.97 kB / 0.5707 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.205e-05/0.4521, allocations: 59.77 kB / 0.5707 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.255e-05/0.4521, allocations: 32 kB / 0.5708 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001587/0.4537, allocations: 1.267 MB / 0.572 GB, free: 15.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4537, allocations: 0 / 0.572 GB, free: 15.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002281/0.456, allocations: 0.6868 MB / 0.5727 GB, free: 14.88 MB / 414.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002885/0.4563, allocations: 144.4 kB / 0.5728 GB, free: 14.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002678/0.459, allocations: 2.049 MB / 0.5748 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.459, allocations: 0.9375 kB / 0.5748 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005081/0.4595, allocations: 465.7 kB / 0.5753 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/0.4606, allocations: 234.3 kB / 0.5755 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007376/0.468, allocations: 5.048 MB / 0.5804 GB, free: 6.859 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002351/0.4704, allocations: 2.275 MB / 0.5826 GB, free: 4.551 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00184/0.4722, allocations: 0.9595 MB / 0.5836 GB, free: 3.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002581/0.4725, allocations: 123.4 kB / 0.5837 GB, free: 3.469 MB / 414.1 MB Notification: Performance of SimCode: time 1.533e-06/0.4725, allocations: 0 / 0.5837 GB, free: 3.469 MB / 414.1 MB Notification: Performance of Templates: time 0.02686/0.4994, allocations: 14.11 MB / 0.5975 GB, free: 5.395 MB / 430.1 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 -s cvode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches