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.001387/0.001387, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001473/0.001473, allocations: 208.7 kB / 24.51 MB, free: 3.941 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.44/1.44, allocations: 230.5 MB / 258.2 MB, free: 7.789 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.2246/0.2246, allocations: 46.95 MB / 361.6 MB, free: 3.91 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002285/0.002285, allocations: 80.16 kB / 0.4969 GB, free: 7.543 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.281, allocations: 66.09 MB / 0.5614 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01627/0.2973, allocations: 12.94 MB / 0.5741 GB, free: 7.031 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01044/0.3077, allocations: 4.828 MB / 0.5788 GB, free: 2.188 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002175/0.3099, allocations: 139.3 kB / 0.5789 GB, free: 2.051 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01143/0.3213, allocations: 5.807 MB / 0.5846 GB, free: 12.23 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00717/0.3285, allocations: 2.821 MB / 0.5873 GB, free: 9.395 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003589/0.3321, allocations: 1.587 MB / 0.5889 GB, free: 7.805 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01096/0.343, allocations: 7.788 MB / 0.5965 GB, free: 4 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007792/0.3508, allocations: 5.408 MB / 0.6018 GB, free: 10.5 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00494/0.3558, allocations: 2.987 MB / 0.6047 GB, free: 7.5 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006352/0.3621, allocations: 4.089 MB / 0.6087 GB, free: 3.398 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001775/0.3639, allocations: 0.5703 MB / 0.6093 GB, free: 2.828 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003778/0.3677, allocations: 1.311 MB / 0.6105 GB, free: 1.516 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004994/0.3727, allocations: 3.611 MB / 0.6141 GB, free: 13.89 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005221/0.3779, allocations: 2.885 MB / 0.6169 GB, free: 10.98 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01437/0.3922, allocations: 11.75 MB / 0.6283 GB, free: 15.2 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.3923, allocations: 4 kB / 0.6284 GB, free: 15.19 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3923, allocations: 0 / 0.6284 GB, free: 15.19 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0003566/0.3926, allocations: 0 / 0.6284 GB, free: 15.19 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.01902/0.4116, allocations: 8.653 MB / 0.6368 GB, free: 6.461 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.4117, allocations: 8.031 kB / 0.6368 GB, free: 6.453 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002016/0.4119, allocations: 175 kB / 0.637 GB, free: 6.281 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002106/0.414, allocations: 1.166 MB / 0.6381 GB, free: 5.105 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01044/0.4244, allocations: 2.566 MB / 0.6406 GB, free: 2.531 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01153/0.436, allocations: 5.352 MB / 0.6458 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004799/0.4364, allocations: 418.6 kB / 0.6462 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00212/0.4386, allocations: 0.5388 MB / 0.6468 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03205/0.4706, allocations: 16.76 MB / 0.6631 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002181/0.4708, allocations: 71.41 kB / 0.6632 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001164/0.472, allocations: 259.8 kB / 0.6635 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004764/0.4767, allocations: 2.924 MB / 0.6663 GB, free: 7 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02855/0.5053, allocations: 12.78 MB / 0.6788 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5118/1.017, allocations: 61.87 MB / 0.7392 GB, free: 138.6 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01428/1.031, allocations: 4.88 MB / 0.744 GB, free: 138.5 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002537/1.034, allocations: 1.998 MB / 0.7459 GB, free: 138.5 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01426/1.048, allocations: 7.678 MB / 0.7534 GB, free: 136.2 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.881e-05/1.048, allocations: 51.59 kB / 0.7535 GB, free: 136.2 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=182): time 5.46e-06/1.048, allocations: 0 / 0.7535 GB, free: 136.2 MB / 0.5607 GB Notification: Performance of matching and sorting (n=206): time 0.03631/1.085, allocations: 14.47 MB / 0.7676 GB, free: 127.8 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.98e-05/1.085, allocations: 149.8 kB / 0.7678 GB, free: 127.6 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006709/1.091, allocations: 6.346 MB / 0.7739 GB, free: 121.3 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0002596/1.092, allocations: 49.7 kB / 0.774 GB, free: 121.3 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002115/1.094, allocations: 5.279 MB / 0.7791 GB, free: 116.4 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006163/1.094, allocations: 0.8477 MB / 0.78 GB, free: 115.6 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001534/1.096, allocations: 1.674 MB / 0.7816 GB, free: 113.9 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.733e-05/1.096, allocations: 313.1 kB / 0.7819 GB, free: 113.6 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002712/1.099, allocations: 2.292 MB / 0.7841 GB, free: 111.3 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004153/1.103, allocations: 7.64 MB / 0.7916 GB, free: 101.1 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007625/1.11, allocations: 10.81 MB / 0.8022 GB, free: 87.82 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001346/1.11, allocations: 56 kB / 0.8022 GB, free: 87.77 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.01412/1.125, allocations: 9.595 MB / 0.8116 GB, free: 78.18 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001083/1.125, allocations: 84 kB / 0.8117 GB, free: 78.1 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001787/1.125, allocations: 192 kB / 0.8119 GB, free: 77.91 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001667/1.125, allocations: 248 kB / 0.8121 GB, free: 77.67 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005391/1.13, allocations: 1.903 MB / 0.8139 GB, free: 75.76 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001984/1.131, allocations: 370.6 kB / 0.8143 GB, free: 75.4 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005453/1.136, allocations: 407.5 kB / 0.8147 GB, free: 75 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00091/1.137, allocations: 0.5142 MB / 0.8152 GB, free: 74.49 MB / 0.5607 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.003913/1.141, allocations: 3.297 MB / 0.8184 GB, free: 71.19 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007231/1.142, allocations: 0.555 MB / 0.819 GB, free: 70.63 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008942/1.143, allocations: 0.6283 MB / 0.8196 GB, free: 69.99 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.399e-05/1.143, allocations: 23.94 kB / 0.8196 GB, free: 69.97 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/1.143, allocations: 4 kB / 0.8196 GB, free: 69.96 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.185e-05/1.143, allocations: 7.969 kB / 0.8196 GB, free: 69.96 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01899/1.162, allocations: 16.15 MB / 0.8354 GB, free: 53.26 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.015e-05/1.162, allocations: 40 kB / 0.8354 GB, free: 53.22 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001153/1.163, allocations: 383.3 kB / 0.8358 GB, free: 52.84 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.102e-05/1.163, allocations: 55.88 kB / 0.8358 GB, free: 52.79 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001154/1.163, allocations: 91.42 kB / 0.8359 GB, free: 52.7 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.037e-05/1.163, allocations: 71.72 kB / 0.836 GB, free: 52.63 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.099e-05/1.163, allocations: 59.75 kB / 0.836 GB, free: 52.57 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003092/1.166, allocations: 3.962 MB / 0.8399 GB, free: 48.06 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001084/1.167, allocations: 0.5662 MB / 0.8405 GB, free: 47.49 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006737/1.168, allocations: 95.91 kB / 0.8406 GB, free: 47.39 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001878/1.17, allocations: 99.94 kB / 0.8406 GB, free: 47.3 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002436/1.17, allocations: 262.7 kB / 0.8409 GB, free: 47.04 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000123/1.17, allocations: 108 kB / 0.841 GB, free: 46.93 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.005078/1.175, allocations: 3.952 MB / 0.8449 GB, free: 42.99 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.91e-07/1.175, allocations: 0 / 0.8449 GB, free: 42.99 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.007087/1.182, allocations: 1.305 MB / 0.8461 GB, free: 41.69 MB / 0.5607 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.003993/1.186, allocations: 4.692 MB / 0.8507 GB, free: 36.45 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.006534/1.193, allocations: 5.17 MB / 0.8558 GB, free: 31.33 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-05/1.193, allocations: 8 kB / 0.8558 GB, free: 31.32 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.001194/1.194, allocations: 1.079 MB / 0.8568 GB, free: 30.25 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004633/1.199, allocations: 0.8581 MB / 0.8577 GB, free: 29.41 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09195/1.291, allocations: 65.15 MB / 0.9213 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00728/1.298, allocations: 4.578 MB / 0.9258 GB, free: 14.54 MB / 0.6232 GB Notification: Performance of simCode: alias equations: time 0.006067/1.304, allocations: 2.518 MB / 0.9282 GB, free: 12.01 MB / 0.6232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004818/1.309, allocations: 3.276 MB / 0.9314 GB, free: 8.734 MB / 0.6232 GB Notification: Performance of SimCode: time 8.71e-07/1.309, allocations: 0 / 0.9314 GB, free: 8.734 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3862/1.695, allocations: 95.19 MB / 1.024 GB, free: 213.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 32.11/33.81, allocations: 15.75 kB / 1.024 GB, free: 213.1 MB / 0.67 GB " [Timeout remaining time 626] (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: 38.721838355995715]