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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001704/0.001704, allocations: 112.5 kB / 20.43 MB, free: 1.312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002087/0.002087, allocations: 210.8 kB / 23.74 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 230.5 MB / 257.4 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2251/0.2251, allocations: 46.93 MB / 360.8 MB, free: 4.168 MB / 286.1 MB " [Timeout remaining time 180] 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: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002368/0.002368, allocations: 83.86 kB / 0.4962 GB, free: 7.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3085, allocations: 66.09 MB / 0.5607 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01189/0.3204, allocations: 9.585 MB / 0.5701 GB, free: 10.63 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00677/0.3271, allocations: 2.955 MB / 0.573 GB, free: 7.668 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001726/0.3289, allocations: 55.81 kB / 0.573 GB, free: 7.613 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004608/0.3335, allocations: 2.033 MB / 0.575 GB, free: 5.574 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003272/0.3368, allocations: 1.136 MB / 0.5761 GB, free: 4.434 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008754/0.3376, allocations: 283.5 kB / 0.5764 GB, free: 4.156 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003959/0.3416, allocations: 2.333 MB / 0.5787 GB, free: 1.82 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003083/0.3447, allocations: 1.742 MB / 0.5804 GB, free: 32 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001963/0.3466, allocations: 0.8957 MB / 0.5813 GB, free: 15.13 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00235/0.349, allocations: 1.254 MB / 0.5825 GB, free: 13.87 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008223/0.3498, allocations: 196 kB / 0.5827 GB, free: 13.68 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001929/0.3517, allocations: 0.7215 MB / 0.5834 GB, free: 12.96 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001569/0.3533, allocations: 1.137 MB / 0.5845 GB, free: 11.82 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002646/0.356, allocations: 1.308 MB / 0.5858 GB, free: 10.5 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006106/0.3621, allocations: 4.334 MB / 0.59 GB, free: 6.152 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.3621, allocations: 0 / 0.59 GB, free: 6.152 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3621, allocations: 3.938 kB / 0.59 GB, free: 6.148 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001653/0.3622, allocations: 0 / 0.59 GB, free: 6.148 MB / 430.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.006485/0.3687, allocations: 2.866 MB / 0.5928 GB, free: 3.238 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.3688, allocations: 8.031 kB / 0.5928 GB, free: 3.23 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009569/0.3697, allocations: 483.1 kB / 0.5933 GB, free: 2.75 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005278/0.375, allocations: 1.574 MB / 0.5948 GB, free: 1.172 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003107/0.3781, allocations: 1.279 MB / 0.596 GB, free: 15.86 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001497/0.3783, allocations: 147.8 kB / 0.5962 GB, free: 15.72 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005356/0.3788, allocations: 191.9 kB / 0.5964 GB, free: 15.53 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01038/0.3892, allocations: 6.242 MB / 0.6025 GB, free: 9.012 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.972e-05/0.3892, allocations: 15.88 kB / 0.6025 GB, free: 8.996 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003486/0.3896, allocations: 87.91 kB / 0.6026 GB, free: 8.91 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002189/0.3918, allocations: 1.344 MB / 0.6039 GB, free: 7.562 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01064/0.4024, allocations: 5.34 MB / 0.6091 GB, free: 2.211 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03231/0.4347, allocations: 20 MB / 0.6286 GB, free: 13.63 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004315/0.439, allocations: 1.481 MB / 0.6301 GB, free: 12.14 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00111/0.4401, allocations: 0.6367 MB / 0.6307 GB, free: 11.49 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007618/0.4478, allocations: 3.156 MB / 0.6338 GB, free: 8.309 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.74e-05/0.4478, allocations: 39 kB / 0.6338 GB, free: 8.262 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.687e-06/0.4478, allocations: 0 / 0.6338 GB, free: 8.262 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005898/0.4537, allocations: 1.994 MB / 0.6358 GB, free: 6.258 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.219e-05/0.4538, allocations: 59.84 kB / 0.6358 GB, free: 6.188 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003391/0.4572, allocations: 1.942 MB / 0.6377 GB, free: 4.242 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.67e-05/0.4573, allocations: 37.7 kB / 0.6377 GB, free: 4.199 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001566/0.4588, allocations: 1.903 MB / 0.6396 GB, free: 2.273 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003928/0.4592, allocations: 337.4 kB / 0.6399 GB, free: 1.941 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009019/0.4601, allocations: 0.6234 MB / 0.6405 GB, free: 1.309 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001999/0.4603, allocations: 353.9 kB / 0.6409 GB, free: 0.957 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001427/0.4618, allocations: 0.8842 MB / 0.6417 GB, free: 72 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003247/0.465, allocations: 2.751 MB / 0.6444 GB, free: 12.39 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005127/0.4701, allocations: 3.972 MB / 0.6483 GB, free: 7.496 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-05/0.4702, allocations: 20 kB / 0.6483 GB, free: 7.477 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006414/0.4766, allocations: 3.531 MB / 0.6518 GB, free: 3.934 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.132e-05/0.4767, allocations: 36 kB / 0.6518 GB, free: 3.898 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.894e-05/0.4768, allocations: 64 kB / 0.6519 GB, free: 3.836 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001171/0.4769, allocations: 91.94 kB / 0.652 GB, free: 3.746 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002036/0.4789, allocations: 0.6511 MB / 0.6526 GB, free: 3.094 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001414/0.4791, allocations: 135.4 kB / 0.6527 GB, free: 2.961 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002029/0.4811, allocations: 425 kB / 0.6531 GB, free: 2.543 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000319/0.4814, allocations: 188 kB / 0.6533 GB, free: 2.359 MB / 494.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.002214/0.4836, allocations: 1.347 MB / 0.6546 GB, free: 1 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003063/0.4839, allocations: 162.9 kB / 0.6548 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004218/0.4844, allocations: 196.9 kB / 0.655 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.69e-05/0.4844, allocations: 15.94 kB / 0.655 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.657e-06/0.4844, allocations: 0 / 0.655 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.4844, allocations: 3.984 kB / 0.655 GB, free: 0.625 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008249/0.4927, allocations: 3.988 MB / 0.6589 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.333e-05/0.4927, allocations: 11.98 kB / 0.6589 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004272/0.4931, allocations: 99.83 kB / 0.659 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.399e-05/0.4931, allocations: 12.75 kB / 0.659 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.616e-05/0.4932, allocations: 27.97 kB / 0.659 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.365e-05/0.4932, allocations: 15.94 kB / 0.659 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.055e-05/0.4932, allocations: 11.94 kB / 0.659 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001909/0.4952, allocations: 1.271 MB / 0.6603 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000517/0.4957, allocations: 178.6 kB / 0.6605 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003033/0.496, allocations: 19.98 kB / 0.6605 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006726/0.4966, allocations: 35.88 kB / 0.6605 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.4968, allocations: 63.73 kB / 0.6606 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-05/0.4968, allocations: 28 kB / 0.6606 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002251/0.4991, allocations: 1.263 MB / 0.6618 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.4991, allocations: 0 / 0.6618 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002893/0.502, allocations: 0.6969 MB / 0.6625 GB, free: 8.672 MB / 0.4981 GB 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.002442/0.5044, allocations: 1.865 MB / 0.6643 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003433/0.5079, allocations: 1.967 MB / 0.6663 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.5079, allocations: 1 kB / 0.6663 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000621/0.5085, allocations: 436 kB / 0.6667 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001362/0.5098, allocations: 244.1 kB / 0.6669 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03483/0.5447, allocations: 20.94 MB / 0.6874 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003245/0.5479, allocations: 2.271 MB / 0.6896 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002343/0.5503, allocations: 0.9598 MB / 0.6905 GB, free: 9.324 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001743/0.552, allocations: 1.038 MB / 0.6915 GB, free: 8.285 MB / 0.5294 GB Notification: Performance of SimCode: time 1.533e-06/0.552, allocations: 0 / 0.6915 GB, free: 8.285 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08065/0.6326, allocations: 35.28 MB / 0.726 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.55/16.18, allocations: 6.281 kB / 0.726 GB, free: 5.148 MB / 0.5606 GB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque2_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 19.636478615924716]