Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001608/0.001608, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001481/0.001481, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.474/1.474, allocations: 230.6 MB / 258.3 MB, free: 8.223 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.2311/0.2311, allocations: 44.91 MB / 359.6 MB, free: 6.32 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: translateModel(ModelicaTest.MultiBody.Sensors.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3") translateModel(ModelicaTest.MultiBody.Sensors.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3") [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.002042/0.002042, allocations: 75.86 kB / 0.4943 GB, free: 10.22 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.3718, allocations: 65.46 MB / 0.5582 GB, free: 7.703 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.02336/0.3952, allocations: 9.595 MB / 0.5676 GB, free: 14.08 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01165/0.4068, allocations: 2.966 MB / 0.5705 GB, free: 11.11 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002419/0.4092, allocations: 55.81 kB / 0.5706 GB, free: 11.05 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007279/0.4165, allocations: 2.025 MB / 0.5725 GB, free: 9.02 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005482/0.422, allocations: 1.144 MB / 0.5737 GB, free: 7.871 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001514/0.4235, allocations: 283.5 kB / 0.5739 GB, free: 7.594 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006045/0.4296, allocations: 2.326 MB / 0.5762 GB, free: 5.262 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004201/0.4338, allocations: 1.746 MB / 0.5779 GB, free: 3.473 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002281/0.436, allocations: 0.8956 MB / 0.5788 GB, free: 2.574 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00339/0.4394, allocations: 1.246 MB / 0.58 GB, free: 1.324 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008557/0.4403, allocations: 196 kB / 0.5802 GB, free: 1.133 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00258/0.4429, allocations: 0.7255 MB / 0.5809 GB, free: 416 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002342/0.4452, allocations: 1.141 MB / 0.582 GB, free: 15.26 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003547/0.4487, allocations: 1.305 MB / 0.5833 GB, free: 13.95 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01123/0.46, allocations: 4.338 MB / 0.5875 GB, free: 9.594 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.46, allocations: 0 / 0.5875 GB, free: 9.594 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.46, allocations: 0 / 0.5875 GB, free: 9.594 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001636/0.4602, allocations: 0 / 0.5875 GB, free: 9.594 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.01058/0.4707, allocations: 2.866 MB / 0.5903 GB, free: 6.684 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/0.4708, allocations: 8.031 kB / 0.5903 GB, free: 6.676 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01087/0.4817, allocations: 1.578 MB / 0.5919 GB, free: 5.094 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005745/0.4874, allocations: 1.271 MB / 0.5931 GB, free: 3.793 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002611/0.4877, allocations: 148 kB / 0.5932 GB, free: 3.648 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001082/0.4887, allocations: 191.8 kB / 0.5934 GB, free: 3.461 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02096/0.5097, allocations: 6.246 MB / 0.5995 GB, free: 12.94 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001043/0.5098, allocations: 11.88 kB / 0.5995 GB, free: 12.93 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008652/0.5107, allocations: 87.91 kB / 0.5996 GB, free: 12.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00429/0.515, allocations: 1.344 MB / 0.6009 GB, free: 11.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02006/0.535, allocations: 5.342 MB / 0.6062 GB, free: 6.141 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05383/0.5888, allocations: 19.96 MB / 0.6256 GB, free: 1.605 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008334/0.5972, allocations: 1.551 MB / 0.6272 GB, free: 36 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002206/0.5994, allocations: 0.6392 MB / 0.6278 GB, free: 15.38 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01283/0.6122, allocations: 3.035 MB / 0.6307 GB, free: 12.32 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.398e-05/0.6123, allocations: 39 kB / 0.6308 GB, free: 12.28 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 4.889e-06/0.6123, allocations: 0 / 0.6308 GB, free: 12.28 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.011/0.6233, allocations: 1.982 MB / 0.6327 GB, free: 10.29 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.854e-05/0.6234, allocations: 63.84 kB / 0.6328 GB, free: 10.21 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005818/0.6292, allocations: 1.938 MB / 0.6347 GB, free: 8.27 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001646/0.6293, allocations: 29.7 kB / 0.6347 GB, free: 8.234 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002718/0.6321, allocations: 1.915 MB / 0.6366 GB, free: 6.297 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007507/0.6328, allocations: 325.5 kB / 0.6369 GB, free: 5.977 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002086/0.6349, allocations: 0.6273 MB / 0.6375 GB, free: 5.34 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0003679/0.6353, allocations: 357.9 kB / 0.6378 GB, free: 4.984 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002772/0.638, allocations: 0.8842 MB / 0.6387 GB, free: 4.098 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005455/0.6435, allocations: 2.751 MB / 0.6414 GB, free: 424 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009792/0.6533, allocations: 3.966 MB / 0.6453 GB, free: 11.52 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001135/0.6534, allocations: 24 kB / 0.6453 GB, free: 11.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.01288/0.6663, allocations: 3.527 MB / 0.6487 GB, free: 7.965 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001397/0.6664, allocations: 36 kB / 0.6488 GB, free: 7.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001509/0.6666, allocations: 64 kB / 0.6488 GB, free: 7.867 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001873/0.6668, allocations: 88 kB / 0.6489 GB, free: 7.781 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0041/0.6709, allocations: 0.655 MB / 0.6495 GB, free: 7.125 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002211/0.6711, allocations: 135.4 kB / 0.6497 GB, free: 6.992 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003928/0.675, allocations: 433.3 kB / 0.6501 GB, free: 6.566 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006464/0.6756, allocations: 188 kB / 0.6503 GB, free: 6.383 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.004082/0.6797, allocations: 1.346 MB / 0.6516 GB, free: 5.023 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005519/0.6803, allocations: 166.8 kB / 0.6517 GB, free: 4.859 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008087/0.6811, allocations: 204.9 kB / 0.6519 GB, free: 4.656 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.552e-05/0.6811, allocations: 11.94 kB / 0.6519 GB, free: 4.645 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.6811, allocations: 0 / 0.6519 GB, free: 4.645 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/0.6812, allocations: 0 / 0.6519 GB, free: 4.645 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01462/0.6958, allocations: 4.041 MB / 0.6559 GB, free: 480 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.774e-05/0.6958, allocations: 8 kB / 0.6559 GB, free: 472 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009125/0.6967, allocations: 99.86 kB / 0.656 GB, free: 372 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.338e-05/0.6967, allocations: 8 kB / 0.656 GB, free: 364 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001009/0.6968, allocations: 27.92 kB / 0.656 GB, free: 336 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.536e-05/0.6969, allocations: 11.94 kB / 0.656 GB, free: 324 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.458e-05/0.6969, allocations: 8 kB / 0.656 GB, free: 316 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003139/0.7, allocations: 1.239 MB / 0.6573 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006911/0.7007, allocations: 178.6 kB / 0.6574 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004848/0.7012, allocations: 19.94 kB / 0.6574 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001135/0.7023, allocations: 31.97 kB / 0.6575 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001679/0.7025, allocations: 47.81 kB / 0.6575 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/0.7026, allocations: 28 kB / 0.6575 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00405/0.7067, allocations: 1.275 MB / 0.6588 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6.61e-07/0.7067, allocations: 0 / 0.6588 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00517/0.7118, allocations: 0.689 MB / 0.6595 GB, free: 12.72 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.0006087/0.7124, allocations: 143.5 kB / 0.6596 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00587/0.7183, allocations: 1.958 MB / 0.6615 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.316e-05/0.7183, allocations: 0 / 0.6615 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001143/0.7195, allocations: 438.2 kB / 0.6619 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002538/0.722, allocations: 237.3 kB / 0.6622 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01706/0.7391, allocations: 5.394 MB / 0.6674 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005337/0.7444, allocations: 2.279 MB / 0.6697 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007903/0.7452, allocations: 147.4 kB / 0.6698 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of SimCode: time 2.415e-06/0.7452, allocations: 0 / 0.6698 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of Templates: time 0.08082/0.826, allocations: 30.27 MB / 0.6994 GB, free: 3.797 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 10.662669685902074]