Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.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.CutTorque,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001385/0.001385, allocations: 109.2 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001519/0.001519, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 227.4 MB / 246.3 MB, free: 9.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.222/0.222, allocations: 46.11 MB / 343.6 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 74.64 kB / 416.9 MB, free: 20.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1249, allocations: 62.44 MB / 479.4 MB, free: 5.602 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.2999/0.4248, allocations: 84.42 MB / 0.5506 GB, free: 9.754 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0407/0.4655, allocations: 16.25 MB / 0.5664 GB, free: 13.85 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01931/0.4849, allocations: 383.5 kB / 0.5668 GB, free: 13.67 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01174/0.4966, allocations: 6.007 MB / 0.5727 GB, free: 7.648 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00786/0.5046, allocations: 2.593 MB / 0.5752 GB, free: 5.047 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003528/0.5081, allocations: 1.486 MB / 0.5767 GB, free: 3.551 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01359/0.5217, allocations: 11.12 MB / 0.5875 GB, free: 8.406 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01096/0.5327, allocations: 7.388 MB / 0.5947 GB, free: 0.957 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005166/0.5379, allocations: 2.71 MB / 0.5974 GB, free: 14.24 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006345/0.5443, allocations: 4.082 MB / 0.6014 GB, free: 10.14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002328/0.5467, allocations: 456 kB / 0.6018 GB, free: 9.699 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004047/0.5507, allocations: 1.334 MB / 0.6031 GB, free: 8.363 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004779/0.5555, allocations: 3.394 MB / 0.6064 GB, free: 4.961 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006026/0.5616, allocations: 3.724 MB / 0.6101 GB, free: 1.215 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01153/0.5731, allocations: 11.14 MB / 0.6209 GB, free: 6.031 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.5732, allocations: 3.938 kB / 0.6209 GB, free: 6.027 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.5732, allocations: 3.938 kB / 0.621 GB, free: 6.023 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004181/0.5736, allocations: 0 / 0.621 GB, free: 6.023 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2471 * Number of variables: 2471 Notification: Performance of Generate backend data structure: time 0.02526/0.5989, allocations: 8.495 MB / 0.6292 GB, free: 13.45 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.93e-05/0.599, allocations: 12.88 kB / 0.6293 GB, free: 13.43 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004169/0.6032, allocations: 1.17 MB / 0.6304 GB, free: 12.25 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01085/0.614, allocations: 2.514 MB / 0.6329 GB, free: 9.727 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009859/0.6239, allocations: 5.293 MB / 0.638 GB, free: 4.355 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003917/0.6244, allocations: 434.5 kB / 0.6384 GB, free: 3.93 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002299/0.6267, allocations: 0.5387 MB / 0.639 GB, free: 3.391 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03304/0.6597, allocations: 16.68 MB / 0.6553 GB, free: 1.594 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003526/0.6601, allocations: 75.33 kB / 0.6553 GB, free: 1.52 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001959/0.6621, allocations: 259.8 kB / 0.6556 GB, free: 1.266 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004677/0.6668, allocations: 2.935 MB / 0.6584 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02889/0.6957, allocations: 12.78 MB / 0.6709 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4583/1.154, allocations: 64.28 MB / 0.7337 GB, free: 153.8 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01567/1.17, allocations: 5.374 MB / 0.7389 GB, free: 153.2 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00279/1.173, allocations: 2.114 MB / 0.741 GB, free: 153.1 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01446/1.187, allocations: 9.928 MB / 0.7507 GB, free: 148.3 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/1.187, allocations: 55.12 kB / 0.7508 GB, free: 148.2 MB / 0.545 GB Notification: Performance of pre-optimization done (n=182): time 4.469e-06/1.187, allocations: 0 / 0.7508 GB, free: 148.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=206): time 0.03342/1.221, allocations: 13.97 MB / 0.7644 GB, free: 142.4 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/1.221, allocations: 155.8 kB / 0.7645 GB, free: 142.3 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006913/1.228, allocations: 6.324 MB / 0.7707 GB, free: 139.1 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0002681/1.228, allocations: 52.05 kB / 0.7708 GB, free: 139.1 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002148/1.23, allocations: 5.08 MB / 0.7757 GB, free: 134.7 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005716/1.231, allocations: 0.8235 MB / 0.7765 GB, free: 134 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0015/1.232, allocations: 1.654 MB / 0.7782 GB, free: 133 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 3.944e-05/1.232, allocations: 308.4 kB / 0.7784 GB, free: 132.7 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002819/1.235, allocations: 2.285 MB / 0.7807 GB, free: 131.7 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004618/1.24, allocations: 7.641 MB / 0.7881 GB, free: 121.7 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008398/1.248, allocations: 10.81 MB / 0.7987 GB, free: 108.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001286/1.248, allocations: 56 kB / 0.7988 GB, free: 108.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.01393/1.262, allocations: 9.57 MB / 0.8081 GB, free: 98.86 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.449e-05/1.262, allocations: 87.94 kB / 0.8082 GB, free: 98.78 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001548/1.262, allocations: 195.9 kB / 0.8084 GB, free: 98.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001629/1.263, allocations: 248 kB / 0.8086 GB, free: 98.35 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0049/1.267, allocations: 1.906 MB / 0.8105 GB, free: 96.44 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001733/1.268, allocations: 370.6 kB / 0.8108 GB, free: 96.08 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005023/1.273, allocations: 403.5 kB / 0.8112 GB, free: 95.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005826/1.273, allocations: 0.5119 MB / 0.8117 GB, free: 95.17 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 867 * Number of states: 0 () * Number of discrete variables: 68 (cutTorque2b.torqueArrow.twoHeadedArrow,cutTorque2b.torqueArrow.headAtOrigin,cutTorque1b.torqueArrow.twoHeadedArrow,cutTorque1b.torqueArrow.headAtOrigin,cutTorque2a.torqueArrow.twoHeadedArrow,cutTorque2a.torqueArrow.headAtOrigin,cutTorque1a.torqueArrow.twoHeadedArrow,cutTorque1a.torqueArrow.headAtOrigin,rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutTorque2b.torqueColor[3],cutTorque2b.torqueColor[2],cutTorque2b.torqueColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutTorque1b.torqueColor[3],cutTorque1b.torqueColor[2],cutTorque1b.torqueColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutTorque2a.torqueColor[3],cutTorque2a.torqueColor[2],cutTorque2a.torqueColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutTorque1a.torqueColor[3],cutTorque1a.torqueColor[2],cutTorque1a.torqueColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1027): * Single equations (assignments): 1016 * Array equations: 11 * 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.003562/1.277, allocations: 3.284 MB / 0.8149 GB, free: 91.88 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00067/1.278, allocations: 0.5398 MB / 0.8154 GB, free: 91.33 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007982/1.278, allocations: 0.6205 MB / 0.816 GB, free: 90.7 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.82e-05/1.278, allocations: 28 kB / 0.8161 GB, free: 90.68 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.751e-05/1.278, allocations: 0 / 0.8161 GB, free: 90.68 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298e-05/1.278, allocations: 11.95 kB / 0.8161 GB, free: 90.66 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01684/1.295, allocations: 14.99 MB / 0.8307 GB, free: 75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.195e-05/1.295, allocations: 44 kB / 0.8308 GB, free: 74.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001176/1.297, allocations: 447.1 kB / 0.8312 GB, free: 74.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.779e-05/1.297, allocations: 60 kB / 0.8312 GB, free: 74.46 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001216/1.297, allocations: 104 kB / 0.8313 GB, free: 74.36 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.936e-05/1.297, allocations: 91.64 kB / 0.8314 GB, free: 74.27 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-05/1.297, allocations: 71.69 kB / 0.8315 GB, free: 74.2 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003477/1.3, allocations: 4.302 MB / 0.8357 GB, free: 69.19 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001022/1.301, allocations: 0.6265 MB / 0.8363 GB, free: 68.54 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006062/1.302, allocations: 116 kB / 0.8364 GB, free: 68.42 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00178/1.304, allocations: 111.9 kB / 0.8365 GB, free: 68.31 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002712/1.304, allocations: 306.5 kB / 0.8368 GB, free: 68.01 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001242/1.304, allocations: 128 kB / 0.8369 GB, free: 67.89 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005048/1.309, allocations: 3.948 MB / 0.8408 GB, free: 63.95 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.02e-07/1.309, allocations: 0 / 0.8408 GB, free: 63.95 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006489/1.316, allocations: 1.321 MB / 0.8421 GB, free: 62.64 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 211 * 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 (238): * Single equations (assignments): 235 * 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.004026/1.32, allocations: 5.023 MB / 0.847 GB, free: 56.91 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006442/1.326, allocations: 5.306 MB / 0.8522 GB, free: 51.64 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-05/1.326, allocations: 4 kB / 0.8522 GB, free: 51.64 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001253/1.327, allocations: 1.199 MB / 0.8534 GB, free: 50.45 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00484/1.332, allocations: 0.8529 MB / 0.8542 GB, free: 49.61 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1035/1.436, allocations: 82.06 MB / 0.9343 GB, free: 2.672 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2189/1.655, allocations: 5.074 MB / 0.9393 GB, free: 226.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.007436/1.662, allocations: 2.54 MB / 0.9418 GB, free: 226.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005643/1.668, allocations: 3.292 MB / 0.945 GB, free: 226.1 MB / 0.5919 GB Notification: Performance of SimCode: time 1.443e-06/1.668, allocations: 0 / 0.945 GB, free: 226.1 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1235/1.791, allocations: 96.41 MB / 1.039 GB, free: 151.7 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001355/1.792, allocations: 194.8 kB / 1.039 GB, free: 151.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.911/6.702, allocations: 2.734 kB / 1.039 GB, free: 151.5 MB / 0.5919 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque/CutTorque.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches