Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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.0008291/0.0008291, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009301/0.0009301, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9141/0.9141, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.2369/0.2369, allocations: 34.23 MB / 294.8 MB, free: 0.6914 MB / 266.7 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.CutForceAndTorque3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 442.1 MB, free: 1.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.818e-05/1.98e-05, allocations: 4.812 kB / 442.1 MB, free: 1.586 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.1932/0.1932, allocations: 8.919 MB / 451.1 MB, free: 39.39 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004151/0.1973, allocations: 2.931 MB / 454 MB, free: 37.57 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009935/0.1983, allocations: 60.81 kB / 454.1 MB, free: 37.55 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002254/0.2006, allocations: 2.666 MB / 456.7 MB, free: 36.43 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001804/0.2024, allocations: 1.243 MB / 458 MB, free: 35.87 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005518/0.2029, allocations: 380.1 kB / 458.3 MB, free: 35.7 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002245/0.2052, allocations: 2.582 MB / 460.9 MB, free: 34.73 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001855/0.207, allocations: 2.258 MB / 463.2 MB, free: 33.7 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001797/0.2088, allocations: 1.548 MB / 464.7 MB, free: 33 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001228/0.2101, allocations: 1.337 MB / 466.1 MB, free: 32.6 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002883/0.2104, allocations: 251.7 kB / 466.3 MB, free: 32.6 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008611/0.2112, allocations: 0.6971 MB / 467 MB, free: 32.48 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008324/0.212, allocations: 1.41 MB / 468.4 MB, free: 31.86 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006963/0.2127, allocations: 0.8802 MB / 469.3 MB, free: 31.41 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003683/0.2164, allocations: 5.091 MB / 474.4 MB, free: 29.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.2164, allocations: 4 kB / 474.4 MB, free: 29.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.2164, allocations: 0 / 474.4 MB, free: 29.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001216/0.2166, allocations: 0 / 474.4 MB, free: 29.64 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1125 * Number of variables: 1125 Notification: Performance of Generate backend data structure: time 0.005011/0.2216, allocations: 3.237 MB / 477.6 MB, free: 27.69 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.2216, allocations: 9.188 kB / 477.6 MB, free: 27.69 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005137/0.2221, allocations: 0.551 MB / 478.2 MB, free: 27.4 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002616/0.2247, allocations: 1.639 MB / 479.8 MB, free: 27.13 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002006/0.2267, allocations: 1.444 MB / 481.3 MB, free: 26.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.132e-05/0.2268, allocations: 185 kB / 481.4 MB, free: 26.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002613/0.2271, allocations: 226.3 kB / 481.7 MB, free: 26.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008585/0.2357, allocations: 7.128 MB / 488.8 MB, free: 23.17 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.247e-05/0.2357, allocations: 13.67 kB / 488.8 MB, free: 23.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001837/0.2359, allocations: 111.6 kB / 488.9 MB, free: 23.08 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001406/0.2373, allocations: 1.446 MB / 490.4 MB, free: 22.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01065/0.248, allocations: 5.944 MB / 496.3 MB, free: 20.95 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02414/0.2721, allocations: 21.22 MB / 0.5054 GB, free: 4.508 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0025/0.2746, allocations: 1.768 MB / 0.5071 GB, free: 2.727 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005501/0.2752, allocations: 0.7073 MB / 0.5078 GB, free: 2.008 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003955/0.2791, allocations: 3.337 MB / 0.5111 GB, free: 14.65 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/0.2792, allocations: 43.2 kB / 0.5111 GB, free: 14.6 MB / 426.7 MB Notification: Performance of pre-optimization done (n=87): time 3.196e-06/0.2792, allocations: 0 / 0.5111 GB, free: 14.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=87): time 0.003912/0.2831, allocations: 2.402 MB / 0.5135 GB, free: 12.2 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.03e-05/0.2831, allocations: 64 kB / 0.5135 GB, free: 12.12 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002228/0.2853, allocations: 2.184 MB / 0.5157 GB, free: 9.938 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.169e-05/0.2854, allocations: 37.7 kB / 0.5157 GB, free: 9.895 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001011/0.2864, allocations: 2.09 MB / 0.5177 GB, free: 7.781 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002753/0.2867, allocations: 353.3 kB / 0.5181 GB, free: 7.434 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005819/0.2873, allocations: 0.6434 MB / 0.5187 GB, free: 6.781 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.2874, allocations: 361.9 kB / 0.519 GB, free: 6.422 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009554/0.2884, allocations: 0.9352 MB / 0.52 GB, free: 5.484 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001845/0.2902, allocations: 2.872 MB / 0.5228 GB, free: 1.645 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003475/0.2937, allocations: 4.147 MB / 0.5268 GB, free: 12.54 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.134e-05/0.2937, allocations: 24 kB / 0.5268 GB, free: 12.51 MB / 442.7 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.004136/0.2978, allocations: 3.716 MB / 0.5305 GB, free: 8.793 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.503e-05/0.2979, allocations: 37.72 kB / 0.5305 GB, free: 8.758 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-05/0.298, allocations: 71.94 kB / 0.5306 GB, free: 8.688 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.638e-05/0.298, allocations: 92 kB / 0.5307 GB, free: 8.598 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/0.2992, allocations: 0.6823 MB / 0.5313 GB, free: 7.914 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001002/0.2993, allocations: 140 kB / 0.5315 GB, free: 7.777 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001736/0.3011, allocations: 444.7 kB / 0.5319 GB, free: 7.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002008/0.3013, allocations: 192 kB / 0.5321 GB, free: 7.152 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 312 * Number of states: 0 () * Number of discrete variables: 34 (cutForceAndTorque.torqueArrow.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.forceArrow.twoHeadedArrow,cutForceAndTorque.forceArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[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],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.forceColor[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 (382): * Single equations (assignments): 377 * 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.001891/0.3032, allocations: 1.501 MB / 0.5335 GB, free: 5.641 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002034/0.3034, allocations: 182.7 kB / 0.5337 GB, free: 5.461 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002329/0.3036, allocations: 218.2 kB / 0.5339 GB, free: 5.238 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.698e-05/0.3036, allocations: 8 kB / 0.5339 GB, free: 5.23 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/0.3036, allocations: 0 / 0.5339 GB, free: 5.23 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.3036, allocations: 0 / 0.5339 GB, free: 5.23 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005791/0.3094, allocations: 4.839 MB / 0.5386 GB, free: 232 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.3094, allocations: 8 kB / 0.5387 GB, free: 224 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002551/0.3097, allocations: 124.6 kB / 0.5388 GB, free: 100 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.057e-05/0.3097, allocations: 15.94 kB / 0.5388 GB, free: 84 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.014e-05/0.3097, allocations: 20.5 kB / 0.5388 GB, free: 64 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.758e-06/0.3097, allocations: 19.98 kB / 0.5388 GB, free: 44 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-06/0.3097, allocations: 11.94 kB / 0.5388 GB, free: 32 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/0.3108, allocations: 1.391 MB / 0.5402 GB, free: 14.52 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003066/0.3111, allocations: 224.7 kB / 0.5404 GB, free: 14.3 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.3112, allocations: 23.94 kB / 0.5404 GB, free: 14.28 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003112/0.3116, allocations: 39.92 kB / 0.5405 GB, free: 14.24 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.031e-05/0.3116, allocations: 71.72 kB / 0.5405 GB, free: 14.17 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.214e-05/0.3117, allocations: 35.98 kB / 0.5406 GB, free: 14.13 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001391/0.3131, allocations: 1.448 MB / 0.542 GB, free: 12.66 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3131, allocations: 0 / 0.542 GB, free: 12.66 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001803/0.3149, allocations: 0.7785 MB / 0.5427 GB, free: 11.88 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (63): * Single equations (assignments): 60 * 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.001419/0.3163, allocations: 2.011 MB / 0.5447 GB, free: 9.75 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002291/0.3186, allocations: 2.082 MB / 0.5467 GB, free: 7.68 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.3186, allocations: 0 / 0.5467 GB, free: 7.68 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000428/0.319, allocations: 480.3 kB / 0.5472 GB, free: 7.211 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.3201, allocations: 277.7 kB / 0.5475 GB, free: 6.953 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02637/0.3464, allocations: 23.12 MB / 0.57 GB, free: 13.17 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001872/0.3483, allocations: 1.95 MB / 0.5719 GB, free: 11.18 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001441/0.3497, allocations: 1.028 MB / 0.573 GB, free: 10.15 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001082/0.3508, allocations: 1.207 MB / 0.5741 GB, free: 8.945 MB / 490.7 MB Notification: Performance of SimCode: time 1.433e-06/0.3508, allocations: 0 / 0.5741 GB, free: 8.945 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04919/0.4, allocations: 37.25 MB / 0.6105 GB, free: 4.039 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.875/8.275, allocations: 7.922 kB / 0.6105 GB, free: 4.031 MB / 0.5105 GB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.449799275957048]