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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001299/0.001299, allocations: 110.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001556/0.001556, allocations: 217.4 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 230.2 MB / 257.8 MB, free: 8.508 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2273/0.2273, allocations: 46.87 MB / 361.1 MB, free: 4.652 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-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=5002,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=5002,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce3") [Timeout 660] "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.002488/0.002488, allocations: 83.86 kB / 0.4967 GB, free: 7.832 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3294, allocations: 65.98 MB / 0.5612 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01165/0.3411, allocations: 9.602 MB / 0.5706 GB, free: 11.37 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005878/0.347, allocations: 2.958 MB / 0.5735 GB, free: 8.398 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008649/0.3478, allocations: 47.94 kB / 0.5735 GB, free: 8.352 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003727/0.3516, allocations: 2.025 MB / 0.5755 GB, free: 6.32 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002307/0.3539, allocations: 1.129 MB / 0.5766 GB, free: 5.188 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000651/0.3545, allocations: 291.4 kB / 0.5769 GB, free: 4.902 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003063/0.3576, allocations: 2.325 MB / 0.5791 GB, free: 2.574 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002/0.3596, allocations: 1.625 MB / 0.5807 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001079/0.3607, allocations: 0.8761 MB / 0.5816 GB, free: 28 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001641/0.3623, allocations: 1.25 MB / 0.5828 GB, free: 14.77 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003075/0.3626, allocations: 200 kB / 0.583 GB, free: 14.57 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001188/0.3638, allocations: 0.7253 MB / 0.5837 GB, free: 13.85 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001071/0.3649, allocations: 1.137 MB / 0.5848 GB, free: 12.71 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001342/0.3662, allocations: 1.308 MB / 0.5861 GB, free: 11.39 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004695/0.3709, allocations: 4.326 MB / 0.5903 GB, free: 7.051 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.822e-06/0.3709, allocations: 4 kB / 0.5903 GB, free: 7.047 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3709, allocations: 0 / 0.5903 GB, free: 7.047 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.917e-05/0.371, allocations: 0 / 0.5903 GB, free: 7.047 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.005208/0.3762, allocations: 2.938 MB / 0.5932 GB, free: 4.047 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.3762, allocations: 15.97 kB / 0.5932 GB, free: 4.031 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005383/0.3816, allocations: 1.582 MB / 0.5947 GB, free: 2.445 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003634/0.3853, allocations: 1.332 MB / 0.596 GB, free: 1.066 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001225/0.3854, allocations: 144 kB / 0.5962 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000378/0.3858, allocations: 191.8 kB / 0.5964 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0104/0.3962, allocations: 6.246 MB / 0.6025 GB, free: 10.22 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.855e-05/0.3962, allocations: 11.88 kB / 0.6025 GB, free: 10.21 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002549/0.3965, allocations: 87.91 kB / 0.6026 GB, free: 10.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002244/0.3987, allocations: 1.344 MB / 0.6039 GB, free: 8.773 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01091/0.4096, allocations: 5.334 MB / 0.6091 GB, free: 3.414 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03969/0.4493, allocations: 20.04 MB / 0.6286 GB, free: 14.8 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008669/0.458, allocations: 2.013 MB / 0.6306 GB, free: 12.66 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001881/0.4599, allocations: 0.6427 MB / 0.6312 GB, free: 12.01 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01195/0.4718, allocations: 3.492 MB / 0.6346 GB, free: 8.375 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.359e-05/0.4719, allocations: 39 kB / 0.6347 GB, free: 8.328 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 4.198e-06/0.4719, allocations: 0 / 0.6347 GB, free: 8.328 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.01073/0.4826, allocations: 1.986 MB / 0.6366 GB, free: 6.332 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.641e-05/0.4827, allocations: 59.78 kB / 0.6367 GB, free: 6.262 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005801/0.4885, allocations: 1.946 MB / 0.6386 GB, free: 4.312 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001304/0.4886, allocations: 33.7 kB / 0.6386 GB, free: 4.273 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002732/0.4913, allocations: 1.903 MB / 0.6405 GB, free: 2.348 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006037/0.4919, allocations: 329.5 kB / 0.6408 GB, free: 2.023 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001468/0.4934, allocations: 0.6233 MB / 0.6414 GB, free: 1.391 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002859/0.4937, allocations: 357.9 kB / 0.6417 GB, free: 1.035 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002475/0.4962, allocations: 0.8881 MB / 0.6426 GB, free: 148 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005344/0.5015, allocations: 2.751 MB / 0.6453 GB, free: 12.46 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009034/0.5105, allocations: 3.97 MB / 0.6492 GB, free: 7.57 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.407e-05/0.5106, allocations: 16 kB / 0.6492 GB, free: 7.555 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.0109/0.5215, allocations: 3.531 MB / 0.6526 GB, free: 4.02 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.13e-05/0.5216, allocations: 32 kB / 0.6527 GB, free: 3.988 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001281/0.5217, allocations: 68 kB / 0.6527 GB, free: 3.922 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001616/0.5219, allocations: 84 kB / 0.6528 GB, free: 3.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003666/0.5255, allocations: 0.6596 MB / 0.6535 GB, free: 3.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001801/0.5257, allocations: 131.5 kB / 0.6536 GB, free: 3.051 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002526/0.5283, allocations: 432.7 kB / 0.654 GB, free: 2.625 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003019/0.5286, allocations: 188 kB / 0.6542 GB, free: 2.441 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.001983/0.5305, allocations: 1.346 MB / 0.6555 GB, free: 1.082 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002682/0.5308, allocations: 170.9 kB / 0.6556 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004166/0.5312, allocations: 196.9 kB / 0.6558 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.011e-05/0.5312, allocations: 8 kB / 0.6558 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.5313, allocations: 0 / 0.6558 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.5313, allocations: 7.984 kB / 0.6558 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007453/0.5387, allocations: 4.073 MB / 0.6598 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.318e-06/0.5387, allocations: 8.031 kB / 0.6598 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004352/0.5392, allocations: 99.81 kB / 0.6599 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.145e-05/0.5392, allocations: 8 kB / 0.6599 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.22e-05/0.5392, allocations: 23.88 kB / 0.66 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-05/0.5392, allocations: 12 kB / 0.66 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.737e-06/0.5392, allocations: 7.938 kB / 0.66 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001571/0.5408, allocations: 1.247 MB / 0.6612 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000401/0.5412, allocations: 255.7 kB / 0.6614 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000166/0.5414, allocations: 19.92 kB / 0.6615 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004657/0.5418, allocations: 27.98 kB / 0.6615 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.41e-05/0.5419, allocations: 51.83 kB / 0.6615 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.929e-05/0.542, allocations: 27.98 kB / 0.6616 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00177/0.5438, allocations: 1.271 MB / 0.6628 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5438, allocations: 0 / 0.6628 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002271/0.546, allocations: 0.6852 MB / 0.6635 GB, free: 8.645 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.0002809/0.5463, allocations: 150.9 kB / 0.6636 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003028/0.5493, allocations: 1.951 MB / 0.6655 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.665e-06/0.5493, allocations: 5.812 kB / 0.6655 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005986/0.5499, allocations: 429.2 kB / 0.6659 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/0.5512, allocations: 232.4 kB / 0.6662 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00894/0.5601, allocations: 5.091 MB / 0.6711 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002534/0.5627, allocations: 2.267 MB / 0.6733 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002112/0.5648, allocations: 0.948 MB / 0.6743 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003019/0.5651, allocations: 123.4 kB / 0.6744 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of SimCode: time 9.82e-07/0.5651, allocations: 0 / 0.6744 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of Templates: time 0.03191/0.597, allocations: 15.88 MB / 0.6899 GB, free: 13.47 MB / 0.5294 GB " [Timeout remaining time 659] 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 5.572621128056198]