Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0012/0.0012, allocations: 121.8 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001282/0.001282, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2302/0.2302, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 79.88 kB / 481.3 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4172/0.4187, allocations: 62.43 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01687/0.4356, allocations: 9.521 MB / 0.5403 GB, free: 6.148 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01204/0.4478, allocations: 2.925 MB / 0.5431 GB, free: 3.871 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003527/0.4514, allocations: 48.34 kB / 0.5432 GB, free: 3.867 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006806/0.4582, allocations: 1.997 MB / 0.5451 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005742/0.4641, allocations: 1.102 MB / 0.5462 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001336/0.4655, allocations: 294.7 kB / 0.5465 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005388/0.4709, allocations: 2.332 MB / 0.5488 GB, free: 15.47 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004787/0.4757, allocations: 2.297 MB / 0.551 GB, free: 13.13 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002325/0.4781, allocations: 0.8839 MB / 0.5519 GB, free: 12.25 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003068/0.4812, allocations: 1.156 MB / 0.553 GB, free: 11.09 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001101/0.4823, allocations: 192 kB / 0.5532 GB, free: 10.9 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002631/0.485, allocations: 0.6943 MB / 0.5539 GB, free: 10.2 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002117/0.4871, allocations: 1.099 MB / 0.5549 GB, free: 9.102 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00349/0.4906, allocations: 1.308 MB / 0.5562 GB, free: 7.785 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008434/0.4991, allocations: 4.334 MB / 0.5604 GB, free: 3.434 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.07e-05/0.4991, allocations: 0 / 0.5604 GB, free: 3.434 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.4991, allocations: 0 / 0.5604 GB, free: 3.434 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000291/0.4994, allocations: 0 / 0.5604 GB, free: 3.434 MB / 414.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.008731/0.5082, allocations: 2.938 MB / 0.5633 GB, free: 444 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/0.5082, allocations: 8.031 kB / 0.5633 GB, free: 436 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00593/0.5142, allocations: 1.574 MB / 0.5649 GB, free: 14.85 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00363/0.5178, allocations: 1.348 MB / 0.5662 GB, free: 13.46 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001552/0.518, allocations: 148 kB / 0.5663 GB, free: 13.31 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000763/0.5188, allocations: 187.8 kB / 0.5665 GB, free: 13.13 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01302/0.5318, allocations: 6.246 MB / 0.5726 GB, free: 6.609 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.979e-05/0.5319, allocations: 15.86 kB / 0.5726 GB, free: 6.594 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006096/0.5326, allocations: 87.91 kB / 0.5727 GB, free: 6.508 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00228/0.5349, allocations: 1.34 MB / 0.574 GB, free: 5.164 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01085/0.5457, allocations: 5.334 MB / 0.5792 GB, free: 15.81 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03041/0.5762, allocations: 20.03 MB / 0.5988 GB, free: 11.21 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004402/0.5806, allocations: 2.088 MB / 0.6008 GB, free: 8.992 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001068/0.5817, allocations: 0.6895 MB / 0.6015 GB, free: 8.301 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006809/0.5886, allocations: 3.5 MB / 0.6049 GB, free: 4.656 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.179e-05/0.5886, allocations: 39 kB / 0.6049 GB, free: 4.609 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 5.951e-06/0.5886, allocations: 7.922 kB / 0.605 GB, free: 4.602 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005392/0.594, allocations: 1.978 MB / 0.6069 GB, free: 2.613 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/0.5941, allocations: 63.83 kB / 0.6069 GB, free: 2.539 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004209/0.5983, allocations: 1.938 MB / 0.6088 GB, free: 0.5977 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.624e-05/0.5984, allocations: 33.7 kB / 0.6089 GB, free: 0.5586 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001665/0.6001, allocations: 1.915 MB / 0.6107 GB, free: 14.62 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003873/0.6005, allocations: 325.6 kB / 0.6111 GB, free: 14.3 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001009/0.6015, allocations: 0.6273 MB / 0.6117 GB, free: 13.66 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001835/0.6017, allocations: 357.9 kB / 0.612 GB, free: 13.31 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001454/0.6032, allocations: 0.8842 MB / 0.6129 GB, free: 12.42 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002813/0.606, allocations: 2.755 MB / 0.6156 GB, free: 8.734 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004779/0.6108, allocations: 3.962 MB / 0.6194 GB, free: 3.848 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.593e-05/0.6109, allocations: 20 kB / 0.6195 GB, free: 3.828 MB / 478.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006745/0.6176, allocations: 3.53 MB / 0.6229 GB, free: 300 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.668e-05/0.6177, allocations: 33 kB / 0.6229 GB, free: 268 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001062/0.6179, allocations: 64 kB / 0.623 GB, free: 204 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.557e-05/0.618, allocations: 92 kB / 0.6231 GB, free: 112 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002056/0.62, allocations: 0.6628 MB / 0.6237 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001458/0.6202, allocations: 123.5 kB / 0.6238 GB, free: 15.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00275/0.6229, allocations: 432.7 kB / 0.6243 GB, free: 14.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004251/0.6234, allocations: 188 kB / 0.6244 GB, free: 14.71 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.002314/0.6257, allocations: 1.354 MB / 0.6258 GB, free: 13.35 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003614/0.6261, allocations: 162.9 kB / 0.6259 GB, free: 13.19 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004547/0.6265, allocations: 192.9 kB / 0.6261 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.246e-05/0.6266, allocations: 8 kB / 0.6261 GB, free: 12.99 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/0.6266, allocations: 3.984 kB / 0.6261 GB, free: 12.99 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.6266, allocations: 0 / 0.6261 GB, free: 12.99 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00838/0.635, allocations: 4.073 MB / 0.6301 GB, free: 8.773 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.148e-05/0.635, allocations: 7.938 kB / 0.6301 GB, free: 8.766 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004/0.6354, allocations: 99.88 kB / 0.6302 GB, free: 8.668 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.294e-05/0.6355, allocations: 11.94 kB / 0.6302 GB, free: 8.656 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.768e-05/0.6355, allocations: 19.94 kB / 0.6302 GB, free: 8.637 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.584e-05/0.6355, allocations: 15.92 kB / 0.6302 GB, free: 8.621 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.127e-06/0.6355, allocations: 11.94 kB / 0.6302 GB, free: 8.609 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001556/0.6371, allocations: 1.239 MB / 0.6315 GB, free: 7.277 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005686/0.6377, allocations: 251.7 kB / 0.6317 GB, free: 7.012 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003551/0.6381, allocations: 23.91 kB / 0.6317 GB, free: 6.988 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006438/0.6387, allocations: 31.98 kB / 0.6317 GB, free: 6.957 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.6388, allocations: 47.83 kB / 0.6318 GB, free: 6.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.934e-05/0.6389, allocations: 39.91 kB / 0.6318 GB, free: 6.871 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002226/0.6411, allocations: 1.271 MB / 0.6331 GB, free: 5.609 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6411, allocations: 4 kB / 0.6331 GB, free: 5.605 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003184/0.6443, allocations: 0.689 MB / 0.6337 GB, free: 4.914 MB / 494.1 MB 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.0003932/0.6447, allocations: 135 kB / 0.6339 GB, free: 4.773 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003421/0.6482, allocations: 2.041 MB / 0.6359 GB, free: 2.746 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.251e-06/0.6482, allocations: 0 / 0.6359 GB, free: 2.746 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005791/0.6488, allocations: 465 kB / 0.6363 GB, free: 2.293 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001463/0.6503, allocations: 233.6 kB / 0.6365 GB, free: 2.066 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01039/0.6607, allocations: 5.089 MB / 0.6415 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003489/0.6642, allocations: 2.271 MB / 0.6437 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002272/0.6665, allocations: 0.9519 MB / 0.6447 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002926/0.6668, allocations: 119.4 kB / 0.6448 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of SimCode: time 1.213e-06/0.6668, allocations: 0 / 0.6448 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of Templates: time 0.03526/0.7021, allocations: 15.03 MB / 0.6594 GB, free: 10.48 MB / 0.5138 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches