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.001323/0.001323, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.001655/0.001655, allocations: 213.3 kB / 23.75 MB, free: 4.668 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.512/1.512, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.2187/0.2187, allocations: 44.92 MB / 358.8 MB, free: 6.262 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",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.002264/0.002264, allocations: 63.91 kB / 0.4931 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2889, allocations: 65.47 MB / 0.557 GB, free: 7.508 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01246/0.3014, allocations: 9.6 MB / 0.5664 GB, free: 14.12 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006324/0.3077, allocations: 2.955 MB / 0.5693 GB, free: 11.15 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001309/0.309, allocations: 55.81 kB / 0.5693 GB, free: 11.1 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004104/0.3131, allocations: 2.025 MB / 0.5713 GB, free: 9.066 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002671/0.3158, allocations: 1.148 MB / 0.5724 GB, free: 7.914 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007074/0.3165, allocations: 287.4 kB / 0.5727 GB, free: 7.633 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00334/0.3198, allocations: 2.326 MB / 0.575 GB, free: 5.301 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002533/0.3224, allocations: 1.738 MB / 0.5767 GB, free: 3.516 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001164/0.3235, allocations: 0.8878 MB / 0.5775 GB, free: 2.625 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001672/0.3252, allocations: 1.246 MB / 0.5788 GB, free: 1.375 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003368/0.3255, allocations: 196 kB / 0.5789 GB, free: 1.184 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001243/0.3268, allocations: 0.7294 MB / 0.5797 GB, free: 464 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001091/0.3279, allocations: 1.149 MB / 0.5808 GB, free: 15.3 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001348/0.3292, allocations: 1.301 MB / 0.582 GB, free: 13.99 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004818/0.334, allocations: 4.334 MB / 0.5863 GB, free: 9.641 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.334, allocations: 0 / 0.5863 GB, free: 9.641 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.334, allocations: 0 / 0.5863 GB, free: 9.641 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.773e-05/0.3341, allocations: 0 / 0.5863 GB, free: 9.641 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.004665/0.3388, allocations: 2.866 MB / 0.5891 GB, free: 6.73 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.3388, allocations: 12.02 kB / 0.5891 GB, free: 6.719 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005796/0.3394, allocations: 487 kB / 0.5896 GB, free: 6.234 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005101/0.3445, allocations: 1.578 MB / 0.5911 GB, free: 4.652 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002867/0.3473, allocations: 1.267 MB / 0.5923 GB, free: 3.355 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000136/0.3475, allocations: 155.7 kB / 0.5925 GB, free: 3.203 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000378/0.3479, allocations: 183.9 kB / 0.5927 GB, free: 3.023 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009745/0.3576, allocations: 6.254 MB / 0.5988 GB, free: 12.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.237e-05/0.3577, allocations: 15.88 kB / 0.5988 GB, free: 12.48 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002388/0.3579, allocations: 87.89 kB / 0.5989 GB, free: 12.39 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002107/0.36, allocations: 1.34 MB / 0.6002 GB, free: 11.05 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009919/0.3699, allocations: 5.33 MB / 0.6054 GB, free: 5.707 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02818/0.3981, allocations: 19.96 MB / 0.6249 GB, free: 1.168 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004125/0.4022, allocations: 1.551 MB / 0.6264 GB, free: 15.6 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009941/0.4032, allocations: 0.6432 MB / 0.627 GB, free: 14.94 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006208/0.4094, allocations: 3.035 MB / 0.63 GB, free: 11.89 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/0.4095, allocations: 35 kB / 0.63 GB, free: 11.84 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 2.625e-06/0.4095, allocations: 0 / 0.63 GB, free: 11.84 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005419/0.4149, allocations: 1.978 MB / 0.6319 GB, free: 9.855 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.445e-05/0.4149, allocations: 63.84 kB / 0.632 GB, free: 9.781 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002971/0.4179, allocations: 1.942 MB / 0.6339 GB, free: 7.836 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.952e-05/0.418, allocations: 41.67 kB / 0.6339 GB, free: 7.789 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001504/0.4195, allocations: 1.907 MB / 0.6358 GB, free: 5.859 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003342/0.4198, allocations: 329.5 kB / 0.6361 GB, free: 5.535 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008752/0.4207, allocations: 0.6195 MB / 0.6367 GB, free: 4.906 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002083/0.4209, allocations: 357.9 kB / 0.6371 GB, free: 4.551 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001449/0.4223, allocations: 0.8881 MB / 0.6379 GB, free: 3.66 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003144/0.4255, allocations: 2.755 MB / 0.6406 GB, free: 15.97 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004929/0.4304, allocations: 3.97 MB / 0.6445 GB, free: 11.08 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.613e-05/0.4305, allocations: 20 kB / 0.6445 GB, free: 11.06 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005895/0.4364, allocations: 3.531 MB / 0.648 GB, free: 7.52 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.821e-05/0.4364, allocations: 32 kB / 0.648 GB, free: 7.488 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.547e-05/0.4365, allocations: 68 kB / 0.6481 GB, free: 7.422 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.715e-05/0.4366, allocations: 87.98 kB / 0.6481 GB, free: 7.336 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001989/0.4386, allocations: 0.6589 MB / 0.6488 GB, free: 6.676 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001243/0.4387, allocations: 127.5 kB / 0.6489 GB, free: 6.551 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001814/0.4405, allocations: 429.4 kB / 0.6493 GB, free: 6.129 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002742/0.4408, allocations: 191.9 kB / 0.6495 GB, free: 5.941 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.002043/0.4428, allocations: 1.338 MB / 0.6508 GB, free: 4.59 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002511/0.4431, allocations: 162.9 kB / 0.651 GB, free: 4.43 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004299/0.4435, allocations: 200.9 kB / 0.6512 GB, free: 4.23 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-05/0.4435, allocations: 12 kB / 0.6512 GB, free: 4.219 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.371e-06/0.4436, allocations: 0 / 0.6512 GB, free: 4.219 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.874e-06/0.4436, allocations: 3.984 kB / 0.6512 GB, free: 4.215 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007054/0.4506, allocations: 4.045 MB / 0.6551 GB, free: 36 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/0.4506, allocations: 4 kB / 0.6551 GB, free: 32 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004341/0.4511, allocations: 107.8 kB / 0.6552 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.18e-05/0.4511, allocations: 8 kB / 0.6552 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.903e-05/0.4511, allocations: 15.94 kB / 0.6552 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.191e-05/0.4511, allocations: 11.94 kB / 0.6553 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.548e-06/0.4511, allocations: 11.98 kB / 0.6553 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001653/0.4528, allocations: 1.243 MB / 0.6565 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003882/0.4532, allocations: 174.6 kB / 0.6566 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002227/0.4534, allocations: 31.91 kB / 0.6567 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005076/0.4539, allocations: 23.98 kB / 0.6567 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.785e-05/0.454, allocations: 55.8 kB / 0.6568 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.675e-05/0.4541, allocations: 28 kB / 0.6568 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001991/0.4561, allocations: 1.263 MB / 0.658 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.4561, allocations: 0 / 0.658 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002587/0.4586, allocations: 0.6968 MB / 0.6587 GB, free: 12.28 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.002259/0.4609, allocations: 1.856 MB / 0.6605 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00325/0.4642, allocations: 1.962 MB / 0.6624 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.4642, allocations: 0 / 0.6624 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005993/0.4648, allocations: 426.3 kB / 0.6628 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001292/0.4661, allocations: 247.6 kB / 0.6631 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03206/0.4981, allocations: 20.89 MB / 0.6835 GB, free: 320 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003023/0.5011, allocations: 2.271 MB / 0.6857 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002178/0.5033, allocations: 0.9441 MB / 0.6866 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0015/0.5048, allocations: 1.034 MB / 0.6876 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of SimCode: time 9.12e-07/0.5048, allocations: 4 kB / 0.6876 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07626/0.5811, allocations: 35.24 MB / 0.722 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.71/15.29, allocations: 0 / 0.722 GB, free: 8.988 MB / 0.5606 GB " [Timeout remaining time 645] (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: 18.775341012049466]