Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 117.5 kB / 17.08 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 198.9 kB / 18.02 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.386/1.386, allocations: 205.1 MB / 223.9 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2127/0.2127, allocations: 43.52 MB / 314.8 MB, free: 452 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001641/0.001641, allocations: 69.45 kB / 442.5 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1109, allocations: 57.79 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01172/0.1226, allocations: 10.55 MB / 0.4988 GB, free: 1.199 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007331/0.13, allocations: 2.999 MB / 0.5018 GB, free: 14.19 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002375/0.1325, allocations: 55.88 kB / 0.5018 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00432/0.1368, allocations: 2.009 MB / 0.5038 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003376/0.1403, allocations: 1.187 MB / 0.5049 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009417/0.1412, allocations: 283.5 kB / 0.5052 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003803/0.1451, allocations: 2.458 MB / 0.5076 GB, free: 8.188 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003396/0.1485, allocations: 2.371 MB / 0.5099 GB, free: 5.766 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00175/0.1503, allocations: 0.9461 MB / 0.5108 GB, free: 4.816 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002162/0.1525, allocations: 1.269 MB / 0.5121 GB, free: 3.543 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006614/0.1531, allocations: 212 kB / 0.5123 GB, free: 3.336 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001735/0.1549, allocations: 0.6982 MB / 0.513 GB, free: 2.637 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001597/0.1565, allocations: 1.216 MB / 0.5142 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002354/0.1589, allocations: 1.433 MB / 0.5156 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006328/0.1652, allocations: 4.706 MB / 0.5201 GB, free: 11.25 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.1653, allocations: 0 / 0.5201 GB, free: 11.25 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.025e-06/0.1653, allocations: 0 / 0.5201 GB, free: 11.25 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000195/0.1655, allocations: 4 kB / 0.5202 GB, free: 11.25 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: 1061 * Number of variables: 1061 Notification: Performance of Generate backend data structure: time 0.008235/0.1737, allocations: 3.072 MB / 0.5232 GB, free: 8.113 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.1738, allocations: 19.89 kB / 0.5232 GB, free: 8.094 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005982/0.1798, allocations: 1.603 MB / 0.5247 GB, free: 6.484 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003119/0.183, allocations: 1.398 MB / 0.5261 GB, free: 5.035 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001624/0.1832, allocations: 156.3 kB / 0.5263 GB, free: 4.879 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007501/0.1839, allocations: 203.8 kB / 0.5264 GB, free: 4.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2391/0.4231, allocations: 6.781 MB / 0.5331 GB, free: 36.67 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.107e-05/0.4232, allocations: 13.03 kB / 0.5331 GB, free: 36.67 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002721/0.4234, allocations: 94.75 kB / 0.5332 GB, free: 36.67 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002489/0.4259, allocations: 1.485 MB / 0.5346 GB, free: 36.65 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0117/0.4377, allocations: 5.804 MB / 0.5403 GB, free: 35.51 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03042/0.4681, allocations: 21.45 MB / 0.5612 GB, free: 21.46 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004522/0.4727, allocations: 2.258 MB / 0.5634 GB, free: 20.04 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001041/0.4738, allocations: 0.7812 MB / 0.5642 GB, free: 19.65 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005901/0.4797, allocations: 3.735 MB / 0.5679 GB, free: 17.22 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.4798, allocations: 42.88 kB / 0.5679 GB, free: 17.17 MB / 414.1 MB Notification: Performance of pre-optimization done (n=93): time 3.847e-06/0.4798, allocations: 0 / 0.5679 GB, free: 17.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=93): time 0.005388/0.4852, allocations: 2.193 MB / 0.57 GB, free: 16.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.4852, allocations: 59.97 kB / 0.5701 GB, free: 16.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002505/0.4878, allocations: 2.028 MB / 0.5721 GB, free: 14.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.757e-05/0.4878, allocations: 37.69 kB / 0.5721 GB, free: 14.04 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008812/0.4887, allocations: 1.953 MB / 0.574 GB, free: 12.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002787/0.489, allocations: 367.3 kB / 0.5744 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007183/0.4898, allocations: 0.6568 MB / 0.575 GB, free: 11.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.081e-05/0.4898, allocations: 365.9 kB / 0.5754 GB, free: 10.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001141/0.491, allocations: 0.9627 MB / 0.5763 GB, free: 9.738 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001735/0.4927, allocations: 2.922 MB / 0.5791 GB, free: 5.844 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003211/0.496, allocations: 4.243 MB / 0.5833 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.657e-05/0.496, allocations: 20 kB / 0.5833 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.006285/0.5023, allocations: 3.783 MB / 0.587 GB, free: 12.83 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.443e-05/0.5024, allocations: 44.05 kB / 0.587 GB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-05/0.5025, allocations: 71.94 kB / 0.5871 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.303e-05/0.5026, allocations: 92 kB / 0.5872 GB, free: 12.63 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002235/0.5049, allocations: 0.7096 MB / 0.5879 GB, free: 11.92 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001275/0.505, allocations: 135.5 kB / 0.588 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002117/0.5072, allocations: 444 kB / 0.5884 GB, free: 11.35 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003557/0.5075, allocations: 200 kB / 0.5886 GB, free: 11.15 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 315 * Number of states: 0 () * Number of discrete variables: 24 (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 (391): * Single equations (assignments): 386 * 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.002235/0.5098, allocations: 1.437 MB / 0.59 GB, free: 9.703 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003929/0.5102, allocations: 165.8 kB / 0.5902 GB, free: 9.539 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002085/0.5123, allocations: 1.197 MB / 0.5914 GB, free: 8.328 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.331e-05/0.5123, allocations: 16 kB / 0.5914 GB, free: 8.312 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.5123, allocations: 0 / 0.5914 GB, free: 8.312 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.5123, allocations: 3.984 kB / 0.5914 GB, free: 8.309 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009116/0.5215, allocations: 4.974 MB / 0.5962 GB, free: 3.164 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.83e-05/0.5215, allocations: 8 kB / 0.5963 GB, free: 3.156 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005786/0.5221, allocations: 131.8 kB / 0.5964 GB, free: 3.027 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.801e-05/0.5221, allocations: 15.94 kB / 0.5964 GB, free: 3.012 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.513e-05/0.5222, allocations: 24 kB / 0.5964 GB, free: 2.988 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.941e-05/0.5222, allocations: 20.55 kB / 0.5964 GB, free: 2.969 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.726e-06/0.5223, allocations: 11.94 kB / 0.5964 GB, free: 2.957 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001971/0.5242, allocations: 1.508 MB / 0.5979 GB, free: 1.312 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004831/0.5247, allocations: 270.5 kB / 0.5982 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003352/0.5251, allocations: 24 kB / 0.5982 GB, free: 1.004 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007137/0.5258, allocations: 41.22 kB / 0.5982 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/0.5259, allocations: 71.75 kB / 0.5983 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.06e-05/0.526, allocations: 46.48 kB / 0.5984 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002271/0.5283, allocations: 1.331 MB / 0.5997 GB, free: 15.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5283, allocations: 0 / 0.5997 GB, free: 15.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003028/0.5313, allocations: 0.7452 MB / 0.6004 GB, free: 14.75 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * 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 (70): * Single equations (assignments): 67 * 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.000395/0.5318, allocations: 155.8 kB / 0.6005 GB, free: 14.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003762/0.5355, allocations: 2.256 MB / 0.6027 GB, free: 12.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.166e-05/0.5356, allocations: 4 kB / 0.6027 GB, free: 12.35 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008058/0.5364, allocations: 0.5454 MB / 0.6033 GB, free: 11.81 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001683/0.5381, allocations: 250 kB / 0.6035 GB, free: 11.57 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01126/0.5494, allocations: 5.864 MB / 0.6092 GB, free: 5.555 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003588/0.553, allocations: 2.418 MB / 0.6116 GB, free: 3.113 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006/0.5536, allocations: 159.4 kB / 0.6117 GB, free: 2.961 MB / 446.1 MB Notification: Performance of SimCode: time 1.243e-06/0.5537, allocations: 0 / 0.6117 GB, free: 2.961 MB / 446.1 MB Notification: Performance of Templates: time 0.05155/0.6052, allocations: 32.72 MB / 0.6437 GB, free: 2.242 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches