Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001348/0.001348, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001464/0.001464, allocations: 211.4 kB / 24.48 MB, free: 3.934 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.514/1.514, allocations: 230.5 MB / 258.1 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2991/0.2991, allocations: 46.95 MB / 361.6 MB, free: 3.926 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutForce3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003146/0.003146, allocations: 79.86 kB / 0.4974 GB, free: 7.051 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3389, allocations: 66.08 MB / 0.5619 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01129/0.3502, allocations: 8.4 MB / 0.5701 GB, free: 11.53 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006207/0.3564, allocations: 2.796 MB / 0.5728 GB, free: 8.73 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001172/0.3575, allocations: 59.81 kB / 0.5729 GB, free: 8.672 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003831/0.3614, allocations: 1.935 MB / 0.5748 GB, free: 6.73 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002825/0.3642, allocations: 1.14 MB / 0.5759 GB, free: 5.586 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007332/0.3649, allocations: 291.5 kB / 0.5762 GB, free: 5.301 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003338/0.3683, allocations: 2.322 MB / 0.5784 GB, free: 2.973 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002336/0.3706, allocations: 1.73 MB / 0.5801 GB, free: 1.199 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00127/0.3719, allocations: 0.8878 MB / 0.581 GB, free: 316 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001664/0.3735, allocations: 1.176 MB / 0.5821 GB, free: 15.13 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003524/0.3739, allocations: 196 kB / 0.5823 GB, free: 14.94 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001183/0.3751, allocations: 0.6084 MB / 0.5829 GB, free: 14.33 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001113/0.3762, allocations: 1.133 MB / 0.584 GB, free: 13.19 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001052/0.3772, allocations: 0.9509 MB / 0.585 GB, free: 12.23 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005487/0.3827, allocations: 4.342 MB / 0.5892 GB, free: 7.875 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.3827, allocations: 4 kB / 0.5892 GB, free: 7.871 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3827, allocations: 0 / 0.5892 GB, free: 7.871 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.05e-05/0.3828, allocations: 4 kB / 0.5892 GB, free: 7.867 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.005344/0.3881, allocations: 2.859 MB / 0.592 GB, free: 4.965 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.3882, allocations: 8.031 kB / 0.592 GB, free: 4.957 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005115/0.3933, allocations: 1.586 MB / 0.5936 GB, free: 3.367 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003295/0.3966, allocations: 1.275 MB / 0.5948 GB, free: 2.062 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001383/0.3967, allocations: 144 kB / 0.5949 GB, free: 1.922 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004052/0.3972, allocations: 187.8 kB / 0.5951 GB, free: 1.738 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01137/0.4085, allocations: 6.25 MB / 0.6012 GB, free: 11.21 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-05/0.4086, allocations: 11.88 kB / 0.6012 GB, free: 11.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000572/0.4092, allocations: 91.84 kB / 0.6013 GB, free: 11.11 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002307/0.4115, allocations: 1.34 MB / 0.6026 GB, free: 9.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01134/0.4228, allocations: 5.332 MB / 0.6078 GB, free: 4.426 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03193/0.4548, allocations: 18.25 MB / 0.6257 GB, free: 1.617 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00459/0.4593, allocations: 1.555 MB / 0.6272 GB, free: 44 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001125/0.4605, allocations: 0.6368 MB / 0.6278 GB, free: 15.39 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007254/0.4677, allocations: 2.884 MB / 0.6306 GB, free: 12.48 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.005e-05/0.4678, allocations: 39 kB / 0.6307 GB, free: 12.43 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 4.439e-06/0.4678, allocations: 0 / 0.6307 GB, free: 12.43 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.00565/0.4734, allocations: 1.971 MB / 0.6326 GB, free: 10.45 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.942e-05/0.4735, allocations: 59.84 kB / 0.6326 GB, free: 10.38 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003581/0.4771, allocations: 1.931 MB / 0.6345 GB, free: 8.441 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.734e-05/0.4771, allocations: 41.69 kB / 0.6346 GB, free: 8.395 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001708/0.4788, allocations: 1.923 MB / 0.6364 GB, free: 6.449 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004399/0.4793, allocations: 329.5 kB / 0.6368 GB, free: 6.125 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001072/0.4804, allocations: 0.6195 MB / 0.6374 GB, free: 5.496 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.4805, allocations: 349.9 kB / 0.6377 GB, free: 5.148 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001516/0.4821, allocations: 0.892 MB / 0.6386 GB, free: 4.254 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003126/0.4852, allocations: 2.747 MB / 0.6412 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005096/0.4903, allocations: 3.966 MB / 0.6451 GB, free: 11.68 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.46e-05/0.4904, allocations: 20 kB / 0.6451 GB, free: 11.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006408/0.4968, allocations: 3.523 MB / 0.6486 GB, free: 8.133 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.543e-05/0.4968, allocations: 32 kB / 0.6486 GB, free: 8.102 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001341/0.497, allocations: 68 kB / 0.6487 GB, free: 8.035 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001245/0.4971, allocations: 84.75 kB / 0.6488 GB, free: 7.953 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002036/0.4991, allocations: 0.6589 MB / 0.6494 GB, free: 7.293 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001354/0.4993, allocations: 131.5 kB / 0.6495 GB, free: 7.164 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002094/0.5014, allocations: 416.9 kB / 0.6499 GB, free: 6.754 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003231/0.5017, allocations: 188 kB / 0.6501 GB, free: 6.57 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.002217/0.5039, allocations: 1.353 MB / 0.6514 GB, free: 5.203 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002986/0.5042, allocations: 154.9 kB / 0.6516 GB, free: 5.051 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004147/0.5046, allocations: 192 kB / 0.6518 GB, free: 4.859 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-05/0.5046, allocations: 11.98 kB / 0.6518 GB, free: 4.848 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/0.5047, allocations: 0 / 0.6518 GB, free: 4.848 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.5047, allocations: 3.984 kB / 0.6518 GB, free: 4.844 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007034/0.5117, allocations: 3.11 MB / 0.6548 GB, free: 1.621 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.525e-05/0.5117, allocations: 8 kB / 0.6548 GB, free: 1.613 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004077/0.5121, allocations: 96.58 kB / 0.6549 GB, free: 1.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.397e-05/0.5121, allocations: 8 kB / 0.6549 GB, free: 1.512 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.809e-05/0.5122, allocations: 23.98 kB / 0.6549 GB, free: 1.488 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.076e-05/0.5122, allocations: 11.94 kB / 0.6549 GB, free: 1.477 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.788e-06/0.5122, allocations: 11.88 kB / 0.655 GB, free: 1.465 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001689/0.5139, allocations: 1.221 MB / 0.6562 GB, free: 156 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004319/0.5143, allocations: 154.7 kB / 0.6563 GB, free: 0 / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003172/0.5146, allocations: 27.97 kB / 0.6563 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005629/0.5152, allocations: 27.98 kB / 0.6564 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.5153, allocations: 59.67 kB / 0.6564 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.919e-05/0.5154, allocations: 28 kB / 0.6564 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001896/0.5173, allocations: 1.114 MB / 0.6575 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5173, allocations: 0 / 0.6575 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002845/0.5201, allocations: 0.7006 MB / 0.6582 GB, free: 14.05 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.0003888/0.5205, allocations: 142.9 kB / 0.6583 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003691/0.5242, allocations: 1.955 MB / 0.6603 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.065e-05/0.5242, allocations: 8.125 kB / 0.6603 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006871/0.5249, allocations: 431.9 kB / 0.6607 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0014/0.5263, allocations: 178.4 kB / 0.6608 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0117/0.538, allocations: 5.386 MB / 0.6661 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003497/0.5415, allocations: 1.704 MB / 0.6678 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006576/0.5422, allocations: 139.3 kB / 0.6679 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of SimCode: time 1.443e-06/0.5422, allocations: 0 / 0.6679 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of Templates: time 0.05565/0.5978, allocations: 30.03 MB / 0.6972 GB, free: 5.988 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 9.982218533288687]