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: "" <> 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001579/0.001579, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001976/0.001976, allocations: 202 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.218/0.218, allocations: 46.09 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001568, allocations: 71.89 kB / 480.8 MB, free: 4.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.2917, allocations: 62.44 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01091/0.3027, allocations: 9.524 MB / 0.5398 GB, free: 5.961 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00612/0.3088, allocations: 2.926 MB / 0.5427 GB, free: 3.684 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001421/0.3103, allocations: 48.53 kB / 0.5427 GB, free: 3.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004109/0.3144, allocations: 1.99 MB / 0.5447 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002994/0.3175, allocations: 1.114 MB / 0.5457 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000901/0.3184, allocations: 283.5 kB / 0.546 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00349/0.3219, allocations: 2.338 MB / 0.5483 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002985/0.3249, allocations: 2.297 MB / 0.5505 GB, free: 13.18 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001457/0.3264, allocations: 0.8761 MB / 0.5514 GB, free: 12.3 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001725/0.3282, allocations: 1.153 MB / 0.5525 GB, free: 11.14 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000547/0.3287, allocations: 192 kB / 0.5527 GB, free: 10.95 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001466/0.3302, allocations: 0.7021 MB / 0.5534 GB, free: 10.25 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001262/0.3315, allocations: 1.114 MB / 0.5545 GB, free: 9.133 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00209/0.3336, allocations: 1.308 MB / 0.5558 GB, free: 7.816 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005393/0.339, allocations: 4.317 MB / 0.56 GB, free: 3.484 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.3391, allocations: 0 / 0.56 GB, free: 3.484 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.484e-06/0.3391, allocations: 0 / 0.56 GB, free: 3.484 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001407/0.3392, allocations: 4 kB / 0.56 GB, free: 3.48 MB / 414.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.006036/0.3453, allocations: 2.861 MB / 0.5628 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.3453, allocations: 8.031 kB / 0.5628 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008554/0.3462, allocations: 479.1 kB / 0.5632 GB, free: 80 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004911/0.3511, allocations: 1.565 MB / 0.5648 GB, free: 14.5 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002593/0.3537, allocations: 1.336 MB / 0.5661 GB, free: 13.12 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001168/0.3539, allocations: 151.8 kB / 0.5662 GB, free: 12.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000538/0.3544, allocations: 183.9 kB / 0.5664 GB, free: 12.8 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00972/0.3642, allocations: 6.254 MB / 0.5725 GB, free: 6.27 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.307e-05/0.3642, allocations: 11.88 kB / 0.5725 GB, free: 6.258 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000393/0.3646, allocations: 87.91 kB / 0.5726 GB, free: 6.172 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001937/0.3666, allocations: 1.344 MB / 0.5739 GB, free: 4.824 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009488/0.3761, allocations: 5.327 MB / 0.5791 GB, free: 15.48 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02583/0.402, allocations: 20.04 MB / 0.5987 GB, free: 10.87 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004131/0.4061, allocations: 2.002 MB / 0.6006 GB, free: 8.742 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009506/0.4071, allocations: 0.7052 MB / 0.6013 GB, free: 8.035 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006315/0.4135, allocations: 3.6 MB / 0.6048 GB, free: 4.289 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/0.4135, allocations: 46.94 kB / 0.6049 GB, free: 4.234 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 4.398e-06/0.4135, allocations: 0 / 0.6049 GB, free: 4.234 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005472/0.419, allocations: 1.977 MB / 0.6068 GB, free: 2.246 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.4191, allocations: 59.84 kB / 0.6069 GB, free: 2.176 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002895/0.422, allocations: 1.937 MB / 0.6088 GB, free: 240 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.999e-05/0.4221, allocations: 41.64 kB / 0.6088 GB, free: 192 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00124/0.4233, allocations: 1.836 MB / 0.6106 GB, free: 14.32 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003593/0.4237, allocations: 312.1 kB / 0.6109 GB, free: 14.01 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009021/0.4246, allocations: 0.6151 MB / 0.6115 GB, free: 13.39 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.4248, allocations: 357.9 kB / 0.6118 GB, free: 13.03 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001316/0.4261, allocations: 0.8842 MB / 0.6127 GB, free: 12.14 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002439/0.4286, allocations: 2.759 MB / 0.6154 GB, free: 8.453 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004193/0.4328, allocations: 3.958 MB / 0.6192 GB, free: 3.57 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.348e-05/0.4329, allocations: 20 kB / 0.6193 GB, free: 3.551 MB / 478.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005897/0.4388, allocations: 3.528 MB / 0.6227 GB, free: 16 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.752e-05/0.4389, allocations: 36.05 kB / 0.6227 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-05/0.439, allocations: 64 kB / 0.6228 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001036/0.4391, allocations: 91.94 kB / 0.6229 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001998/0.4411, allocations: 0.6549 MB / 0.6235 GB, free: 15.17 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001064/0.4413, allocations: 127.5 kB / 0.6237 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001955/0.4432, allocations: 423.9 kB / 0.6241 GB, free: 14.63 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003518/0.4436, allocations: 184 kB / 0.6242 GB, free: 14.45 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.002046/0.4457, allocations: 1.342 MB / 0.6255 GB, free: 13.1 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002765/0.446, allocations: 161.8 kB / 0.6257 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003794/0.4463, allocations: 188.9 kB / 0.6259 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.519e-05/0.4464, allocations: 11.94 kB / 0.6259 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.859e-06/0.4464, allocations: 11.98 kB / 0.6259 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.4464, allocations: 0 / 0.6259 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006649/0.4531, allocations: 4.024 MB / 0.6298 GB, free: 8.551 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.449e-05/0.4531, allocations: 8.844 kB / 0.6298 GB, free: 8.543 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004363/0.4536, allocations: 99.83 kB / 0.6299 GB, free: 8.445 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.21e-05/0.4536, allocations: 12 kB / 0.6299 GB, free: 8.434 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.104e-05/0.4536, allocations: 23.92 kB / 0.63 GB, free: 8.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.289e-05/0.4537, allocations: 11.94 kB / 0.63 GB, free: 8.398 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.4537, allocations: 11.94 kB / 0.63 GB, free: 8.387 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001454/0.4551, allocations: 1.262 MB / 0.6312 GB, free: 7.02 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003852/0.4555, allocations: 250.8 kB / 0.6315 GB, free: 6.754 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002411/0.4558, allocations: 23.98 kB / 0.6315 GB, free: 6.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005402/0.4563, allocations: 27.89 kB / 0.6315 GB, free: 6.703 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.06e-05/0.4564, allocations: 51.83 kB / 0.6316 GB, free: 6.652 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.013e-05/0.4565, allocations: 35.97 kB / 0.6316 GB, free: 6.617 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001914/0.4584, allocations: 1.271 MB / 0.6328 GB, free: 5.355 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.4584, allocations: 4 kB / 0.6328 GB, free: 5.352 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002599/0.461, allocations: 0.6765 MB / 0.6335 GB, free: 4.672 MB / 494.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.002065/0.4631, allocations: 1.868 MB / 0.6353 GB, free: 2.691 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003011/0.4662, allocations: 2.043 MB / 0.6373 GB, free: 0.668 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/0.4662, allocations: 8.125 kB / 0.6373 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005763/0.4668, allocations: 461.5 kB / 0.6378 GB, free: 216 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001433/0.4682, allocations: 250 kB / 0.638 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02855/0.4968, allocations: 20.84 MB / 0.6584 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002823/0.4997, allocations: 2.275 MB / 0.6606 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002113/0.5018, allocations: 0.9558 MB / 0.6615 GB, free: 5.32 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001417/0.5032, allocations: 1.038 MB / 0.6625 GB, free: 4.281 MB / 0.5137 GB Notification: Performance of SimCode: time 9.42e-07/0.5032, allocations: 4 kB / 0.6625 GB, free: 4.277 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06033/0.5636, allocations: 32.93 MB / 0.6947 GB, free: 3.48 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.28/12.84, allocations: 7.875 kB / 0.6947 GB, free: 3.473 MB / 0.545 GB (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 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque2.fmu > 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