Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.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.CutTorque3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001463/0.001463, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001697/0.001697, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1926/0.1926, allocations: 46.09 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 74.41 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09944/0.1007, allocations: 62.46 MB / 480.1 MB, free: 5.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01003/0.1108, allocations: 9.514 MB / 489.6 MB, free: 11.6 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005618/0.1165, allocations: 2.924 MB / 492.6 MB, free: 8.668 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001135/0.1176, allocations: 47.94 kB / 492.6 MB, free: 8.621 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003551/0.1212, allocations: 1.994 MB / 494.6 MB, free: 6.621 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002484/0.1237, allocations: 1.105 MB / 495.7 MB, free: 5.512 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007107/0.1245, allocations: 291.5 kB / 496 MB, free: 5.227 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002773/0.1272, allocations: 2.333 MB / 498.3 MB, free: 2.891 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002555/0.1298, allocations: 2.316 MB / 0.4889 GB, free: 0.5312 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001126/0.131, allocations: 0.8762 MB / 0.4898 GB, free: 15.65 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001522/0.1325, allocations: 1.156 MB / 0.4909 GB, free: 14.49 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004692/0.133, allocations: 192 kB / 0.4911 GB, free: 14.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001224/0.1342, allocations: 0.6943 MB / 0.4918 GB, free: 13.61 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009193/0.1351, allocations: 1.114 MB / 0.4929 GB, free: 12.49 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001176/0.1363, allocations: 1.305 MB / 0.4941 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003441/0.1398, allocations: 4.159 MB / 0.4982 GB, free: 7.008 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1398, allocations: 0 / 0.4982 GB, free: 7.008 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1398, allocations: 0 / 0.4982 GB, free: 7.008 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.348e-05/0.1399, allocations: 0 / 0.4982 GB, free: 7.008 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.003848/0.1437, allocations: 2.857 MB / 0.501 GB, free: 4.094 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.1438, allocations: 12.02 kB / 0.501 GB, free: 4.082 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004997/0.1443, allocations: 487.1 kB / 0.5015 GB, free: 3.598 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004809/0.1491, allocations: 1.557 MB / 0.503 GB, free: 2.035 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001944/0.151, allocations: 1.32 MB / 0.5043 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.492e-05/0.1511, allocations: 147.8 kB / 0.5044 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002915/0.1514, allocations: 183.9 kB / 0.5046 GB, free: 356 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1985/0.35, allocations: 6.246 MB / 0.5107 GB, free: 37.53 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.722e-05/0.3501, allocations: 13.66 kB / 0.5107 GB, free: 37.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002415/0.3503, allocations: 88.31 kB / 0.5108 GB, free: 37.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001876/0.3522, allocations: 1.34 MB / 0.5121 GB, free: 37.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009107/0.3613, allocations: 5.331 MB / 0.5173 GB, free: 35.58 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02034/0.3817, allocations: 20.16 MB / 0.537 GB, free: 20.98 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003322/0.385, allocations: 2.018 MB / 0.539 GB, free: 18.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006596/0.3857, allocations: 0.6914 MB / 0.5396 GB, free: 18.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004819/0.3905, allocations: 3.612 MB / 0.5432 GB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.3906, allocations: 35 kB / 0.5432 GB, free: 14.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 3.256e-06/0.3906, allocations: 0 / 0.5432 GB, free: 14.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.004528/0.3952, allocations: 1.987 MB / 0.5451 GB, free: 12.38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.3952, allocations: 55.84 kB / 0.5452 GB, free: 12.31 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001922/0.3971, allocations: 1.937 MB / 0.5471 GB, free: 10.37 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.306e-05/0.3972, allocations: 37.7 kB / 0.5471 GB, free: 10.33 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006326/0.3978, allocations: 1.831 MB / 0.5489 GB, free: 8.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001813/0.398, allocations: 316 kB / 0.5492 GB, free: 8.168 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005548/0.3986, allocations: 0.6151 MB / 0.5498 GB, free: 7.543 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.545e-05/0.3987, allocations: 357.9 kB / 0.5501 GB, free: 7.188 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000922/0.3996, allocations: 0.8881 MB / 0.551 GB, free: 6.297 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001442/0.401, allocations: 2.751 MB / 0.5537 GB, free: 2.613 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003321/0.4044, allocations: 3.969 MB / 0.5576 GB, free: 13.72 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.539e-05/0.4044, allocations: 20 kB / 0.5576 GB, free: 13.7 MB / 398.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005063/0.4095, allocations: 3.528 MB / 0.561 GB, free: 10.17 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.698e-05/0.4096, allocations: 32 kB / 0.5611 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-05/0.4097, allocations: 68 kB / 0.5611 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.077e-05/0.4097, allocations: 87.94 kB / 0.5612 GB, free: 9.984 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001834/0.4116, allocations: 0.6556 MB / 0.5619 GB, free: 9.328 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.499e-05/0.4117, allocations: 127.5 kB / 0.562 GB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001774/0.4135, allocations: 423.5 kB / 0.5624 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002374/0.4137, allocations: 184 kB / 0.5626 GB, free: 8.605 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.001801/0.4155, allocations: 1.342 MB / 0.5639 GB, free: 7.254 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002317/0.4158, allocations: 153.9 kB / 0.564 GB, free: 7.102 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003084/0.4161, allocations: 204.8 kB / 0.5642 GB, free: 6.898 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.072e-05/0.4161, allocations: 11.98 kB / 0.5642 GB, free: 6.887 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.4161, allocations: 0 / 0.5642 GB, free: 6.887 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-06/0.4161, allocations: 3.984 kB / 0.5642 GB, free: 6.883 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005589/0.4217, allocations: 4.029 MB / 0.5682 GB, free: 2.707 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/0.4218, allocations: 4 kB / 0.5682 GB, free: 2.703 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003872/0.4222, allocations: 109.6 kB / 0.5683 GB, free: 2.598 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.077e-05/0.4222, allocations: 8 kB / 0.5683 GB, free: 2.59 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.304e-05/0.4222, allocations: 20 kB / 0.5683 GB, free: 2.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-05/0.4222, allocations: 19.86 kB / 0.5683 GB, free: 2.551 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/0.4223, allocations: 8 kB / 0.5683 GB, free: 2.543 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001346/0.4236, allocations: 1.249 MB / 0.5695 GB, free: 1.191 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003157/0.4239, allocations: 250.7 kB / 0.5698 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001545/0.4241, allocations: 23.98 kB / 0.5698 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004377/0.4245, allocations: 31.97 kB / 0.5698 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.008e-05/0.4246, allocations: 47.83 kB / 0.5699 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.773e-05/0.4247, allocations: 28 kB / 0.5699 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001617/0.4263, allocations: 1.279 MB / 0.5712 GB, free: 15.53 MB / 414.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.4263, allocations: 4 kB / 0.5712 GB, free: 15.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002248/0.4286, allocations: 0.6753 MB / 0.5718 GB, free: 14.85 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.001922/0.4305, allocations: 1.878 MB / 0.5737 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00328/0.4338, allocations: 2.242 MB / 0.5758 GB, free: 10.63 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/0.4338, allocations: 7.938 kB / 0.5758 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005426/0.4344, allocations: 462.5 kB / 0.5763 GB, free: 10.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001216/0.4356, allocations: 237.1 kB / 0.5765 GB, free: 9.949 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02724/0.4629, allocations: 22.09 MB / 0.5981 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002317/0.4652, allocations: 2.267 MB / 0.6003 GB, free: 14.59 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002111/0.4673, allocations: 0.9568 MB / 0.6012 GB, free: 13.62 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001194/0.4685, allocations: 1.046 MB / 0.6023 GB, free: 12.58 MB / 446.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4685, allocations: 0 / 0.6023 GB, free: 12.58 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05554/0.5241, allocations: 31.99 MB / 0.6335 GB, free: 12.71 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.87/9.395, allocations: 20.8 kB / 0.6335 GB, free: 12.7 MB / 478.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque3.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches