Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.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.001671/0.001671, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001448/0.001448, allocations: 215.8 kB / 23.73 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.452/1.452, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2171/0.2171, allocations: 46.96 MB / 360.9 MB, free: 4.008 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CutForce3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 67.89 kB / 0.4961 GB, free: 7.695 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3211, allocations: 66.03 MB / 0.5606 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01278/0.3339, allocations: 8.412 MB / 0.5688 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006766/0.3407, allocations: 2.78 MB / 0.5715 GB, free: 8.961 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001406/0.3421, allocations: 55.81 kB / 0.5716 GB, free: 8.906 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004158/0.3463, allocations: 1.939 MB / 0.5735 GB, free: 6.961 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002909/0.3492, allocations: 1.137 MB / 0.5746 GB, free: 5.82 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008636/0.35, allocations: 287.4 kB / 0.5748 GB, free: 5.539 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003293/0.3533, allocations: 2.325 MB / 0.5771 GB, free: 3.211 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002198/0.3555, allocations: 1.738 MB / 0.5788 GB, free: 1.426 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001307/0.3568, allocations: 0.8878 MB / 0.5797 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001724/0.3585, allocations: 1.172 MB / 0.5808 GB, free: 15.36 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003499/0.3589, allocations: 196 kB / 0.581 GB, free: 15.17 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00114/0.36, allocations: 0.6085 MB / 0.5816 GB, free: 14.56 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001057/0.3611, allocations: 1.137 MB / 0.5827 GB, free: 13.42 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001024/0.3621, allocations: 0.9471 MB / 0.5836 GB, free: 12.46 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00507/0.3672, allocations: 4.338 MB / 0.5879 GB, free: 8.109 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.3672, allocations: 0 / 0.5879 GB, free: 8.109 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3672, allocations: 0 / 0.5879 GB, free: 8.109 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.234e-05/0.3673, allocations: 3.938 kB / 0.5879 GB, free: 8.105 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.005133/0.3724, allocations: 2.862 MB / 0.5907 GB, free: 5.199 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.3725, allocations: 11.97 kB / 0.5907 GB, free: 5.188 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006478/0.3731, allocations: 491 kB / 0.5912 GB, free: 4.699 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00524/0.3783, allocations: 1.578 MB / 0.5927 GB, free: 3.117 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003135/0.3815, allocations: 1.286 MB / 0.594 GB, free: 1.801 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001565/0.3816, allocations: 147.8 kB / 0.5941 GB, free: 1.656 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003827/0.382, allocations: 183.9 kB / 0.5943 GB, free: 1.477 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009904/0.3919, allocations: 6.25 MB / 0.6004 GB, free: 10.95 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.809e-05/0.392, allocations: 15.86 kB / 0.6004 GB, free: 10.94 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002306/0.3922, allocations: 87.91 kB / 0.6005 GB, free: 10.85 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002131/0.3943, allocations: 1.34 MB / 0.6018 GB, free: 9.508 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009895/0.4042, allocations: 5.318 MB / 0.607 GB, free: 4.176 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02683/0.4311, allocations: 19.02 MB / 0.6255 GB, free: 0.582 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004134/0.4352, allocations: 1.553 MB / 0.6271 GB, free: 15.01 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009786/0.4362, allocations: 0.6328 MB / 0.6277 GB, free: 14.36 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005985/0.4422, allocations: 2.903 MB / 0.6305 GB, free: 11.44 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.4422, allocations: 39 kB / 0.6306 GB, free: 11.39 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.076e-06/0.4422, allocations: 0 / 0.6306 GB, free: 11.39 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005489/0.4477, allocations: 1.982 MB / 0.6325 GB, free: 9.402 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/0.4477, allocations: 55.84 kB / 0.6325 GB, free: 9.336 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002982/0.4507, allocations: 2.054 MB / 0.6346 GB, free: 7.277 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.186e-05/0.4508, allocations: 37.7 kB / 0.6346 GB, free: 7.234 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001528/0.4523, allocations: 1.907 MB / 0.6364 GB, free: 5.305 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003427/0.4527, allocations: 329.5 kB / 0.6368 GB, free: 4.98 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000872/0.4535, allocations: 0.6195 MB / 0.6374 GB, free: 4.352 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002052/0.4537, allocations: 365.8 kB / 0.6377 GB, free: 3.988 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001518/0.4553, allocations: 0.8881 MB / 0.6386 GB, free: 3.098 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003343/0.4586, allocations: 2.751 MB / 0.6413 GB, free: 15.41 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00547/0.4641, allocations: 3.962 MB / 0.6451 GB, free: 10.53 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.539e-05/0.4641, allocations: 23.94 kB / 0.6452 GB, free: 10.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006683/0.4708, allocations: 3.534 MB / 0.6486 GB, free: 6.965 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.672e-05/0.4709, allocations: 36 kB / 0.6486 GB, free: 6.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001248/0.471, allocations: 64 kB / 0.6487 GB, free: 6.867 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001336/0.4712, allocations: 91.98 kB / 0.6488 GB, free: 6.777 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002369/0.4735, allocations: 0.655 MB / 0.6494 GB, free: 6.121 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001564/0.4737, allocations: 135.5 kB / 0.6496 GB, free: 5.988 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002454/0.4761, allocations: 429.1 kB / 0.65 GB, free: 5.566 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003851/0.4765, allocations: 191.9 kB / 0.6502 GB, free: 5.379 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.002659/0.4792, allocations: 1.342 MB / 0.6515 GB, free: 4.023 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003264/0.4795, allocations: 162.9 kB / 0.6516 GB, free: 3.863 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004477/0.48, allocations: 196.9 kB / 0.6518 GB, free: 3.668 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.657e-05/0.48, allocations: 8 kB / 0.6518 GB, free: 3.66 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.849e-06/0.48, allocations: 0 / 0.6518 GB, free: 3.66 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.48, allocations: 3.984 kB / 0.6518 GB, free: 3.656 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009043/0.489, allocations: 3.959 MB / 0.6557 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.876e-05/0.4891, allocations: 8 kB / 0.6557 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004472/0.4895, allocations: 99.81 kB / 0.6558 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.361e-05/0.4895, allocations: 8 kB / 0.6558 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.856e-05/0.4896, allocations: 23.94 kB / 0.6558 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.852e-05/0.4896, allocations: 19.75 kB / 0.6558 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.654e-06/0.4896, allocations: 8 kB / 0.6558 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001868/0.4915, allocations: 1.247 MB / 0.6571 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005231/0.492, allocations: 170.6 kB / 0.6572 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003198/0.4923, allocations: 27.92 kB / 0.6573 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006122/0.4929, allocations: 27.94 kB / 0.6573 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.493, allocations: 51.8 kB / 0.6573 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.448e-05/0.4931, allocations: 31.98 kB / 0.6574 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002211/0.4953, allocations: 1.271 MB / 0.6586 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.4953, allocations: 0 / 0.6586 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003331/0.4986, allocations: 0.6814 MB / 0.6593 GB, free: 11.81 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.002849/0.5015, allocations: 1.856 MB / 0.6611 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00368/0.5052, allocations: 1.96 MB / 0.663 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/0.5052, allocations: 8.25 kB / 0.663 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005892/0.5058, allocations: 423.9 kB / 0.6634 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001343/0.5071, allocations: 229.5 kB / 0.6636 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03578/0.5429, allocations: 20.89 MB / 0.684 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003041/0.5459, allocations: 1.708 MB / 0.6857 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002169/0.5481, allocations: 0.948 MB / 0.6866 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001509/0.5496, allocations: 1.03 MB / 0.6876 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of SimCode: time 1.192e-06/0.5496, allocations: 0 / 0.6876 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09485/0.6445, allocations: 32.9 MB / 0.7198 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.88/13.52, allocations: 10.89 kB / 0.7198 GB, free: 11.61 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForce3_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForce3.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.914884426165372]