Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.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.001425/0.001425, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001484/0.001484, allocations: 207.9 kB / 23.73 MB, free: 4.391 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.43/1.43, allocations: 230.5 MB / 257.4 MB, free: 7.754 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.2446/0.2446, allocations: 46.95 MB / 360.8 MB, free: 3.934 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.CutForce3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003352/0.003352, allocations: 79.81 kB / 0.4961 GB, free: 7.566 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3089, allocations: 66.09 MB / 0.5607 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01049/0.3194, allocations: 8.398 MB / 0.5689 GB, free: 11.59 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005689/0.3251, allocations: 2.78 MB / 0.5716 GB, free: 8.805 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008849/0.3259, allocations: 59.81 kB / 0.5717 GB, free: 8.746 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003646/0.3296, allocations: 1.932 MB / 0.5735 GB, free: 6.809 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00239/0.332, allocations: 1.144 MB / 0.5747 GB, free: 5.66 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006354/0.3326, allocations: 295.4 kB / 0.5749 GB, free: 5.371 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00279/0.3354, allocations: 2.321 MB / 0.5772 GB, free: 3.047 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001947/0.3373, allocations: 1.734 MB / 0.5789 GB, free: 1.266 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009979/0.3383, allocations: 0.8879 MB / 0.5798 GB, free: 384 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001459/0.3398, allocations: 1.168 MB / 0.5809 GB, free: 15.2 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003079/0.3401, allocations: 196 kB / 0.5811 GB, free: 15.01 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001046/0.3412, allocations: 0.6084 MB / 0.5817 GB, free: 14.4 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001014/0.3422, allocations: 1.141 MB / 0.5828 GB, free: 13.26 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009574/0.3431, allocations: 0.9509 MB / 0.5837 GB, free: 12.3 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004551/0.3477, allocations: 4.334 MB / 0.588 GB, free: 7.949 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3477, allocations: 0 / 0.588 GB, free: 7.949 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3477, allocations: 0 / 0.588 GB, free: 7.949 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.961e-05/0.3478, allocations: 0 / 0.588 GB, free: 7.949 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.004667/0.3524, allocations: 2.874 MB / 0.5908 GB, free: 5.031 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.3525, allocations: 12.03 kB / 0.5908 GB, free: 5.02 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005829/0.3531, allocations: 479.1 kB / 0.5912 GB, free: 4.543 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005107/0.3582, allocations: 1.582 MB / 0.5928 GB, free: 2.957 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00324/0.3614, allocations: 1.279 MB / 0.594 GB, free: 1.648 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001223/0.3615, allocations: 143.8 kB / 0.5942 GB, free: 1.508 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003871/0.3619, allocations: 203.8 kB / 0.5944 GB, free: 1.309 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009648/0.3716, allocations: 6.238 MB / 0.6005 GB, free: 10.8 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.869e-05/0.3716, allocations: 15.88 kB / 0.6005 GB, free: 10.78 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002202/0.3718, allocations: 83.91 kB / 0.6006 GB, free: 10.7 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002091/0.3739, allocations: 1.348 MB / 0.6019 GB, free: 9.348 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009495/0.3834, allocations: 5.325 MB / 0.6071 GB, free: 4.012 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02789/0.4113, allocations: 19.02 MB / 0.6256 GB, free: 424 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004129/0.4154, allocations: 1.551 MB / 0.6272 GB, free: 14.84 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001023/0.4165, allocations: 0.6367 MB / 0.6278 GB, free: 14.19 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006097/0.4226, allocations: 2.891 MB / 0.6306 GB, free: 11.28 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.4226, allocations: 39 kB / 0.6306 GB, free: 11.23 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 2.835e-06/0.4226, allocations: 0 / 0.6306 GB, free: 11.23 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005312/0.4279, allocations: 1.99 MB / 0.6326 GB, free: 9.23 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/0.428, allocations: 55.84 kB / 0.6326 GB, free: 9.164 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002877/0.4308, allocations: 2.054 MB / 0.6346 GB, free: 7.105 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.519e-05/0.4309, allocations: 33.7 kB / 0.6347 GB, free: 7.066 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0014/0.4323, allocations: 1.911 MB / 0.6365 GB, free: 5.133 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003273/0.4326, allocations: 333.5 kB / 0.6369 GB, free: 4.805 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008485/0.4335, allocations: 0.6195 MB / 0.6375 GB, free: 4.176 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001863/0.4336, allocations: 357.9 kB / 0.6378 GB, free: 3.82 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001292/0.4349, allocations: 0.8842 MB / 0.6387 GB, free: 2.934 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002805/0.4377, allocations: 2.751 MB / 0.6414 GB, free: 15.25 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004624/0.4424, allocations: 3.968 MB / 0.6452 GB, free: 10.36 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.012e-05/0.4424, allocations: 20 kB / 0.6453 GB, free: 10.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005756/0.4482, allocations: 3.539 MB / 0.6487 GB, free: 6.793 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.247e-05/0.4482, allocations: 32 kB / 0.6487 GB, free: 6.762 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-05/0.4483, allocations: 68 kB / 0.6488 GB, free: 6.695 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.699e-05/0.4484, allocations: 88 kB / 0.6489 GB, free: 6.609 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001939/0.4503, allocations: 0.6511 MB / 0.6495 GB, free: 5.957 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000123/0.4505, allocations: 139.4 kB / 0.6497 GB, free: 5.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001774/0.4522, allocations: 424.9 kB / 0.6501 GB, free: 5.402 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002361/0.4525, allocations: 188 kB / 0.6502 GB, free: 5.219 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutForce.forceArrow.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,WorldForce1.color[3],WorldForce1.color[2],WorldForce1.color[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],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.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 (362): * Single equations (assignments): 357 * 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.001928/0.4544, allocations: 1.35 MB / 0.6516 GB, free: 3.855 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002281/0.4546, allocations: 162.9 kB / 0.6517 GB, free: 3.695 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003309/0.4549, allocations: 192.9 kB / 0.6519 GB, free: 3.504 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-05/0.455, allocations: 12 kB / 0.6519 GB, free: 3.492 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/0.455, allocations: 0 / 0.6519 GB, free: 3.492 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.455, allocations: 3.984 kB / 0.6519 GB, free: 3.488 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00694/0.4619, allocations: 3.959 MB / 0.6558 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.165e-05/0.4619, allocations: 7.984 kB / 0.6558 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004036/0.4623, allocations: 99.83 kB / 0.6559 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.425e-05/0.4624, allocations: 8 kB / 0.6559 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.42e-05/0.4624, allocations: 19.92 kB / 0.6559 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-05/0.4624, allocations: 16 kB / 0.6559 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.113e-06/0.4624, allocations: 11.88 kB / 0.6559 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001549/0.464, allocations: 1.247 MB / 0.6572 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003867/0.4644, allocations: 182.6 kB / 0.6573 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001574/0.4645, allocations: 19.94 kB / 0.6573 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004771/0.465, allocations: 31.92 kB / 0.6574 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.165e-05/0.4651, allocations: 51.81 kB / 0.6574 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.586e-05/0.4651, allocations: 28 kB / 0.6575 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001719/0.4669, allocations: 1.271 MB / 0.6587 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4669, allocations: 0 / 0.6587 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002306/0.4692, allocations: 0.6813 MB / 0.6594 GB, free: 11.64 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (54): * Single equations (assignments): 51 * 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.001989/0.4712, allocations: 1.852 MB / 0.6612 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003095/0.4742, allocations: 1.96 MB / 0.6631 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.4743, allocations: 0 / 0.6631 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005737/0.4748, allocations: 436.2 kB / 0.6635 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/0.476, allocations: 239.5 kB / 0.6637 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03219/0.5082, allocations: 20.88 MB / 0.6841 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002516/0.5107, allocations: 1.704 MB / 0.6858 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002193/0.5129, allocations: 0.9596 MB / 0.6867 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001402/0.5143, allocations: 1.034 MB / 0.6877 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of SimCode: time 1.323e-06/0.5143, allocations: 0 / 0.6877 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07312/0.5874, allocations: 32.88 MB / 0.7198 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.31/12.9, allocations: 7.938 kB / 0.7198 GB, free: 11.37 MB / 0.5606 GB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce3_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce3.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.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.25937394797802]