Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 104.7 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 222.9 MB / 242.2 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2048/0.2048, allocations: 44.18 MB / 336.6 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 68.36 kB / 408.5 MB, free: 27.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1419, allocations: 60.82 MB / 469.4 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.02526/0.1672, allocations: 15.39 MB / 484.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01171/0.1789, allocations: 5.093 MB / 489.8 MB, free: 9.734 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002839/0.1818, allocations: 123.7 kB / 490 MB, free: 9.613 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01143/0.1933, allocations: 6.02 MB / 496 MB, free: 3.574 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007828/0.2012, allocations: 2.852 MB / 498.8 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003771/0.205, allocations: 1.587 MB / 0.4887 GB, free: 15.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01026/0.2153, allocations: 7.732 MB / 0.4962 GB, free: 7.375 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2124/0.4277, allocations: 7.473 MB / 0.5035 GB, free: 16.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004994/0.4327, allocations: 3.039 MB / 0.5065 GB, free: 16.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006012/0.4388, allocations: 3.861 MB / 0.5103 GB, free: 15.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00211/0.4409, allocations: 0.5853 MB / 0.5108 GB, free: 15.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003828/0.4447, allocations: 1.428 MB / 0.5122 GB, free: 15.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004118/0.4489, allocations: 3.592 MB / 0.5158 GB, free: 15.28 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005474/0.4544, allocations: 3.996 MB / 0.5197 GB, free: 13.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01121/0.4656, allocations: 11.74 MB / 0.5311 GB, free: 9.867 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.4656, allocations: 4.641 kB / 0.5311 GB, free: 9.863 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4657, allocations: 0.5312 kB / 0.5311 GB, free: 9.863 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003728/0.466, allocations: 1.25 kB / 0.5311 GB, free: 9.863 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: 2587 * Number of variables: 2587 Notification: Performance of Generate backend data structure: time 0.01563/0.4817, allocations: 8.776 MB / 0.5397 GB, free: 4.121 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.4817, allocations: 10.75 kB / 0.5397 GB, free: 4.121 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001611/0.4833, allocations: 1.214 MB / 0.5409 GB, free: 3.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01051/0.4939, allocations: 2.625 MB / 0.5435 GB, free: 1.988 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01043/0.5043, allocations: 5.799 MB / 0.5491 GB, free: 14.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004172/0.5048, allocations: 435.7 kB / 0.5495 GB, free: 14.13 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002346/0.5072, allocations: 0.5672 MB / 0.5501 GB, free: 13.62 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03653/0.5437, allocations: 17.43 MB / 0.5671 GB, free: 11.37 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003619/0.5441, allocations: 76.8 kB / 0.5672 GB, free: 11.33 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002417/0.5465, allocations: 264.5 kB / 0.5674 GB, free: 11.13 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005395/0.552, allocations: 3.176 MB / 0.5705 GB, free: 8 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03046/0.5824, allocations: 13.41 MB / 0.5836 GB, free: 10.88 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1108/0.6933, allocations: 66.14 MB / 0.6482 GB, free: 7.859 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02685/0.7202, allocations: 5.384 MB / 0.6535 GB, free: 2.34 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005415/0.7257, allocations: 2.11 MB / 0.6555 GB, free: 224 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02599/0.7517, allocations: 9.996 MB / 0.6653 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.645e-05/0.7518, allocations: 55.53 kB / 0.6654 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=182): time 5.11e-06/0.7518, allocations: 0 / 0.6654 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=206): time 0.04441/0.7962, allocations: 14.19 MB / 0.6792 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.853e-05/0.7964, allocations: 153.8 kB / 0.6794 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01201/0.8084, allocations: 6.404 MB / 0.6856 GB, free: 1.004 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003182/0.8087, allocations: 60.83 kB / 0.6857 GB, free: 0.9414 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003809/0.8125, allocations: 5.255 MB / 0.6908 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008506/0.8134, allocations: 0.8266 MB / 0.6916 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002187/0.8156, allocations: 1.683 MB / 0.6932 GB, free: 9.23 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.307e-05/0.8157, allocations: 305.1 kB / 0.6935 GB, free: 8.93 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003459/0.8192, allocations: 2.312 MB / 0.6958 GB, free: 6.609 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1941/1.013, allocations: 7.732 MB / 0.7033 GB, free: 172.4 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01126/1.025, allocations: 10.94 MB / 0.714 GB, free: 163.8 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002048/1.025, allocations: 55.62 kB / 0.7141 GB, free: 163.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1103) (initialization): time 0.01675/1.042, allocations: 9.657 MB / 0.7235 GB, free: 160.4 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001401/1.042, allocations: 92.56 kB / 0.7236 GB, free: 160.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002485/1.042, allocations: 192.8 kB / 0.7238 GB, free: 160.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002804/1.042, allocations: 256.3 kB / 0.724 GB, free: 160.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005498/1.048, allocations: 1.921 MB / 0.7259 GB, free: 160.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002079/1.048, allocations: 373.8 kB / 0.7263 GB, free: 160 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005589/1.054, allocations: 417.5 kB / 0.7267 GB, free: 159.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009636/1.055, allocations: 0.5184 MB / 0.7272 GB, free: 159.8 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 879 * Number of states: 0 () * Number of discrete variables: 68 (cutTorque2b.torqueArrow.arrowLine.twoHeadedArrow,cutTorque2b.torqueArrow.headAtOrigin,cutTorque1b.torqueArrow.arrowLine.twoHeadedArrow,cutTorque1b.torqueArrow.headAtOrigin,cutTorque2a.torqueArrow.arrowLine.twoHeadedArrow,cutTorque2a.torqueArrow.headAtOrigin,cutTorque1a.torqueArrow.arrowLine.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 (1039): * Single equations (assignments): 1028 * 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.006377/1.061, allocations: 3.406 MB / 0.7305 GB, free: 158.4 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00101/1.062, allocations: 0.5314 MB / 0.731 GB, free: 158.4 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00119/1.063, allocations: 0.6332 MB / 0.7316 GB, free: 158.1 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.197e-05/1.063, allocations: 23.25 kB / 0.7317 GB, free: 158.1 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.257e-05/1.063, allocations: 0 / 0.7317 GB, free: 158.1 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.122e-05/1.063, allocations: 12.52 kB / 0.7317 GB, free: 158.1 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0191/1.082, allocations: 15.26 MB / 0.7466 GB, free: 151.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-05/1.083, allocations: 47.94 kB / 0.7466 GB, free: 151.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001209/1.084, allocations: 445 kB / 0.747 GB, free: 151.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.803e-05/1.084, allocations: 63.94 kB / 0.7471 GB, free: 151.4 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001291/1.084, allocations: 107.8 kB / 0.7472 GB, free: 151.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.261e-05/1.084, allocations: 87.8 kB / 0.7473 GB, free: 151.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.754e-05/1.084, allocations: 71.69 kB / 0.7474 GB, free: 151.2 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003439/1.087, allocations: 4.321 MB / 0.7516 GB, free: 146.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001347/1.089, allocations: 0.6273 MB / 0.7522 GB, free: 146.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008289/1.09, allocations: 115.2 kB / 0.7523 GB, free: 146.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002063/1.092, allocations: 112.3 kB / 0.7524 GB, free: 146 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002691/1.092, allocations: 307 kB / 0.7527 GB, free: 145.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001293/1.092, allocations: 128 kB / 0.7528 GB, free: 145.6 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005619/1.098, allocations: 4.006 MB / 0.7567 GB, free: 142.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6.72e-07/1.098, allocations: 0 / 0.7567 GB, free: 142.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007134/1.105, allocations: 1.357 MB / 0.7581 GB, free: 141 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.003683/1.109, allocations: 5.041 MB / 0.763 GB, free: 135.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00797/1.117, allocations: 5.539 MB / 0.7684 GB, free: 130.6 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-05/1.117, allocations: 8.25 kB / 0.7684 GB, free: 130.6 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001317/1.118, allocations: 1.196 MB / 0.7696 GB, free: 129.6 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005268/1.123, allocations: 0.9242 MB / 0.7705 GB, free: 128.8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08341/1.207, allocations: 80.34 MB / 0.8489 GB, free: 36.67 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007827/1.215, allocations: 5.243 MB / 0.854 GB, free: 31.39 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006206/1.221, allocations: 2.574 MB / 0.8566 GB, free: 28.81 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004132/1.225, allocations: 3.428 MB / 0.8599 GB, free: 25.38 MB / 0.5294 GB Notification: Performance of SimCode: time 9.42e-07/1.225, allocations: 0 / 0.8599 GB, free: 25.38 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3317/1.557, allocations: 100 MB / 0.9576 GB, free: 156.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.35/11.91, allocations: 7.781 kB / 0.9576 GB, free: 156.9 MB / 0.545 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches