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.0008546/0.0008546, allocations: 80.34 kB / 20.67 MB, free: 3.895 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.0009291/0.0009291, allocations: 160.9 kB / 23.95 MB, free: 0.6172 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.8647/0.8647, allocations: 177 MB / 204.1 MB, free: 5.766 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.2575/0.2575, allocations: 34.24 MB / 294.8 MB, free: 0.7227 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.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 1.683e-06/1.683e-06, allocations: 0 / 442.2 MB, free: 1.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.164e-05/2.332e-05, allocations: 2.281 kB / 442.2 MB, free: 1.586 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.1853/0.1854, allocations: 13.04 MB / 455.2 MB, free: 36.79 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007902/0.1933, allocations: 4.838 MB / 460 MB, free: 33.73 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002516/0.1958, allocations: 141.8 kB / 460.2 MB, free: 33.69 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005425/0.2012, allocations: 6.12 MB / 466.3 MB, free: 31.1 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005636/0.2068, allocations: 2.91 MB / 469.2 MB, free: 29.7 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002559/0.2094, allocations: 1.749 MB / 471 MB, free: 28.98 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.007478/0.2169, allocations: 9.128 MB / 480.1 MB, free: 25.98 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007441/0.2243, allocations: 6.363 MB / 486.4 MB, free: 23.35 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009724/0.234, allocations: 4.484 MB / 490.9 MB, free: 21.47 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00804/0.2421, allocations: 4.335 MB / 495.3 MB, free: 20.35 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002938/0.245, allocations: 0.5841 MB / 495.8 MB, free: 20.35 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004786/0.2498, allocations: 1.373 MB / 497.2 MB, free: 20.13 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005914/0.2557, allocations: 3.796 MB / 0.4893 GB, free: 18.39 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005633/0.2614, allocations: 2.288 MB / 0.4915 GB, free: 17.07 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0104/0.2718, allocations: 11.75 MB / 0.503 GB, free: 7.883 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.2718, allocations: 4 kB / 0.503 GB, free: 7.879 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.2718, allocations: 0 / 0.503 GB, free: 7.879 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003797/0.2721, allocations: 0 / 0.503 GB, free: 7.879 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: 2471 * Number of variables: 2471 Notification: Performance of Generate backend data structure: time 0.01326/0.2854, allocations: 8.791 MB / 0.5116 GB, free: 15.01 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.2854, allocations: 8.031 kB / 0.5116 GB, free: 15 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001131/0.2866, allocations: 1.17 MB / 0.5127 GB, free: 13.82 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005517/0.2921, allocations: 2.831 MB / 0.5155 GB, free: 10.98 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005443/0.2975, allocations: 4.693 MB / 0.5201 GB, free: 6.207 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000208/0.2977, allocations: 411 kB / 0.5205 GB, free: 5.805 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006016/0.2983, allocations: 0.543 MB / 0.521 GB, free: 5.262 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01663/0.315, allocations: 16.85 MB / 0.5374 GB, free: 3.27 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001276/0.3151, allocations: 73.66 kB / 0.5375 GB, free: 3.199 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004576/0.3156, allocations: 259.8 kB / 0.5378 GB, free: 2.945 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002335/0.3179, allocations: 2.927 MB / 0.5406 GB, free: 12 kB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01725/0.3352, allocations: 12.88 MB / 0.5532 GB, free: 3.117 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05815/0.3933, allocations: 62.39 MB / 0.6141 GB, free: 2.949 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009291/0.4026, allocations: 5.206 MB / 0.6192 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001884/0.4045, allocations: 1.993 MB / 0.6212 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01027/0.4147, allocations: 8.055 MB / 0.629 GB, free: 3.609 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.306e-05/0.4148, allocations: 59.75 kB / 0.6291 GB, free: 3.543 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=182): time 3.857e-06/0.4148, allocations: 4 kB / 0.6291 GB, free: 3.539 MB / 0.5261 GB Notification: Performance of matching and sorting (n=206): time 0.3525/0.7673, allocations: 15.51 MB / 0.6442 GB, free: 142 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.4e-05/0.7674, allocations: 158.4 kB / 0.6444 GB, free: 141.9 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005939/0.7733, allocations: 7.259 MB / 0.6515 GB, free: 139.5 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 9.459e-05/0.7734, allocations: 63.2 kB / 0.6515 GB, free: 139.4 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.001568/0.775, allocations: 5.232 MB / 0.6567 GB, free: 135.8 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003304/0.7753, allocations: 0.845 MB / 0.6575 GB, free: 135.2 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001176/0.7765, allocations: 1.64 MB / 0.6591 GB, free: 134.4 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 3.358e-05/0.7765, allocations: 304.1 kB / 0.6594 GB, free: 134.1 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002057/0.7786, allocations: 2.328 MB / 0.6616 GB, free: 133.4 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00336/0.7819, allocations: 7.674 MB / 0.6691 GB, free: 125.5 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006927/0.7889, allocations: 10.87 MB / 0.6798 GB, free: 115.9 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.631e-05/0.7889, allocations: 58.75 kB / 0.6798 GB, free: 115.9 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.009505/0.7984, allocations: 9.663 MB / 0.6892 GB, free: 112.2 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 9.084e-05/0.7985, allocations: 85.97 kB / 0.6893 GB, free: 112.2 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001458/0.7987, allocations: 189.2 kB / 0.6895 GB, free: 112.2 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001949/0.7989, allocations: 250.4 kB / 0.6897 GB, free: 112.2 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003059/0.8019, allocations: 1.932 MB / 0.6916 GB, free: 111.9 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001994/0.8021, allocations: 370.3 kB / 0.692 GB, free: 111.9 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003857/0.806, allocations: 0.7025 MB / 0.6927 GB, free: 111.7 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004321/0.8064, allocations: 0.5138 MB / 0.6932 GB, free: 111.7 MB / 0.5262 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.003746/0.8102, allocations: 3.292 MB / 0.6964 GB, free: 110.2 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005253/0.8107, allocations: 0.5538 MB / 0.6969 GB, free: 109.9 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00058/0.8113, allocations: 0.6253 MB / 0.6975 GB, free: 109.6 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.568e-05/0.8113, allocations: 23.03 kB / 0.6976 GB, free: 109.6 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.131e-05/0.8113, allocations: 0 / 0.6976 GB, free: 109.6 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/0.8113, allocations: 9.094 kB / 0.6976 GB, free: 109.6 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01392/0.8252, allocations: 16.32 MB / 0.7135 GB, free: 100.6 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.326e-05/0.8253, allocations: 36 kB / 0.7135 GB, free: 100.6 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000609/0.8259, allocations: 394.7 kB / 0.7139 GB, free: 100.2 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.929e-05/0.8259, allocations: 48 kB / 0.714 GB, free: 100.2 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-05/0.826, allocations: 84 kB / 0.714 GB, free: 100.1 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.706e-05/0.826, allocations: 76 kB / 0.7141 GB, free: 100 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.706e-05/0.826, allocations: 64.39 kB / 0.7142 GB, free: 99.98 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002413/0.8284, allocations: 3.905 MB / 0.718 GB, free: 95.78 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008703/0.8293, allocations: 0.6656 MB / 0.7186 GB, free: 95.16 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003343/0.8296, allocations: 96.09 kB / 0.7187 GB, free: 95.08 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001338/0.831, allocations: 254.3 kB / 0.719 GB, free: 94.92 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002029/0.8312, allocations: 268.8 kB / 0.7192 GB, free: 94.72 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.211e-05/0.8312, allocations: 106.1 kB / 0.7193 GB, free: 94.62 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.003915/0.8352, allocations: 4.452 MB / 0.7237 GB, free: 90.95 MB / 0.5262 GB Notification: Performance of sort global known variables: time 4.01e-07/0.8352, allocations: 0 / 0.7237 GB, free: 90.95 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.004874/0.84, allocations: 1.503 MB / 0.7251 GB, free: 89.45 MB / 0.5262 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.002281/0.8423, allocations: 4.616 MB / 0.7297 GB, free: 84.54 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.004873/0.8472, allocations: 5.2 MB / 0.7347 GB, free: 80.02 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.061e-05/0.8472, allocations: 4 kB / 0.7347 GB, free: 80.02 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.0007393/0.8479, allocations: 1.086 MB / 0.7358 GB, free: 79.07 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002596/0.8505, allocations: 0.8541 MB / 0.7366 GB, free: 78.38 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04883/0.8994, allocations: 66.95 MB / 0.802 GB, free: 4.082 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003167/0.9025, allocations: 4.582 MB / 0.8065 GB, free: 15.47 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.003487/0.906, allocations: 2.542 MB / 0.809 GB, free: 12.93 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002629/0.9087, allocations: 3.308 MB / 0.8122 GB, free: 9.617 MB / 0.5418 GB Notification: Performance of SimCode: time 1.453e-06/0.9087, allocations: 0 / 0.8122 GB, free: 9.617 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2676/1.176, allocations: 94.89 MB / 0.9049 GB, free: 136.6 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.67/13.85, allocations: 8 kB / 0.9049 GB, free: 136.6 MB / 0.5574 GB " [Timeout remaining time 646] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","/var/lib/jenkins/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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.418137410655618]