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.001841/0.001841, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002583/0.002583, allocations: 212.6 kB / 24.54 MB, free: 4.02 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.518/1.518, allocations: 230.3 MB / 258 MB, free: 8.164 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.2386/0.2386, allocations: 46.93 MB / 361.4 MB, free: 4.348 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.002451/0.002451, allocations: 79.81 kB / 0.4972 GB, free: 7.469 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3617, allocations: 66.05 MB / 0.5617 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01271/0.3744, allocations: 9.587 MB / 0.571 GB, free: 10.84 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006733/0.3811, allocations: 2.967 MB / 0.5739 GB, free: 7.871 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001698/0.3828, allocations: 55.81 kB / 0.574 GB, free: 7.816 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004285/0.3871, allocations: 2.025 MB / 0.5759 GB, free: 5.785 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003349/0.3904, allocations: 1.14 MB / 0.5771 GB, free: 4.641 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009431/0.3914, allocations: 291.4 kB / 0.5773 GB, free: 4.355 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003621/0.395, allocations: 2.333 MB / 0.5796 GB, free: 2.016 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002525/0.3975, allocations: 1.613 MB / 0.5812 GB, free: 368 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00146/0.399, allocations: 0.8956 MB / 0.5821 GB, free: 15.46 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002065/0.4011, allocations: 1.25 MB / 0.5833 GB, free: 14.21 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005156/0.4016, allocations: 192 kB / 0.5835 GB, free: 14.02 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001557/0.4031, allocations: 0.7294 MB / 0.5842 GB, free: 13.29 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001357/0.4045, allocations: 1.137 MB / 0.5853 GB, free: 12.15 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001702/0.4062, allocations: 1.308 MB / 0.5866 GB, free: 10.83 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005224/0.4114, allocations: 4.334 MB / 0.5908 GB, free: 6.48 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.4114, allocations: 0 / 0.5908 GB, free: 6.48 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.4114, allocations: 4 kB / 0.5908 GB, free: 6.477 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.619e-05/0.4115, allocations: 0 / 0.5908 GB, free: 6.477 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.005217/0.4167, allocations: 2.87 MB / 0.5936 GB, free: 3.562 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/0.4168, allocations: 8.031 kB / 0.5936 GB, free: 3.555 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005096/0.4219, allocations: 1.574 MB / 0.5951 GB, free: 1.977 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002973/0.4248, allocations: 1.275 MB / 0.5964 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001221/0.425, allocations: 144 kB / 0.5965 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003286/0.4253, allocations: 191.8 kB / 0.5967 GB, free: 352 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01021/0.4355, allocations: 6.242 MB / 0.6028 GB, free: 9.824 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.184e-05/0.4355, allocations: 11.88 kB / 0.6028 GB, free: 9.812 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002215/0.4358, allocations: 91.91 kB / 0.6029 GB, free: 9.723 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002001/0.4378, allocations: 1.344 MB / 0.6042 GB, free: 8.375 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009581/0.4473, allocations: 5.334 MB / 0.6094 GB, free: 3.027 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02796/0.4753, allocations: 19.96 MB / 0.6289 GB, free: 14.48 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004/0.4793, allocations: 1.552 MB / 0.6304 GB, free: 12.91 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009448/0.4802, allocations: 0.6391 MB / 0.6311 GB, free: 12.26 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006181/0.4864, allocations: 3.031 MB / 0.634 GB, free: 9.211 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/0.4865, allocations: 42.98 kB / 0.6341 GB, free: 9.16 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 2.645e-06/0.4865, allocations: 0 / 0.6341 GB, free: 9.16 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005598/0.4921, allocations: 1.978 MB / 0.636 GB, free: 7.172 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.309e-05/0.4921, allocations: 59.84 kB / 0.6361 GB, free: 7.102 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003319/0.4954, allocations: 1.942 MB / 0.638 GB, free: 5.156 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.677e-05/0.4955, allocations: 37.7 kB / 0.638 GB, free: 5.113 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001614/0.4971, allocations: 1.907 MB / 0.6399 GB, free: 3.184 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003162/0.4974, allocations: 333.5 kB / 0.6402 GB, free: 2.855 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008808/0.4983, allocations: 0.6195 MB / 0.6408 GB, free: 2.227 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002359/0.4985, allocations: 361.9 kB / 0.6411 GB, free: 1.867 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001372/0.4999, allocations: 0.8842 MB / 0.642 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003305/0.5032, allocations: 2.751 MB / 0.6447 GB, free: 13.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0054/0.5086, allocations: 3.969 MB / 0.6485 GB, free: 8.406 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.544e-05/0.5087, allocations: 20 kB / 0.6486 GB, free: 8.387 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006073/0.5147, allocations: 3.527 MB / 0.652 GB, free: 4.852 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.778e-05/0.5148, allocations: 36 kB / 0.652 GB, free: 4.816 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.718e-05/0.5149, allocations: 64 kB / 0.6521 GB, free: 4.754 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001025/0.515, allocations: 88 kB / 0.6522 GB, free: 4.668 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002112/0.5171, allocations: 0.655 MB / 0.6528 GB, free: 4.012 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002031/0.5173, allocations: 135.4 kB / 0.653 GB, free: 3.879 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002078/0.5194, allocations: 425.1 kB / 0.6534 GB, free: 3.461 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003299/0.5197, allocations: 188 kB / 0.6535 GB, free: 3.277 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.002232/0.5219, allocations: 1.35 MB / 0.6549 GB, free: 1.914 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002592/0.5222, allocations: 162.9 kB / 0.655 GB, free: 1.754 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003498/0.5225, allocations: 192.9 kB / 0.6552 GB, free: 1.562 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-05/0.5226, allocations: 12 kB / 0.6552 GB, free: 1.551 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.5226, allocations: 3.938 kB / 0.6552 GB, free: 1.547 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.5226, allocations: 19.86 kB / 0.6552 GB, free: 1.527 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007366/0.5299, allocations: 4.041 MB / 0.6592 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-05/0.53, allocations: 8 kB / 0.6592 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004061/0.5304, allocations: 96.56 kB / 0.6593 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-05/0.5304, allocations: 8 kB / 0.6593 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.695e-05/0.5304, allocations: 27.94 kB / 0.6593 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.11e-05/0.5304, allocations: 8 kB / 0.6593 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.5304, allocations: 7.938 kB / 0.6593 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001708/0.5322, allocations: 1.247 MB / 0.6605 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003582/0.5325, allocations: 178.6 kB / 0.6607 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001549/0.5327, allocations: 19.92 kB / 0.6607 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00045/0.5331, allocations: 27.98 kB / 0.6608 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.646e-05/0.5332, allocations: 51.81 kB / 0.6608 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.652e-05/0.5333, allocations: 31.98 kB / 0.6608 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002071/0.5353, allocations: 1.267 MB / 0.6621 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5353, allocations: 0 / 0.6621 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002738/0.5381, allocations: 0.6929 MB / 0.6628 GB, free: 9.605 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.0003495/0.5384, allocations: 139 kB / 0.6629 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003341/0.5418, allocations: 1.96 MB / 0.6648 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/0.5418, allocations: 0 / 0.6648 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006532/0.5424, allocations: 433.5 kB / 0.6652 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001263/0.5437, allocations: 237.8 kB / 0.6654 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01009/0.5538, allocations: 5.08 MB / 0.6704 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003269/0.5571, allocations: 2.283 MB / 0.6726 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0023/0.5594, allocations: 0.948 MB / 0.6736 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003697/0.5597, allocations: 119.4 kB / 0.6737 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of SimCode: time 7.71e-07/0.5597, allocations: 0 / 0.6737 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of Templates: time 0.03722/0.5969, allocations: 17.16 MB / 0.6904 GB, free: 13.14 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 -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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.803938809782267]