Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001861/0.001861, allocations: 114 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002312/0.002312, allocations: 214.2 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.488/1.488, allocations: 230.5 MB / 257.4 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2367/0.2367, allocations: 46.93 MB / 360.8 MB, free: 4.148 MB / 286.1 MB " [Timeout remaining time 180] 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.CutForce,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002594/0.002594, allocations: 79.88 kB / 0.4962 GB, free: 8.199 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3211, allocations: 66.08 MB / 0.5607 GB, free: 33.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.0119/0.333, allocations: 15.07 MB / 0.5755 GB, free: 22.79 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009655/0.3426, allocations: 5.093 MB / 0.5804 GB, free: 19.44 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002857/0.3455, allocations: 140.4 kB / 0.5806 GB, free: 19.4 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01048/0.356, allocations: 6.069 MB / 0.5865 GB, free: 16.65 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007319/0.3633, allocations: 2.822 MB / 0.5892 GB, free: 15.31 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003546/0.3668, allocations: 1.585 MB / 0.5908 GB, free: 14.66 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0115/0.3783, allocations: 7.789 MB / 0.5984 GB, free: 11.87 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006768/0.3851, allocations: 5.399 MB / 0.6037 GB, free: 8.223 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005585/0.3907, allocations: 2.983 MB / 0.6066 GB, free: 6.582 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006074/0.3968, allocations: 4.094 MB / 0.6106 GB, free: 3.391 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001926/0.3987, allocations: 0.5742 MB / 0.6111 GB, free: 2.816 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003377/0.4021, allocations: 1.44 MB / 0.6126 GB, free: 1.375 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004599/0.4067, allocations: 3.615 MB / 0.6161 GB, free: 13.75 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006914/0.4136, allocations: 3.841 MB / 0.6198 GB, free: 9.883 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01769/0.4313, allocations: 11.68 MB / 0.6312 GB, free: 14.16 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.4313, allocations: 0 / 0.6312 GB, free: 14.16 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4313, allocations: 0 / 0.6312 GB, free: 14.16 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0003631/0.4316, allocations: 0 / 0.6312 GB, free: 14.16 MB / 478.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.01939/0.451, allocations: 8.657 MB / 0.6397 GB, free: 5.426 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.4511, allocations: 8.031 kB / 0.6397 GB, free: 5.418 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002805/0.4539, allocations: 1.173 MB / 0.6408 GB, free: 4.234 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01096/0.4648, allocations: 2.566 MB / 0.6433 GB, free: 1.66 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01279/0.4776, allocations: 5.321 MB / 0.6485 GB, free: 12.25 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005152/0.4781, allocations: 426.6 kB / 0.6489 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002348/0.4805, allocations: 0.5427 MB / 0.6495 GB, free: 11.29 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03656/0.5171, allocations: 16.68 MB / 0.6658 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003477/0.5174, allocations: 79.34 kB / 0.6658 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001767/0.5192, allocations: 263.8 kB / 0.6661 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00506/0.5242, allocations: 2.923 MB / 0.669 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03132/0.5556, allocations: 12.78 MB / 0.6814 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1035/0.659, allocations: 64.12 MB / 0.7441 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01637/0.6754, allocations: 4.895 MB / 0.7488 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003576/0.679, allocations: 1.997 MB / 0.7508 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01876/0.6977, allocations: 8.125 MB / 0.7587 GB, free: 8.41 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.292e-05/0.6978, allocations: 55.81 kB / 0.7588 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=182): time 5.921e-06/0.6978, allocations: 0 / 0.7588 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of matching and sorting (n=206): time 0.4704/1.168, allocations: 14.45 MB / 0.7729 GB, free: 162.3 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.889e-05/1.168, allocations: 154.7 kB / 0.773 GB, free: 162.1 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009351/1.178, allocations: 6.34 MB / 0.7792 GB, free: 160.2 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0003092/1.178, allocations: 59.53 kB / 0.7793 GB, free: 160.1 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.003204/1.181, allocations: 5.27 MB / 0.7844 GB, free: 156.7 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009627/1.182, allocations: 0.8531 MB / 0.7853 GB, free: 156.1 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002262/1.184, allocations: 1.669 MB / 0.7869 GB, free: 155.3 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.521e-05/1.184, allocations: 302.5 kB / 0.7872 GB, free: 155 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003772/1.188, allocations: 2.296 MB / 0.7894 GB, free: 154.3 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005591/1.194, allocations: 7.64 MB / 0.7969 GB, free: 146.4 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009492/1.203, allocations: 10.81 MB / 0.8074 GB, free: 136.6 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002166/1.204, allocations: 55.81 kB / 0.8075 GB, free: 136.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.0174/1.221, allocations: 9.597 MB / 0.8169 GB, free: 132.9 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001832/1.221, allocations: 90.5 kB / 0.817 GB, free: 132.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003198/1.221, allocations: 194.5 kB / 0.8171 GB, free: 132.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003677/1.222, allocations: 252.8 kB / 0.8174 GB, free: 132.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005993/1.228, allocations: 1.901 MB / 0.8192 GB, free: 132.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002757/1.228, allocations: 367.3 kB / 0.8196 GB, free: 132.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006257/1.234, allocations: 421.5 kB / 0.82 GB, free: 132.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009436/1.235, allocations: 0.5096 MB / 0.8205 GB, free: 132.4 MB / 0.5919 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 (cutForce2b.forceArrow.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce1b.forceArrow.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce2a.forceArrow.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce1a.forceArrow.twoHeadedArrow,cutForce1a.forceArrow.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],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[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],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[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],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[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.005538/1.241, allocations: 3.287 MB / 0.8237 GB, free: 130.9 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001025/1.242, allocations: 0.5569 MB / 0.8242 GB, free: 130.6 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001046/1.243, allocations: 0.6277 MB / 0.8249 GB, free: 130.3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.938e-05/1.243, allocations: 19.66 kB / 0.8249 GB, free: 130.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-05/1.243, allocations: 3.969 kB / 0.8249 GB, free: 130.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-05/1.243, allocations: 8.812 kB / 0.8249 GB, free: 130.3 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01968/1.263, allocations: 16.45 MB / 0.8409 GB, free: 120.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.42e-05/1.263, allocations: 40 kB / 0.841 GB, free: 120.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001119/1.264, allocations: 384.5 kB / 0.8413 GB, free: 120.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.726e-05/1.264, allocations: 55.94 kB / 0.8414 GB, free: 120.2 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000116/1.264, allocations: 84 kB / 0.8415 GB, free: 120.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.404e-05/1.264, allocations: 75 kB / 0.8416 GB, free: 120.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.28e-05/1.264, allocations: 59.75 kB / 0.8416 GB, free: 120 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003379/1.267, allocations: 3.965 MB / 0.8455 GB, free: 115.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001024/1.268, allocations: 0.5544 MB / 0.846 GB, free: 115.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005472/1.269, allocations: 89.94 kB / 0.8461 GB, free: 115.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0018/1.271, allocations: 111.9 kB / 0.8462 GB, free: 115 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002648/1.271, allocations: 265.9 kB / 0.8465 GB, free: 114.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001211/1.271, allocations: 106 kB / 0.8466 GB, free: 114.7 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.009605/1.281, allocations: 3.954 MB / 0.8504 GB, free: 111.4 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5.61e-07/1.281, allocations: 0 / 0.8504 GB, free: 111.4 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01266/1.293, allocations: 1.304 MB / 0.8517 GB, free: 110.1 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 174 * 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 (201): * Single equations (assignments): 198 * 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.006756/1.3, allocations: 4.68 MB / 0.8563 GB, free: 104.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01121/1.311, allocations: 5.162 MB / 0.8613 GB, free: 99.79 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.41e-05/1.311, allocations: 12.25 kB / 0.8613 GB, free: 99.78 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002166/1.314, allocations: 1.078 MB / 0.8624 GB, free: 98.71 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008293/1.322, allocations: 0.8682 MB / 0.8632 GB, free: 97.87 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07824/1.4, allocations: 65.17 MB / 0.9269 GB, free: 23.6 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005646/1.406, allocations: 5.056 MB / 0.9318 GB, free: 18.51 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005082/1.411, allocations: 2.51 MB / 0.9343 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004175/1.415, allocations: 3.28 MB / 0.9375 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of SimCode: time 9.72e-07/1.415, allocations: 3.938 kB / 0.9375 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4285/1.843, allocations: 98.62 MB / 1.034 GB, free: 211.6 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 34.08/35.93, allocations: 8.891 kB / 1.034 GB, free: 211.6 MB / 0.6544 GB " [Timeout remaining time 624] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 40.161440754076466]