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.01029/0.01029, allocations: 106 kB / 21.98 MB, free: 5.227 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.002556/0.002556, allocations: 216.6 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.492/1.492, allocations: 230.5 MB / 258.9 MB, free: 8.012 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.244/0.244, allocations: 46.93 MB / 362.3 MB, free: 4.188 MB / 286.1 MB " [Timeout remaining time 179] 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.002332/0.002332, allocations: 79.86 kB / 0.4982 GB, free: 7.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4/0.4024, allocations: 66.08 MB / 0.5627 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01216/0.4145, allocations: 9.601 MB / 0.5721 GB, free: 10.61 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006764/0.4213, allocations: 2.959 MB / 0.575 GB, free: 7.641 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001382/0.4227, allocations: 55.81 kB / 0.575 GB, free: 7.586 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0039/0.4266, allocations: 2.029 MB / 0.577 GB, free: 5.551 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002838/0.4294, allocations: 1.14 MB / 0.5781 GB, free: 4.406 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007511/0.4302, allocations: 283.4 kB / 0.5784 GB, free: 4.129 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003493/0.4337, allocations: 2.329 MB / 0.5807 GB, free: 1.793 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002728/0.4364, allocations: 1.73 MB / 0.5824 GB, free: 16 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001605/0.438, allocations: 0.8956 MB / 0.5832 GB, free: 15.12 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002206/0.4402, allocations: 1.25 MB / 0.5845 GB, free: 13.86 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006597/0.4409, allocations: 196 kB / 0.5847 GB, free: 13.67 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001615/0.4425, allocations: 0.7216 MB / 0.5854 GB, free: 12.95 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001265/0.4437, allocations: 1.145 MB / 0.5865 GB, free: 11.8 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0014/0.4451, allocations: 1.308 MB / 0.5878 GB, free: 10.48 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005043/0.4502, allocations: 4.333 MB / 0.592 GB, free: 6.137 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.4502, allocations: 4 kB / 0.592 GB, free: 6.133 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.4502, allocations: 0 / 0.592 GB, free: 6.133 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.14e-05/0.4503, allocations: 0 / 0.592 GB, free: 6.133 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.005205/0.4555, allocations: 2.862 MB / 0.5948 GB, free: 3.227 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.4555, allocations: 8.031 kB / 0.5948 GB, free: 3.219 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004872/0.4604, allocations: 1.582 MB / 0.5963 GB, free: 1.633 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002817/0.4632, allocations: 1.275 MB / 0.5976 GB, free: 336 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001234/0.4633, allocations: 148 kB / 0.5977 GB, free: 188 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003368/0.4637, allocations: 187.8 kB / 0.5979 GB, free: 0 / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01016/0.4738, allocations: 6.246 MB / 0.604 GB, free: 9.473 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.713e-05/0.4739, allocations: 19.81 kB / 0.604 GB, free: 9.457 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002485/0.4741, allocations: 91.89 kB / 0.6041 GB, free: 9.367 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002073/0.4762, allocations: 1.34 MB / 0.6054 GB, free: 8.023 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01041/0.4866, allocations: 5.334 MB / 0.6106 GB, free: 2.676 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03037/0.517, allocations: 19.95 MB / 0.6301 GB, free: 14.15 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004271/0.5212, allocations: 1.556 MB / 0.6316 GB, free: 12.57 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001032/0.5223, allocations: 0.6428 MB / 0.6323 GB, free: 11.92 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00656/0.5288, allocations: 3.031 MB / 0.6352 GB, free: 8.867 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/0.5289, allocations: 42.98 kB / 0.6353 GB, free: 8.816 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 2.705e-06/0.5289, allocations: 0 / 0.6353 GB, free: 8.816 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005431/0.5343, allocations: 1.975 MB / 0.6372 GB, free: 6.832 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.961e-05/0.5344, allocations: 59.84 kB / 0.6372 GB, free: 6.762 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002983/0.5374, allocations: 1.938 MB / 0.6391 GB, free: 4.82 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.205e-05/0.5374, allocations: 37.64 kB / 0.6392 GB, free: 4.777 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001589/0.539, allocations: 1.919 MB / 0.641 GB, free: 2.836 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003294/0.5393, allocations: 325.5 kB / 0.6414 GB, free: 2.516 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008233/0.5402, allocations: 0.6195 MB / 0.642 GB, free: 1.887 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002231/0.5404, allocations: 361.9 kB / 0.6423 GB, free: 1.527 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001364/0.5417, allocations: 0.8842 MB / 0.6432 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00321/0.545, allocations: 2.751 MB / 0.6459 GB, free: 12.95 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004859/0.5498, allocations: 3.974 MB / 0.6497 GB, free: 8.059 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.795e-05/0.5499, allocations: 20 kB / 0.6498 GB, free: 8.039 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.0057/0.5556, allocations: 3.524 MB / 0.6532 GB, free: 4.504 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.447e-05/0.5556, allocations: 36 kB / 0.6532 GB, free: 4.469 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.973e-05/0.5557, allocations: 67.98 kB / 0.6533 GB, free: 4.402 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001004/0.5558, allocations: 88 kB / 0.6534 GB, free: 4.316 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001867/0.5577, allocations: 0.6589 MB / 0.654 GB, free: 3.656 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001095/0.5578, allocations: 131.5 kB / 0.6541 GB, free: 3.527 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001865/0.5596, allocations: 433 kB / 0.6546 GB, free: 3.105 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002529/0.5599, allocations: 184 kB / 0.6547 GB, free: 2.926 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.002223/0.5621, allocations: 1.35 MB / 0.6561 GB, free: 1.562 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002751/0.5624, allocations: 162.9 kB / 0.6562 GB, free: 1.402 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003686/0.5627, allocations: 200.8 kB / 0.6564 GB, free: 1.203 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.172e-05/0.5628, allocations: 12 kB / 0.6564 GB, free: 1.191 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.699e-06/0.5628, allocations: 4 kB / 0.6564 GB, free: 1.188 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.5628, allocations: 3.984 kB / 0.6564 GB, free: 1.184 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007059/0.5699, allocations: 4.041 MB / 0.6604 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-05/0.5699, allocations: 8 kB / 0.6604 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004033/0.5703, allocations: 100.6 kB / 0.6605 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.278e-05/0.5703, allocations: 8 kB / 0.6605 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.73e-05/0.5703, allocations: 27.94 kB / 0.6605 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.016e-05/0.5703, allocations: 8 kB / 0.6605 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.107e-06/0.5703, allocations: 11.94 kB / 0.6605 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00162/0.572, allocations: 1.239 MB / 0.6617 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003825/0.5723, allocations: 174.6 kB / 0.6619 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001608/0.5725, allocations: 23.92 kB / 0.6619 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004428/0.573, allocations: 31.97 kB / 0.662 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.622e-05/0.573, allocations: 51.75 kB / 0.662 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.75e-05/0.5731, allocations: 31.98 kB / 0.662 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001774/0.5749, allocations: 1.267 MB / 0.6633 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5749, allocations: 0 / 0.6633 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002474/0.5774, allocations: 0.689 MB / 0.6639 GB, free: 9.262 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.0003118/0.5777, allocations: 147 kB / 0.6641 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003203/0.5809, allocations: 1.958 MB / 0.666 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.5809, allocations: 0 / 0.666 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000602/0.5815, allocations: 433.5 kB / 0.6664 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001206/0.5827, allocations: 242 kB / 0.6666 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009108/0.5918, allocations: 5.398 MB / 0.6719 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00257/0.5944, allocations: 2.275 MB / 0.6741 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004932/0.5949, allocations: 147.4 kB / 0.6743 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of SimCode: time 9.82e-07/0.5949, allocations: 4 kB / 0.6743 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of Templates: time 0.05064/0.6455, allocations: 30.27 MB / 0.7038 GB, free: 332 kB / 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/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_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: 10.426853173878044]