Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.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.001353/0.001353, 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.001482/0.001482, allocations: 204.1 kB / 23.72 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.49/1.49, allocations: 230.5 MB / 257.4 MB, free: 7.742 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.2324/0.2324, allocations: 46.94 MB / 360.8 MB, free: 4.008 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.CutForce2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002376/0.002376, allocations: 75.88 kB / 0.4961 GB, free: 7.559 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/0.3011, allocations: 66.08 MB / 0.5607 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01109/0.3122, allocations: 8.408 MB / 0.5689 GB, free: 11.59 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005858/0.3181, allocations: 2.78 MB / 0.5716 GB, free: 8.801 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008609/0.319, allocations: 59.81 kB / 0.5717 GB, free: 8.742 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003741/0.3227, allocations: 1.943 MB / 0.5736 GB, free: 6.793 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00238/0.3251, allocations: 1.133 MB / 0.5747 GB, free: 5.656 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006575/0.3257, allocations: 287.4 kB / 0.5749 GB, free: 5.375 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002821/0.3286, allocations: 2.326 MB / 0.5772 GB, free: 3.043 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002028/0.3306, allocations: 1.738 MB / 0.5789 GB, free: 1.258 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001171/0.3318, allocations: 0.884 MB / 0.5798 GB, free: 380 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001821/0.3336, allocations: 1.176 MB / 0.5809 GB, free: 15.19 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003913/0.334, allocations: 196 kB / 0.5811 GB, free: 15 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001214/0.3352, allocations: 0.6045 MB / 0.5817 GB, free: 14.39 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001119/0.3363, allocations: 1.141 MB / 0.5828 GB, free: 13.25 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009786/0.3373, allocations: 0.9471 MB / 0.5837 GB, free: 12.3 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004304/0.3416, allocations: 4.334 MB / 0.588 GB, free: 7.945 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3416, allocations: 0 / 0.588 GB, free: 7.945 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3416, allocations: 4 kB / 0.588 GB, free: 7.941 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.832e-05/0.3416, allocations: 0 / 0.588 GB, free: 7.941 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.004806/0.3464, allocations: 2.87 MB / 0.5908 GB, free: 5.027 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.3465, allocations: 12.03 kB / 0.5908 GB, free: 5.016 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006189/0.3471, allocations: 483.1 kB / 0.5912 GB, free: 4.535 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005211/0.3523, allocations: 1.582 MB / 0.5928 GB, free: 2.949 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003048/0.3554, allocations: 1.283 MB / 0.594 GB, free: 1.637 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001279/0.3555, allocations: 143.8 kB / 0.5942 GB, free: 1.496 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000345/0.3558, allocations: 191.8 kB / 0.5944 GB, free: 1.309 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009269/0.3651, allocations: 6.25 MB / 0.6005 GB, free: 10.79 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.827e-05/0.3651, allocations: 15.88 kB / 0.6005 GB, free: 10.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002443/0.3654, allocations: 83.91 kB / 0.6006 GB, free: 10.69 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00215/0.3675, allocations: 1.344 MB / 0.6019 GB, free: 9.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009356/0.3769, allocations: 5.326 MB / 0.6071 GB, free: 4 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02742/0.4043, allocations: 19.01 MB / 0.6256 GB, free: 424 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004271/0.4086, allocations: 1.551 MB / 0.6272 GB, free: 14.84 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001022/0.4096, allocations: 0.6367 MB / 0.6278 GB, free: 14.19 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006136/0.4157, allocations: 2.899 MB / 0.6306 GB, free: 11.27 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.4158, allocations: 39 kB / 0.6306 GB, free: 11.22 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 2.905e-06/0.4158, allocations: 0 / 0.6306 GB, free: 11.22 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005479/0.4213, allocations: 1.978 MB / 0.6326 GB, free: 9.234 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/0.4213, allocations: 55.84 kB / 0.6326 GB, free: 9.168 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002849/0.4242, allocations: 2.058 MB / 0.6346 GB, free: 7.105 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.266e-05/0.4242, allocations: 29.7 kB / 0.6347 GB, free: 7.07 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001601/0.4258, allocations: 1.919 MB / 0.6365 GB, free: 5.129 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003293/0.4261, allocations: 325.5 kB / 0.6369 GB, free: 4.809 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008843/0.427, allocations: 0.6234 MB / 0.6375 GB, free: 4.176 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000233/0.4273, allocations: 357.9 kB / 0.6378 GB, free: 3.82 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001392/0.4286, allocations: 0.8881 MB / 0.6387 GB, free: 2.93 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002954/0.4316, allocations: 2.747 MB / 0.6414 GB, free: 15.25 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004762/0.4364, allocations: 3.962 MB / 0.6452 GB, free: 10.36 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-05/0.4364, allocations: 20 kB / 0.6452 GB, free: 10.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005628/0.442, allocations: 3.545 MB / 0.6487 GB, free: 6.793 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.809e-05/0.4421, allocations: 32 kB / 0.6487 GB, free: 6.762 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.499e-05/0.4422, allocations: 68 kB / 0.6488 GB, free: 6.695 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.73e-05/0.4423, allocations: 88 kB / 0.6489 GB, free: 6.609 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001881/0.4441, allocations: 0.6479 MB / 0.6495 GB, free: 5.961 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001147/0.4443, allocations: 143.4 kB / 0.6497 GB, free: 5.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001794/0.4461, allocations: 424.9 kB / 0.6501 GB, free: 5.402 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002534/0.4463, allocations: 187.9 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.001988/0.4483, allocations: 1.346 MB / 0.6516 GB, free: 3.859 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000243/0.4485, allocations: 166.9 kB / 0.6517 GB, free: 3.695 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003326/0.4489, allocations: 200.8 kB / 0.6519 GB, free: 3.496 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.072e-05/0.4489, allocations: 12 kB / 0.6519 GB, free: 3.484 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.4489, allocations: 0 / 0.6519 GB, free: 3.484 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.4489, allocations: 3.984 kB / 0.6519 GB, free: 3.48 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006706/0.4556, allocations: 3.955 MB / 0.6558 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/0.4556, allocations: 4 kB / 0.6558 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004181/0.456, allocations: 104.6 kB / 0.6559 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.408e-05/0.4561, allocations: 8 kB / 0.6559 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.791e-05/0.4561, allocations: 27.94 kB / 0.6559 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.327e-05/0.4561, allocations: 15.92 kB / 0.6559 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.566e-06/0.4561, allocations: 7.984 kB / 0.6559 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001584/0.4577, allocations: 1.239 MB / 0.6571 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000368/0.4581, allocations: 182.6 kB / 0.6573 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001606/0.4582, allocations: 15.94 kB / 0.6573 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004756/0.4587, allocations: 35.92 kB / 0.6574 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.596e-05/0.4588, allocations: 59.8 kB / 0.6574 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-05/0.4589, allocations: 24 kB / 0.6575 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001794/0.4607, allocations: 1.275 MB / 0.6587 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.4607, allocations: 0 / 0.6587 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002421/0.4631, 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.002166/0.4652, allocations: 1.852 MB / 0.6612 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003175/0.4684, allocations: 1.959 MB / 0.6631 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.4684, allocations: 0 / 0.6631 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005977/0.469, allocations: 430.4 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.00113/0.4702, allocations: 239.3 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.02767/0.4978, allocations: 20.88 MB / 0.6841 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00228/0.5001, allocations: 1.708 MB / 0.6858 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002101/0.5022, allocations: 0.9518 MB / 0.6867 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001341/0.5035, allocations: 1.03 MB / 0.6877 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of SimCode: time 1.122e-06/0.5035, allocations: 0 / 0.6877 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06891/0.5725, allocations: 32.88 MB / 0.7198 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.29/12.87, allocations: 7.625 kB / 0.7198 GB, free: 11.38 MB / 0.5606 GB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce2_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.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.242000944912434]