Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001769/0.001769, allocations: 112.2 kB / 21.22 MB, free: 0.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002151/0.002151, allocations: 206.1 kB / 24.52 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.486/1.486, allocations: 230.6 MB / 258.3 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.23/0.23, allocations: 44.91 MB / 359.6 MB, free: 6.305 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 67.91 kB / 0.4939 GB, free: 10.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.3357, allocations: 65.47 MB / 0.5578 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01151/0.3472, allocations: 9.588 MB / 0.5672 GB, free: 14.14 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005936/0.3531, allocations: 2.959 MB / 0.57 GB, free: 11.17 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001138/0.3543, allocations: 55.81 kB / 0.5701 GB, free: 11.12 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00386/0.3581, allocations: 2.029 MB / 0.5721 GB, free: 9.082 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002691/0.3608, allocations: 1.14 MB / 0.5732 GB, free: 7.938 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000727/0.3616, allocations: 291.4 kB / 0.5735 GB, free: 7.652 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003252/0.3648, allocations: 2.326 MB / 0.5757 GB, free: 5.32 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002127/0.3669, allocations: 1.742 MB / 0.5774 GB, free: 3.531 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001127/0.3681, allocations: 0.8839 MB / 0.5783 GB, free: 2.645 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001616/0.3697, allocations: 1.254 MB / 0.5795 GB, free: 1.387 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003195/0.37, allocations: 196 kB / 0.5797 GB, free: 1.195 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001193/0.3712, allocations: 0.7254 MB / 0.5804 GB, free: 480 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001057/0.3723, allocations: 1.141 MB / 0.5815 GB, free: 15.32 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00124/0.3735, allocations: 1.305 MB / 0.5828 GB, free: 14.01 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004684/0.3782, allocations: 4.33 MB / 0.587 GB, free: 9.664 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3782, allocations: 0 / 0.587 GB, free: 9.664 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3782, allocations: 0 / 0.587 GB, free: 9.664 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.428e-05/0.3783, allocations: 3.938 kB / 0.587 GB, free: 9.66 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.005274/0.3835, allocations: 2.866 MB / 0.5898 GB, free: 6.75 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.848e-05/0.3836, allocations: 8.031 kB / 0.5899 GB, free: 6.742 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.431e-05/0.3837, allocations: 63.94 kB / 0.5899 GB, free: 6.68 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006238/0.3843, allocations: 487.1 kB / 0.5904 GB, free: 6.195 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00531/0.3896, allocations: 1.578 MB / 0.5919 GB, free: 4.613 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002913/0.3925, allocations: 1.275 MB / 0.5932 GB, free: 3.309 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001311/0.3927, allocations: 155.5 kB / 0.5933 GB, free: 3.156 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004342/0.3931, allocations: 187.9 kB / 0.5935 GB, free: 2.973 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01021/0.4033, allocations: 6.246 MB / 0.5996 GB, free: 12.45 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.553e-05/0.4033, allocations: 11.88 kB / 0.5996 GB, free: 12.44 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002605/0.4036, allocations: 87.91 kB / 0.5997 GB, free: 12.36 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002119/0.4057, allocations: 1.344 MB / 0.601 GB, free: 11.01 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01002/0.4157, allocations: 5.33 MB / 0.6062 GB, free: 5.664 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02795/0.4437, allocations: 19.96 MB / 0.6257 GB, free: 1.121 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00427/0.448, allocations: 1.555 MB / 0.6272 GB, free: 15.54 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001025/0.449, allocations: 0.6432 MB / 0.6278 GB, free: 14.89 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006269/0.4553, allocations: 3.031 MB / 0.6308 GB, free: 11.84 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.041e-05/0.4553, allocations: 43 kB / 0.6308 GB, free: 11.79 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.546e-06/0.4553, allocations: 0 / 0.6308 GB, free: 11.79 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005493/0.4608, allocations: 1.975 MB / 0.6328 GB, free: 9.801 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.039e-05/0.4609, allocations: 55.84 kB / 0.6328 GB, free: 9.734 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002865/0.4637, allocations: 1.942 MB / 0.6347 GB, free: 7.789 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.891e-05/0.4638, allocations: 37.7 kB / 0.6348 GB, free: 7.746 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001481/0.4653, allocations: 1.907 MB / 0.6366 GB, free: 5.816 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003758/0.4657, allocations: 337.5 kB / 0.6369 GB, free: 5.484 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008186/0.4665, allocations: 0.6195 MB / 0.6375 GB, free: 4.855 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001856/0.4667, allocations: 361.9 kB / 0.6379 GB, free: 4.496 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001319/0.468, allocations: 0.8881 MB / 0.6388 GB, free: 3.605 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002888/0.4709, allocations: 2.751 MB / 0.6414 GB, free: 15.92 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004725/0.4756, allocations: 3.965 MB / 0.6453 GB, free: 11.04 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.965e-05/0.4756, allocations: 20 kB / 0.6453 GB, free: 11.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005623/0.4813, allocations: 3.531 MB / 0.6488 GB, free: 7.477 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.825e-05/0.4813, allocations: 36.06 kB / 0.6488 GB, free: 7.441 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.325e-05/0.4814, allocations: 68 kB / 0.6489 GB, free: 7.375 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.013e-05/0.4815, allocations: 88 kB / 0.649 GB, free: 7.289 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00188/0.4834, allocations: 0.6589 MB / 0.6496 GB, free: 6.629 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001099/0.4835, allocations: 131.5 kB / 0.6497 GB, free: 6.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001762/0.4852, allocations: 424.8 kB / 0.6501 GB, free: 6.082 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002512/0.4855, allocations: 195.9 kB / 0.6503 GB, free: 5.891 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.001888/0.4874, allocations: 1.342 MB / 0.6516 GB, free: 4.535 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002457/0.4876, allocations: 170.9 kB / 0.6518 GB, free: 4.367 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003537/0.488, allocations: 192.9 kB / 0.652 GB, free: 4.176 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.272e-05/0.488, allocations: 12 kB / 0.652 GB, free: 4.164 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.488, allocations: 0 / 0.652 GB, free: 4.164 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.323e-06/0.488, allocations: 3.984 kB / 0.652 GB, free: 4.16 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006866/0.4949, allocations: 4.041 MB / 0.6559 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.588e-05/0.4949, allocations: 8 kB / 0.656 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004497/0.4953, allocations: 95.81 kB / 0.656 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.738e-05/0.4954, allocations: 8 kB / 0.6561 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.488e-05/0.4954, allocations: 27.92 kB / 0.6561 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-05/0.4954, allocations: 12.56 kB / 0.6561 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.047e-05/0.4955, allocations: 11.94 kB / 0.6561 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001972/0.4974, allocations: 1.239 MB / 0.6573 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005335/0.498, allocations: 182.6 kB / 0.6575 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001833/0.4981, allocations: 19.92 kB / 0.6575 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00052/0.4987, allocations: 23.98 kB / 0.6575 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.4988, allocations: 55.8 kB / 0.6576 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.918e-05/0.4989, allocations: 28 kB / 0.6576 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002279/0.5011, allocations: 1.275 MB / 0.6589 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.5011, allocations: 0 / 0.6589 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002965/0.5041, allocations: 0.6929 MB / 0.6595 GB, free: 12.23 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.002125/0.5062, allocations: 1.845 MB / 0.6613 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003267/0.5095, allocations: 1.96 MB / 0.6632 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.296e-06/0.5095, allocations: 4.438 kB / 0.6632 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005824/0.5101, allocations: 435.8 kB / 0.6637 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001317/0.5114, allocations: 238.7 kB / 0.6639 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03067/0.5421, allocations: 20.88 MB / 0.6843 GB, free: 280 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002636/0.5447, allocations: 2.279 MB / 0.6865 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002127/0.5468, allocations: 0.9518 MB / 0.6874 GB, free: 13 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001454/0.5483, allocations: 1.038 MB / 0.6885 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of SimCode: time 8.41e-07/0.5483, allocations: 0 / 0.6885 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06984/0.6181, allocations: 35.26 MB / 0.7229 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.36/15.97, allocations: 10 kB / 0.7229 GB, free: 8.918 MB / 0.5606 GB " [Timeout remaining time 644] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce2_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 19.782981303986162]