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.001094/0.001094, allocations: 122.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001256/0.001256, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2023/0.2023, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 75.89 kB / 480.8 MB, free: 4.586 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3036/0.3055, allocations: 62.44 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01057/0.3161, allocations: 9.523 MB / 0.5398 GB, free: 5.965 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005691/0.3218, allocations: 2.923 MB / 0.5427 GB, free: 3.691 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001297/0.3231, allocations: 52.41 kB / 0.5427 GB, free: 3.684 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003917/0.3271, allocations: 1.994 MB / 0.5447 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002808/0.3299, allocations: 1.102 MB / 0.5457 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008192/0.3308, allocations: 290 kB / 0.546 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003318/0.3341, allocations: 2.329 MB / 0.5483 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002862/0.337, allocations: 2.309 MB / 0.5505 GB, free: 13.19 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001391/0.3384, allocations: 0.8839 MB / 0.5514 GB, free: 12.3 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001664/0.3401, allocations: 1.153 MB / 0.5525 GB, free: 11.14 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004895/0.3406, allocations: 192 kB / 0.5527 GB, free: 10.96 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001355/0.3419, allocations: 0.7021 MB / 0.5534 GB, free: 10.25 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001132/0.3431, allocations: 1.107 MB / 0.5545 GB, free: 9.145 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001888/0.345, allocations: 1.312 MB / 0.5558 GB, free: 7.824 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004979/0.35, allocations: 4.317 MB / 0.56 GB, free: 3.492 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.35, allocations: 0 / 0.56 GB, free: 3.492 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.35, allocations: 0 / 0.56 GB, free: 3.492 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001309/0.3502, allocations: 3.984 kB / 0.56 GB, free: 3.488 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.006249/0.3564, allocations: 2.861 MB / 0.5628 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.3565, allocations: 12.03 kB / 0.5628 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001147/0.3576, allocations: 479.1 kB / 0.5632 GB, free: 84 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005508/0.3632, allocations: 1.553 MB / 0.5648 GB, free: 14.52 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003285/0.3665, allocations: 1.34 MB / 0.5661 GB, free: 13.14 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001341/0.3666, allocations: 147.8 kB / 0.5662 GB, free: 13 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006455/0.3673, allocations: 195.9 kB / 0.5664 GB, free: 12.8 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01026/0.3776, allocations: 6.238 MB / 0.5725 GB, free: 6.293 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.614e-05/0.3777, allocations: 15.88 kB / 0.5725 GB, free: 6.277 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003976/0.3781, allocations: 87.91 kB / 0.5726 GB, free: 6.191 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002052/0.3801, allocations: 1.34 MB / 0.5739 GB, free: 4.848 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009713/0.3899, allocations: 5.341 MB / 0.5791 GB, free: 15.49 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02766/0.4176, allocations: 20.04 MB / 0.5987 GB, free: 10.88 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004267/0.4219, allocations: 2.014 MB / 0.6006 GB, free: 8.742 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009699/0.4229, allocations: 0.6875 MB / 0.6013 GB, free: 8.051 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007405/0.4303, allocations: 3.616 MB / 0.6048 GB, free: 4.289 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/0.4303, allocations: 35 kB / 0.6049 GB, free: 4.246 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 3.396e-06/0.4304, allocations: 0 / 0.6049 GB, free: 4.246 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005327/0.4357, allocations: 1.985 MB / 0.6068 GB, free: 2.25 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.4357, allocations: 55.84 kB / 0.6069 GB, free: 2.184 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002904/0.4387, allocations: 1.941 MB / 0.6088 GB, free: 244 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.106e-05/0.4387, allocations: 33.7 kB / 0.6088 GB, free: 204 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001234/0.44, allocations: 1.836 MB / 0.6106 GB, free: 14.33 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003016/0.4403, allocations: 312.1 kB / 0.6109 GB, free: 14.02 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008048/0.4411, allocations: 0.619 MB / 0.6115 GB, free: 13.39 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.4413, allocations: 357.9 kB / 0.6118 GB, free: 13.04 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001252/0.4425, allocations: 0.8842 MB / 0.6127 GB, free: 12.15 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002371/0.4449, allocations: 2.755 MB / 0.6154 GB, free: 8.465 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004265/0.4492, allocations: 3.958 MB / 0.6192 GB, free: 3.582 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.076e-05/0.4493, allocations: 16 kB / 0.6193 GB, free: 3.566 MB / 478.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005622/0.4549, allocations: 3.531 MB / 0.6227 GB, free: 28 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.867e-05/0.455, allocations: 32.05 kB / 0.6227 GB, free: 15.99 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.699e-05/0.4551, allocations: 71.94 kB / 0.6228 GB, free: 15.92 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.573e-05/0.4552, allocations: 88.75 kB / 0.6229 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001939/0.4572, allocations: 0.6472 MB / 0.6235 GB, free: 15.19 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001142/0.4573, allocations: 139.4 kB / 0.6237 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001942/0.4592, allocations: 419.6 kB / 0.6241 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002937/0.4595, allocations: 184 kB / 0.6242 GB, free: 14.46 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.001823/0.4614, allocations: 1.342 MB / 0.6255 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002339/0.4616, allocations: 161.8 kB / 0.6257 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003117/0.4619, allocations: 200.9 kB / 0.6259 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/0.462, allocations: 11.94 kB / 0.6259 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.462, allocations: 0 / 0.6259 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.462, allocations: 3.984 kB / 0.6259 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006715/0.4687, allocations: 4.032 MB / 0.6298 GB, free: 8.551 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.818e-06/0.4687, allocations: 4 kB / 0.6298 GB, free: 8.547 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004074/0.4691, allocations: 107.8 kB / 0.63 GB, free: 8.441 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.079e-05/0.4692, allocations: 8 kB / 0.63 GB, free: 8.434 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.027e-05/0.4692, allocations: 20 kB / 0.63 GB, free: 8.414 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.491e-05/0.4692, allocations: 11.94 kB / 0.63 GB, free: 8.402 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.4693, allocations: 8 kB / 0.63 GB, free: 8.395 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001464/0.4707, allocations: 1.259 MB / 0.6312 GB, free: 7.031 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003847/0.4711, allocations: 254.8 kB / 0.6315 GB, free: 6.762 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002136/0.4713, allocations: 16 kB / 0.6315 GB, free: 6.746 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005084/0.4719, allocations: 35.88 kB / 0.6315 GB, free: 6.711 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.735e-05/0.472, allocations: 55.81 kB / 0.6316 GB, free: 6.656 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.334e-05/0.472, allocations: 31.94 kB / 0.6316 GB, free: 6.625 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001678/0.4737, allocations: 1.271 MB / 0.6328 GB, free: 5.363 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4737, allocations: 0 / 0.6328 GB, free: 5.363 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00233/0.4761, allocations: 0.6805 MB / 0.6335 GB, free: 4.68 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.001817/0.4779, allocations: 1.864 MB / 0.6353 GB, free: 2.703 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00303/0.4809, allocations: 2.049 MB / 0.6373 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.481, allocations: 0 / 0.6373 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005458/0.4815, allocations: 462.3 kB / 0.6378 GB, free: 228 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001337/0.4829, allocations: 252.4 kB / 0.638 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02915/0.512, allocations: 20.84 MB / 0.6584 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002671/0.5147, allocations: 2.275 MB / 0.6606 GB, free: 6.293 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002013/0.5168, allocations: 0.9558 MB / 0.6615 GB, free: 5.332 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001238/0.518, allocations: 1.042 MB / 0.6625 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of SimCode: time 9.92e-07/0.518, allocations: 0 / 0.6625 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05981/0.5779, allocations: 32.94 MB / 0.6947 GB, free: 3.488 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.38, allocations: 3.938 kB / 0.6947 GB, free: 3.484 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