Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.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.006293/0.006293, allocations: 105.4 kB / 21.98 MB, free: 5.223 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.001627/0.001627, allocations: 216.4 kB / 25.29 MB, free: 3.203 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.476/1.476, allocations: 230.5 MB / 258.9 MB, free: 8.027 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.2444/0.2444, allocations: 46.93 MB / 362.3 MB, free: 4.195 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.CutForce2,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.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,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.CutForce2") [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.002353/0.002353, allocations: 91.83 kB / 0.4982 GB, free: 7.258 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3997/0.4021, allocations: 66.07 MB / 0.5627 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.0117/0.4138, allocations: 9.591 MB / 0.5721 GB, free: 10.58 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006648/0.4204, allocations: 2.959 MB / 0.575 GB, free: 7.617 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001247/0.4217, allocations: 55.81 kB / 0.575 GB, free: 7.562 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003876/0.4256, allocations: 2.033 MB / 0.577 GB, free: 5.523 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003117/0.4287, allocations: 1.133 MB / 0.5781 GB, free: 4.387 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007393/0.4294, allocations: 291.4 kB / 0.5784 GB, free: 4.102 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003138/0.4326, allocations: 2.329 MB / 0.5807 GB, free: 1.766 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002078/0.4346, allocations: 1.746 MB / 0.5824 GB, free: 15.97 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001099/0.4357, allocations: 0.8917 MB / 0.5833 GB, free: 15.08 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001566/0.4373, allocations: 1.25 MB / 0.5845 GB, free: 13.82 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002966/0.4376, allocations: 192 kB / 0.5847 GB, free: 13.64 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001226/0.4388, allocations: 0.7255 MB / 0.5854 GB, free: 12.91 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001015/0.4398, allocations: 1.137 MB / 0.5865 GB, free: 11.77 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001216/0.441, allocations: 1.312 MB / 0.5878 GB, free: 10.45 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004654/0.4457, allocations: 4.329 MB / 0.592 GB, free: 6.105 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.4457, allocations: 0 / 0.592 GB, free: 6.105 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4457, allocations: 0 / 0.592 GB, free: 6.105 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.725e-05/0.4458, allocations: 0 / 0.592 GB, free: 6.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.005048/0.4508, allocations: 2.874 MB / 0.5948 GB, free: 3.188 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.4509, allocations: 8.031 kB / 0.5948 GB, free: 3.18 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004819/0.4557, allocations: 1.574 MB / 0.5963 GB, free: 1.602 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003132/0.4588, allocations: 1.279 MB / 0.5976 GB, free: 300 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001265/0.4589, allocations: 144 kB / 0.5977 GB, free: 156 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004379/0.4594, allocations: 191.9 kB / 0.5979 GB, free: 15.96 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01168/0.4711, allocations: 6.25 MB / 0.604 GB, free: 9.438 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.012e-05/0.4711, allocations: 15.88 kB / 0.604 GB, free: 9.422 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002389/0.4714, allocations: 83.91 kB / 0.6041 GB, free: 9.34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002353/0.4737, allocations: 1.34 MB / 0.6054 GB, free: 7.996 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01161/0.4853, allocations: 5.341 MB / 0.6106 GB, free: 2.645 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03242/0.5177, allocations: 19.95 MB / 0.6301 GB, free: 14.12 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004298/0.522, allocations: 1.552 MB / 0.6316 GB, free: 12.55 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001092/0.5231, allocations: 0.6407 MB / 0.6323 GB, free: 11.89 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006363/0.5295, allocations: 3.035 MB / 0.6352 GB, free: 8.836 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.899e-05/0.5295, allocations: 35 kB / 0.6352 GB, free: 8.793 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.396e-06/0.5295, allocations: 0 / 0.6352 GB, free: 8.793 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005928/0.5355, allocations: 1.986 MB / 0.6372 GB, free: 6.797 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000155/0.5356, allocations: 55.84 kB / 0.6372 GB, free: 6.73 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003394/0.539, allocations: 1.942 MB / 0.6391 GB, free: 4.785 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.419e-05/0.5391, allocations: 37.69 kB / 0.6392 GB, free: 4.742 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00163/0.5407, allocations: 1.911 MB / 0.641 GB, free: 2.809 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003623/0.5411, allocations: 325.5 kB / 0.6414 GB, free: 2.488 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008518/0.5419, allocations: 0.6195 MB / 0.642 GB, free: 1.859 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002133/0.5421, allocations: 361.9 kB / 0.6423 GB, free: 1.5 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001355/0.5435, allocations: 0.8881 MB / 0.6432 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003425/0.5469, allocations: 2.755 MB / 0.6459 GB, free: 12.92 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005234/0.5521, allocations: 3.966 MB / 0.6497 GB, free: 8.035 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.581e-05/0.5522, allocations: 20 kB / 0.6498 GB, free: 8.016 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006139/0.5583, allocations: 3.534 MB / 0.6532 GB, free: 4.473 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.557e-05/0.5584, allocations: 32 kB / 0.6532 GB, free: 4.441 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.013e-05/0.5585, allocations: 68 kB / 0.6533 GB, free: 4.375 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001024/0.5586, allocations: 84.81 kB / 0.6534 GB, free: 4.293 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001872/0.5604, allocations: 0.6628 MB / 0.654 GB, free: 3.629 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001133/0.5605, allocations: 123.5 kB / 0.6541 GB, free: 3.508 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001925/0.5625, allocations: 432.8 kB / 0.6546 GB, free: 3.082 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000249/0.5627, allocations: 184 kB / 0.6547 GB, free: 2.902 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.002028/0.5647, allocations: 1.35 MB / 0.656 GB, free: 1.539 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002665/0.565, allocations: 162.9 kB / 0.6562 GB, free: 1.379 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003349/0.5654, allocations: 200.8 kB / 0.6564 GB, free: 1.18 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.36e-05/0.5654, allocations: 15.97 kB / 0.6564 GB, free: 1.164 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.5654, allocations: 0 / 0.6564 GB, free: 1.164 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.5654, allocations: 0 / 0.6564 GB, free: 1.164 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007494/0.5729, allocations: 4.049 MB / 0.6604 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/0.5729, allocations: 4 kB / 0.6604 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004562/0.5734, allocations: 99.83 kB / 0.6605 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.717e-05/0.5734, allocations: 8 kB / 0.6605 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-05/0.5734, allocations: 23.92 kB / 0.6605 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-05/0.5734, allocations: 11.94 kB / 0.6605 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.276e-05/0.5735, allocations: 8 kB / 0.6605 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001975/0.5754, allocations: 1.243 MB / 0.6617 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004992/0.5759, allocations: 178.6 kB / 0.6619 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001679/0.5761, allocations: 27.92 kB / 0.6619 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004601/0.5766, allocations: 27.91 kB / 0.662 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.5767, allocations: 55.81 kB / 0.662 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.498e-05/0.5767, allocations: 28 kB / 0.662 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002033/0.5788, allocations: 1.267 MB / 0.6633 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.5788, allocations: 0 / 0.6633 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002828/0.5816, allocations: 0.6929 MB / 0.6639 GB, free: 9.23 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.0003745/0.582, allocations: 143 kB / 0.6641 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003615/0.5856, allocations: 1.956 MB / 0.666 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.295e-06/0.5856, allocations: 4 kB / 0.666 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006097/0.5862, allocations: 437 kB / 0.6664 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001353/0.5876, allocations: 235.4 kB / 0.6666 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01049/0.5981, allocations: 5.399 MB / 0.6719 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002598/0.6007, allocations: 2.279 MB / 0.6741 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004991/0.6012, allocations: 139.4 kB / 0.6743 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of SimCode: time 1.332e-06/0.6012, allocations: 0 / 0.6743 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of Templates: time 0.05892/0.6601, allocations: 30.28 MB / 0.7038 GB, free: 304 kB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 10.49067587312311]