Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 109.5 kB / 16.41 MB, free: 6.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 185.5 kB / 17.34 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.307/1.307, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1899/0.1899, allocations: 43.52 MB / 314.1 MB, free: 456 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 67.91 kB / 441.3 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.102, allocations: 57.81 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01085/0.1129, allocations: 10.53 MB / 0.4977 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006018/0.119, allocations: 3.014 MB / 0.5006 GB, free: 14.7 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001344/0.1203, allocations: 55.88 kB / 0.5007 GB, free: 14.64 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003763/0.1241, allocations: 2.005 MB / 0.5026 GB, free: 12.63 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003006/0.1272, allocations: 1.21 MB / 0.5038 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007923/0.128, allocations: 291.4 kB / 0.5041 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003243/0.1313, allocations: 2.454 MB / 0.5065 GB, free: 8.668 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002913/0.1342, allocations: 2.375 MB / 0.5088 GB, free: 6.242 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001565/0.1358, allocations: 0.9384 MB / 0.5097 GB, free: 5.301 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001846/0.1377, allocations: 1.265 MB / 0.511 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000557/0.1382, allocations: 212 kB / 0.5112 GB, free: 3.824 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001419/0.1397, allocations: 0.7138 MB / 0.5119 GB, free: 3.109 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001244/0.1409, allocations: 1.204 MB / 0.513 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001846/0.1428, allocations: 1.437 MB / 0.5144 GB, free: 468 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004636/0.1474, allocations: 4.706 MB / 0.519 GB, free: 11.73 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1475, allocations: 0 / 0.519 GB, free: 11.73 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1475, allocations: 0 / 0.519 GB, free: 11.73 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001311/0.1476, allocations: 0 / 0.519 GB, free: 11.73 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1061 * Number of variables: 1061 Notification: Performance of Generate backend data structure: time 0.005762/0.1534, allocations: 3.08 MB / 0.522 GB, free: 8.59 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.1535, allocations: 15.89 kB / 0.5221 GB, free: 8.574 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009328/0.1544, allocations: 0.5052 MB / 0.5225 GB, free: 8.059 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005164/0.1596, allocations: 1.611 MB / 0.5241 GB, free: 6.441 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002664/0.1623, allocations: 1.398 MB / 0.5255 GB, free: 4.992 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/0.1624, allocations: 164 kB / 0.5256 GB, free: 4.828 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005923/0.163, allocations: 203.8 kB / 0.5258 GB, free: 4.629 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2145/0.3776, allocations: 6.775 MB / 0.5325 GB, free: 37 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.998e-05/0.3777, allocations: 15.69 kB / 0.5325 GB, free: 37 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002771/0.378, allocations: 95.78 kB / 0.5326 GB, free: 37 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002283/0.3803, allocations: 1.472 MB / 0.534 GB, free: 36.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01069/0.391, allocations: 5.815 MB / 0.5397 GB, free: 35.84 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03021/0.4212, allocations: 21.44 MB / 0.5606 GB, free: 21.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004307/0.4256, allocations: 2.249 MB / 0.5628 GB, free: 20.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001017/0.4266, allocations: 0.7795 MB / 0.5636 GB, free: 20.04 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006027/0.4327, allocations: 3.746 MB / 0.5672 GB, free: 17.6 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.4327, allocations: 39.09 kB / 0.5673 GB, free: 17.55 MB / 414.1 MB Notification: Performance of pre-optimization done (n=93): time 3.677e-06/0.4327, allocations: 0 / 0.5673 GB, free: 17.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=93): time 0.005355/0.4381, allocations: 2.189 MB / 0.5694 GB, free: 16.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.4382, allocations: 58.78 kB / 0.5695 GB, free: 16.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002638/0.4408, allocations: 2.027 MB / 0.5714 GB, free: 14.6 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001074/0.4409, allocations: 37.7 kB / 0.5715 GB, free: 14.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008972/0.4419, allocations: 1.958 MB / 0.5734 GB, free: 12.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003437/0.4422, allocations: 367.3 kB / 0.5737 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008182/0.443, allocations: 0.6567 MB / 0.5744 GB, free: 11.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.809e-05/0.4431, allocations: 361.9 kB / 0.5747 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001256/0.4444, allocations: 0.9627 MB / 0.5757 GB, free: 10.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002146/0.4466, allocations: 2.918 MB / 0.5785 GB, free: 6.355 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003602/0.4502, allocations: 4.25 MB / 0.5827 GB, free: 1.137 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.368e-05/0.4503, allocations: 20 kB / 0.5827 GB, free: 1.117 MB / 414.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.006779/0.4571, allocations: 3.783 MB / 0.5864 GB, free: 13.33 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001024/0.4572, allocations: 41.91 kB / 0.5864 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001668/0.4574, allocations: 71.94 kB / 0.5865 GB, free: 13.22 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001504/0.4576, allocations: 96.03 kB / 0.5866 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002484/0.4601, allocations: 0.7057 MB / 0.5873 GB, free: 12.42 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001505/0.4602, allocations: 139.4 kB / 0.5874 GB, free: 12.28 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002676/0.4629, allocations: 450.1 kB / 0.5878 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004519/0.4634, allocations: 200 kB / 0.588 GB, free: 11.65 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 315 * Number of states: 0 () * Number of discrete variables: 24 (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 (391): * Single equations (assignments): 386 * 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.002512/0.4659, allocations: 1.427 MB / 0.5894 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003538/0.4663, allocations: 173.7 kB / 0.5896 GB, free: 10.04 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002059/0.4684, allocations: 1.192 MB / 0.5907 GB, free: 8.832 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.343e-05/0.4684, allocations: 8 kB / 0.5908 GB, free: 8.824 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.4684, allocations: 4 kB / 0.5908 GB, free: 8.82 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.4684, allocations: 3.984 kB / 0.5908 GB, free: 8.816 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009134/0.4776, allocations: 4.975 MB / 0.5956 GB, free: 3.672 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-05/0.4776, allocations: 12 kB / 0.5956 GB, free: 3.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005497/0.4782, allocations: 135.7 kB / 0.5958 GB, free: 3.527 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.811e-05/0.4782, allocations: 12 kB / 0.5958 GB, free: 3.516 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.581e-05/0.4783, allocations: 24 kB / 0.5958 GB, free: 3.492 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.777e-05/0.4783, allocations: 23.92 kB / 0.5958 GB, free: 3.469 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.346e-06/0.4783, allocations: 11.94 kB / 0.5958 GB, free: 3.457 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001818/0.4801, allocations: 1.498 MB / 0.5973 GB, free: 1.82 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004487/0.4806, allocations: 282.1 kB / 0.5976 GB, free: 1.527 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002575/0.4809, allocations: 22.34 kB / 0.5976 GB, free: 1.508 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006491/0.4815, allocations: 35.97 kB / 0.5976 GB, free: 1.473 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.4817, allocations: 71.69 kB / 0.5977 GB, free: 1.402 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.076e-05/0.4817, allocations: 39.98 kB / 0.5977 GB, free: 1.363 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001953/0.4837, allocations: 1.328 MB / 0.599 GB, free: 12 kB / 430.1 MB Notification: Performance of sort global known variables: time 5.71e-07/0.4837, allocations: 0 / 0.599 GB, free: 12 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.002746/0.4865, allocations: 0.7551 MB / 0.5998 GB, free: 15.26 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * 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 (70): * Single equations (assignments): 67 * 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.002276/0.4888, allocations: 2.143 MB / 0.6019 GB, free: 12.97 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003335/0.4921, allocations: 2.246 MB / 0.604 GB, free: 10.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/0.4921, allocations: 256 / 0.604 GB, free: 10.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007095/0.4929, allocations: 0.5406 MB / 0.6046 GB, free: 10.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001436/0.4943, allocations: 264.5 kB / 0.6048 GB, free: 9.953 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03229/0.5266, allocations: 22.51 MB / 0.6268 GB, free: 0.707 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003442/0.5301, allocations: 2.401 MB / 0.6292 GB, free: 14.28 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002574/0.5327, allocations: 1.018 MB / 0.6301 GB, free: 13.26 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001744/0.5345, allocations: 1.14 MB / 0.6313 GB, free: 12.12 MB / 478.1 MB Notification: Performance of SimCode: time 1.092e-06/0.5345, allocations: 0 / 0.6313 GB, free: 12.12 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06448/0.599, allocations: 35.03 MB / 0.6655 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.88, allocations: 8 kB / 0.6655 GB, free: 9.051 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches