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.0008631/0.0008631, allocations: 95.08 kB / 17.35 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001092/0.001092, allocations: 200.3 kB / 18.28 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 227.7 MB / 246.8 MB, free: 9.672 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1965/0.1965, allocations: 46.18 MB / 345.2 MB, free: 11.18 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002308/0.0002308, allocations: 8 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1043, allocations: 63.57 MB / 483.2 MB, free: 4.043 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.2762/0.3805, allocations: 82.4 MB / 0.5523 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03489/0.4154, allocations: 16.18 MB / 0.5681 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01616/0.4316, allocations: 385.3 kB / 0.5685 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002027/0.4337, allocations: 0.649 MB / 0.5691 GB, free: 14.54 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006475/0.4402, allocations: 2.614 MB / 0.5717 GB, free: 11.93 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002629/0.4428, allocations: 1.24 MB / 0.5729 GB, free: 10.68 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01315/0.456, allocations: 11.12 MB / 0.5837 GB, free: 15.54 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01429/0.4703, allocations: 10.35 MB / 0.5939 GB, free: 5.074 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004576/0.4749, allocations: 2.199 MB / 0.596 GB, free: 2.867 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005657/0.4806, allocations: 3.457 MB / 0.5994 GB, free: 15.4 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001222/0.4819, allocations: 244 kB / 0.5996 GB, free: 15.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003047/0.4849, allocations: 1.135 MB / 0.6007 GB, free: 14.02 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003599/0.4885, allocations: 3.077 MB / 0.6037 GB, free: 10.94 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004556/0.4931, allocations: 3.378 MB / 0.607 GB, free: 7.531 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01055/0.5037, allocations: 10.79 MB / 0.6176 GB, free: 12.7 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.5037, allocations: 0 / 0.6176 GB, free: 12.7 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5037, allocations: 4 kB / 0.6176 GB, free: 12.7 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000337/0.5041, allocations: 0 / 0.6176 GB, free: 12.7 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.01275/0.5168, allocations: 6.99 MB / 0.6244 GB, free: 5.625 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.5169, allocations: 12.88 kB / 0.6244 GB, free: 5.613 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001976/0.5189, allocations: 1.173 MB / 0.6256 GB, free: 4.43 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009364/0.5282, allocations: 2.572 MB / 0.6281 GB, free: 1.844 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008602/0.5368, allocations: 5.293 MB / 0.6332 GB, free: 12.47 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003579/0.5372, allocations: 422.5 kB / 0.6336 GB, free: 12.06 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001433/0.5387, allocations: 0.5464 MB / 0.6342 GB, free: 11.51 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0276/0.5663, allocations: 16.73 MB / 0.6505 GB, free: 9.664 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002237/0.5665, allocations: 67.39 kB / 0.6506 GB, free: 9.598 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001117/0.5677, allocations: 271.7 kB / 0.6508 GB, free: 9.332 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004093/0.5718, allocations: 2.924 MB / 0.6537 GB, free: 6.406 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0257/0.5975, allocations: 12.83 MB / 0.6662 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4888/1.086, allocations: 64.14 MB / 0.7289 GB, free: 137.3 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01572/1.102, allocations: 5.395 MB / 0.7341 GB, free: 136.7 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003063/1.105, allocations: 2.114 MB / 0.7362 GB, free: 136.5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01656/1.122, allocations: 9.922 MB / 0.7459 GB, free: 131.3 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.822e-05/1.122, allocations: 60.5 kB / 0.7459 GB, free: 131.2 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=182): time 5.561e-06/1.122, allocations: 0 / 0.7459 GB, free: 131.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=206): time 0.03588/1.158, allocations: 14.04 MB / 0.7596 GB, free: 125 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.775e-05/1.158, allocations: 148 kB / 0.7598 GB, free: 124.8 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01019/1.168, allocations: 6.322 MB / 0.766 GB, free: 121.6 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003212/1.168, allocations: 50.95 kB / 0.766 GB, free: 121.5 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002875/1.171, allocations: 5.084 MB / 0.771 GB, free: 117.1 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008315/1.172, allocations: 0.8213 MB / 0.7718 GB, free: 116.4 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001264/1.173, allocations: 0.7246 MB / 0.7725 GB, free: 116 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.875e-05/1.174, allocations: 309.8 kB / 0.7728 GB, free: 115.7 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003567/1.177, allocations: 2.292 MB / 0.775 GB, free: 114.1 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005447/1.183, allocations: 7.639 MB / 0.7825 GB, free: 104 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008332/1.191, allocations: 10.81 MB / 0.793 GB, free: 90.67 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.872e-05/1.191, allocations: 52 kB / 0.7931 GB, free: 90.62 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.01526/1.206, allocations: 9.571 MB / 0.8024 GB, free: 81.04 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001901/1.207, allocations: 84 kB / 0.8025 GB, free: 80.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002619/1.207, allocations: 192 kB / 0.8027 GB, free: 80.77 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001862/1.207, allocations: 248.8 kB / 0.8029 GB, free: 80.53 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005304/1.212, allocations: 1.903 MB / 0.8048 GB, free: 78.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001984/1.213, allocations: 370.5 kB / 0.8051 GB, free: 78.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005233/1.218, allocations: 404.7 kB / 0.8055 GB, free: 77.87 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009237/1.219, allocations: 0.5135 MB / 0.806 GB, free: 77.36 MB / 0.5294 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.00496/1.224, allocations: 3.287 MB / 0.8092 GB, free: 74.05 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001224/1.225, allocations: 0.5244 MB / 0.8098 GB, free: 73.52 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00158/1.226, allocations: 0.6283 MB / 0.8104 GB, free: 72.89 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-05/1.227, allocations: 24 kB / 0.8104 GB, free: 72.87 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.672e-05/1.227, allocations: 0 / 0.8104 GB, free: 72.87 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.659e-05/1.227, allocations: 11.97 kB / 0.8104 GB, free: 72.86 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01861/1.245, allocations: 15.01 MB / 0.8251 GB, free: 57.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.833e-05/1.245, allocations: 44 kB / 0.8251 GB, free: 57.14 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001179/1.246, allocations: 451.1 kB / 0.8255 GB, free: 56.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.684e-05/1.247, allocations: 60 kB / 0.8256 GB, free: 56.64 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001173/1.247, allocations: 96.78 kB / 0.8257 GB, free: 56.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.059e-05/1.247, allocations: 95.64 kB / 0.8258 GB, free: 56.45 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-05/1.247, allocations: 75.81 kB / 0.8258 GB, free: 56.38 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003289/1.25, allocations: 4.295 MB / 0.83 GB, free: 51.38 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009543/1.251, allocations: 0.6382 MB / 0.8307 GB, free: 50.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004448/1.251, allocations: 112 kB / 0.8308 GB, free: 50.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001711/1.253, allocations: 116.6 kB / 0.8309 GB, free: 50.49 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002392/1.253, allocations: 310.5 kB / 0.8312 GB, free: 50.18 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001167/1.254, allocations: 129 kB / 0.8313 GB, free: 50.06 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004684/1.258, allocations: 3.955 MB / 0.8352 GB, free: 46.11 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.9e-07/1.258, allocations: 3.938 kB / 0.8352 GB, free: 46.11 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005907/1.264, allocations: 1.304 MB / 0.8364 GB, free: 44.81 MB / 0.5294 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.003483/1.268, allocations: 5.027 MB / 0.8413 GB, free: 39.08 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006603/1.274, allocations: 5.306 MB / 0.8465 GB, free: 33.82 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.223e-05/1.274, allocations: 8 kB / 0.8465 GB, free: 33.81 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001313/1.276, allocations: 1.198 MB / 0.8477 GB, free: 32.62 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04249/1.318, allocations: 0.8719 MB / 0.8486 GB, free: 31.75 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3204/1.639, allocations: 82.08 MB / 0.9287 GB, free: 204.1 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007269/1.646, allocations: 5.08 MB / 0.9337 GB, free: 202.8 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.006392/1.652, allocations: 2.546 MB / 0.9362 GB, free: 202.8 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003705/1.656, allocations: 3.292 MB / 0.9394 GB, free: 200 MB / 0.5763 GB Notification: Performance of SimCode: time 7.51e-07/1.656, allocations: 0 / 0.9394 GB, free: 200 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1129/1.769, allocations: 95.72 MB / 1.033 GB, free: 117.2 MB / 0.5763 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001353/1.769, allocations: 198.4 kB / 1.033 GB, free: 116.9 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.394/6.163, allocations: 0 / 1.033 GB, free: 116.9 MB / 0.5763 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