Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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: translateModel(ModelicaTest.MultiBody.Sensors.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3") translateModel(ModelicaTest.MultiBody.Sensors.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001836/0.001836, allocations: 109.4 kB / 18.78 MB, free: 3.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002169/0.002169, allocations: 207.2 kB / 19.79 MB, free: 2.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 230.2 MB / 250.8 MB, free: 8.812 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2186/0.2186, allocations: 46.89 MB / 351.8 MB, free: 7.32 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002279/0.002279, allocations: 80.16 kB / 496.5 MB, free: 11.33 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3454, allocations: 65.98 MB / 0.5493 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01229/0.3577, allocations: 9.573 MB / 0.5586 GB, free: 11.94 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006695/0.3644, allocations: 2.94 MB / 0.5615 GB, free: 8.984 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001642/0.366, allocations: 51.94 kB / 0.5615 GB, free: 8.934 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004063/0.3701, allocations: 2.013 MB / 0.5635 GB, free: 6.914 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00264/0.3727, allocations: 1.133 MB / 0.5646 GB, free: 5.777 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000707/0.3734, allocations: 287.5 kB / 0.5649 GB, free: 5.496 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0033/0.3767, allocations: 2.329 MB / 0.5672 GB, free: 3.16 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002383/0.3791, allocations: 1.915 MB / 0.569 GB, free: 1.207 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001241/0.3804, allocations: 0.88 MB / 0.5699 GB, free: 332 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001762/0.3821, allocations: 1.254 MB / 0.5711 GB, free: 15.06 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000373/0.3825, allocations: 192 kB / 0.5713 GB, free: 14.88 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0014/0.3839, allocations: 0.7292 MB / 0.572 GB, free: 14.15 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001203/0.3851, allocations: 1.133 MB / 0.5731 GB, free: 13.01 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001349/0.3864, allocations: 1.305 MB / 0.5744 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005676/0.3921, allocations: 4.334 MB / 0.5786 GB, free: 7.348 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.568e-06/0.3921, allocations: 0 / 0.5786 GB, free: 7.348 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3921, allocations: 3.938 kB / 0.5786 GB, free: 7.344 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001202/0.3923, allocations: 0 / 0.5786 GB, free: 7.344 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.006321/0.3986, allocations: 2.938 MB / 0.5815 GB, free: 4.344 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.3986, allocations: 12.03 kB / 0.5815 GB, free: 4.332 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004927/0.4035, allocations: 1.574 MB / 0.583 GB, free: 2.754 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002563/0.4061, allocations: 1.344 MB / 0.5844 GB, free: 1.363 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001193/0.4062, allocations: 144 kB / 0.5845 GB, free: 1.223 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003445/0.4066, allocations: 187.8 kB / 0.5847 GB, free: 1.039 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01022/0.4168, allocations: 6.25 MB / 0.5908 GB, free: 10.52 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.537e-05/0.4168, allocations: 11.88 kB / 0.5908 GB, free: 10.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002425/0.4171, allocations: 87.91 kB / 0.5909 GB, free: 10.42 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00231/0.4194, allocations: 1.34 MB / 0.5922 GB, free: 9.074 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01018/0.4296, allocations: 5.334 MB / 0.5974 GB, free: 3.715 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02858/0.4582, allocations: 20.04 MB / 0.617 GB, free: 15.11 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004497/0.4626, allocations: 2.016 MB / 0.6189 GB, free: 12.96 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001011/0.4637, allocations: 0.6428 MB / 0.6196 GB, free: 12.32 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006588/0.4702, allocations: 3.5 MB / 0.623 GB, free: 8.676 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.73e-05/0.4703, allocations: 39 kB / 0.623 GB, free: 8.629 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 4.038e-06/0.4703, allocations: 0 / 0.623 GB, free: 8.629 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005665/0.476, allocations: 1.978 MB / 0.6249 GB, free: 6.641 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.476, allocations: 59.84 kB / 0.625 GB, free: 6.57 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002678/0.4787, allocations: 1.946 MB / 0.6269 GB, free: 4.621 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.756e-05/0.4787, allocations: 33.7 kB / 0.6269 GB, free: 4.582 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001505/0.4802, allocations: 1.911 MB / 0.6288 GB, free: 2.648 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003116/0.4806, allocations: 333.4 kB / 0.6291 GB, free: 2.32 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007855/0.4813, allocations: 0.6273 MB / 0.6297 GB, free: 1.684 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001943/0.4815, allocations: 357.9 kB / 0.6301 GB, free: 1.328 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001312/0.4829, allocations: 0.8842 MB / 0.6309 GB, free: 452 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003094/0.4859, allocations: 2.751 MB / 0.6336 GB, free: 12.75 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005157/0.4911, allocations: 3.958 MB / 0.6375 GB, free: 7.875 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.816e-05/0.4912, allocations: 20 kB / 0.6375 GB, free: 7.855 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006742/0.4979, allocations: 3.53 MB / 0.641 GB, free: 4.32 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.3e-05/0.498, allocations: 36.94 kB / 0.641 GB, free: 4.285 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.669e-05/0.498, allocations: 64 kB / 0.6411 GB, free: 4.223 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.617e-05/0.4981, allocations: 88 kB / 0.6411 GB, free: 4.137 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001866/0.5, allocations: 0.6667 MB / 0.6418 GB, free: 3.469 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001075/0.5001, allocations: 127.5 kB / 0.6419 GB, free: 3.344 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001823/0.5019, allocations: 424.9 kB / 0.6423 GB, free: 2.926 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002405/0.5022, allocations: 191.8 kB / 0.6425 GB, free: 2.742 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.002116/0.5043, allocations: 1.353 MB / 0.6438 GB, free: 1.375 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000249/0.5045, allocations: 162.9 kB / 0.644 GB, free: 1.215 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003609/0.5049, allocations: 196.9 kB / 0.6442 GB, free: 1.02 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.91e-05/0.5049, allocations: 8 kB / 0.6442 GB, free: 1.012 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.5049, allocations: 0 / 0.6442 GB, free: 1.012 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.5049, allocations: 3.984 kB / 0.6442 GB, free: 1.008 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006404/0.5113, allocations: 4.077 MB / 0.6482 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.5114, allocations: 4 kB / 0.6482 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003944/0.5117, allocations: 95.88 kB / 0.6483 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.598e-05/0.5118, allocations: 19.92 kB / 0.6483 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.551e-05/0.5118, allocations: 19.94 kB / 0.6483 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.137e-06/0.5118, allocations: 8 kB / 0.6483 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.448e-06/0.5118, allocations: 11.94 kB / 0.6483 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001597/0.5134, allocations: 1.239 MB / 0.6495 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003761/0.5138, allocations: 255.7 kB / 0.6498 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001608/0.514, allocations: 19.92 kB / 0.6498 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004518/0.5144, allocations: 27.98 kB / 0.6498 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.409e-05/0.5145, allocations: 51.77 kB / 0.6499 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.726e-05/0.5146, allocations: 31.98 kB / 0.6499 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001809/0.5164, allocations: 1.271 MB / 0.6511 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.5164, allocations: 0 / 0.6511 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002356/0.5187, allocations: 0.6929 MB / 0.6518 GB, free: 8.945 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.0003295/0.5191, allocations: 139 kB / 0.6519 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003143/0.5222, allocations: 1.963 MB / 0.6539 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.533e-06/0.5222, allocations: 4 kB / 0.6539 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005855/0.5228, allocations: 433 kB / 0.6543 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001267/0.5241, allocations: 234.2 kB / 0.6545 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008904/0.533, allocations: 5.079 MB / 0.6595 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002554/0.5355, allocations: 2.267 MB / 0.6617 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002078/0.5376, allocations: 0.9596 MB / 0.6626 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003094/0.5379, allocations: 119.4 kB / 0.6627 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of SimCode: time 1.763e-06/0.5379, allocations: 0 / 0.6627 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of Templates: time 0.03405/0.572, allocations: 15.41 MB / 0.6778 GB, free: 14.25 MB / 0.5294 GB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches