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.001475/0.001475, allocations: 108.3 kB / 16.41 MB, free: 6.473 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.001579/0.001579, allocations: 188.1 kB / 17.34 MB, free: 5.754 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.497/1.497, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2257/0.2257, allocations: 43.52 MB / 314.1 MB, free: 460 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.001419/0.001419, allocations: 59.91 kB / 441.8 MB, free: 5.676 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1402, allocations: 57.79 MB / 499.6 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01202/0.1523, allocations: 10.54 MB / 0.4982 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007052/0.1594, allocations: 3.011 MB / 0.5011 GB, free: 14.2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001526/0.161, allocations: 51.94 kB / 0.5012 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004163/0.1651, allocations: 1.997 MB / 0.5031 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003026/0.1682, allocations: 1.214 MB / 0.5043 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008559/0.1691, allocations: 295.4 kB / 0.5046 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00299/0.1721, allocations: 2.454 MB / 0.507 GB, free: 8.172 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00269/0.1748, allocations: 2.367 MB / 0.5093 GB, free: 5.754 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001353/0.1762, allocations: 0.95 MB / 0.5102 GB, free: 4.801 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001523/0.1777, allocations: 1.265 MB / 0.5114 GB, free: 3.531 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003211/0.178, allocations: 212 kB / 0.5116 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001208/0.1793, allocations: 0.7099 MB / 0.5123 GB, free: 2.613 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001022/0.1803, allocations: 1.208 MB / 0.5135 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001286/0.1816, allocations: 1.437 MB / 0.5149 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005389/0.187, allocations: 4.706 MB / 0.5195 GB, free: 11.23 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.187, allocations: 0 / 0.5195 GB, free: 11.23 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.187, allocations: 0 / 0.5195 GB, free: 11.23 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.142e-05/0.1871, allocations: 0 / 0.5195 GB, free: 11.23 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.005485/0.1926, allocations: 3.072 MB / 0.5225 GB, free: 8.102 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.1927, allocations: 15.89 kB / 0.5225 GB, free: 8.086 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004909/0.1976, allocations: 1.611 MB / 0.5241 GB, free: 6.469 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002792/0.2004, allocations: 1.402 MB / 0.5255 GB, free: 5.016 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001312/0.2005, allocations: 152.3 kB / 0.5256 GB, free: 4.863 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000369/0.2009, allocations: 203.8 kB / 0.5258 GB, free: 4.664 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3585/0.5595, allocations: 6.789 MB / 0.5324 GB, free: 36.73 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.21e-05/0.5596, allocations: 16.53 kB / 0.5325 GB, free: 36.73 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002982/0.5599, allocations: 91.17 kB / 0.5325 GB, free: 36.73 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002888/0.5628, allocations: 1.479 MB / 0.534 GB, free: 36.71 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01343/0.5762, allocations: 5.81 MB / 0.5397 GB, free: 35.56 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0402/0.6165, allocations: 21.44 MB / 0.5606 GB, free: 21.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006192/0.6228, allocations: 2.254 MB / 0.5628 GB, free: 20.08 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001458/0.6243, allocations: 0.7834 MB / 0.5636 GB, free: 19.69 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007199/0.6315, allocations: 3.734 MB / 0.5672 GB, free: 17.26 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.6316, allocations: 42.91 kB / 0.5673 GB, free: 17.21 MB / 414.1 MB Notification: Performance of pre-optimization done (n=93): time 4.098e-06/0.6316, allocations: 0 / 0.5673 GB, free: 17.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=93): time 0.005585/0.6372, allocations: 2.191 MB / 0.5694 GB, free: 16.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.226e-05/0.6373, allocations: 63.97 kB / 0.5695 GB, free: 16.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003978/0.6412, allocations: 2.028 MB / 0.5714 GB, free: 14.08 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.778e-05/0.6413, allocations: 33.7 kB / 0.5715 GB, free: 14.04 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001399/0.6428, allocations: 1.954 MB / 0.5734 GB, free: 12.08 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004254/0.6432, allocations: 368.9 kB / 0.5737 GB, free: 11.72 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001033/0.6442, allocations: 0.6567 MB / 0.5744 GB, free: 11.06 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.6444, allocations: 365.9 kB / 0.5747 GB, free: 10.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001415/0.6458, allocations: 0.9627 MB / 0.5757 GB, free: 9.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002273/0.6481, allocations: 2.922 MB / 0.5785 GB, free: 5.836 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00374/0.6518, allocations: 4.238 MB / 0.5827 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.216e-05/0.6519, allocations: 20 kB / 0.5827 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.006534/0.6585, allocations: 3.783 MB / 0.5864 GB, free: 12.82 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.897e-05/0.6586, allocations: 40.25 kB / 0.5864 GB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001134/0.6587, allocations: 75.92 kB / 0.5865 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001258/0.6588, allocations: 93.88 kB / 0.5866 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002262/0.6611, allocations: 0.7135 MB / 0.5873 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001401/0.6612, allocations: 135.5 kB / 0.5874 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002839/0.6641, allocations: 444 kB / 0.5878 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000512/0.6646, allocations: 210.1 kB / 0.588 GB, free: 11.13 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.003793/0.6684, allocations: 1.42 MB / 0.5894 GB, free: 9.699 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000461/0.6689, allocations: 165.8 kB / 0.5896 GB, free: 9.535 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002186/0.6711, allocations: 1.199 MB / 0.5907 GB, free: 8.324 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.561e-05/0.6711, allocations: 16 kB / 0.5908 GB, free: 8.309 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.6712, allocations: 0 / 0.5908 GB, free: 8.309 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.6712, allocations: 3.984 kB / 0.5908 GB, free: 8.305 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01119/0.6824, allocations: 4.973 MB / 0.5956 GB, free: 3.152 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.402e-05/0.6824, allocations: 8 kB / 0.5956 GB, free: 3.145 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000583/0.683, allocations: 131.8 kB / 0.5957 GB, free: 3.016 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-05/0.6831, allocations: 15.94 kB / 0.5958 GB, free: 3 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-05/0.6831, allocations: 27.98 kB / 0.5958 GB, free: 2.973 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.845e-05/0.6832, allocations: 16.56 kB / 0.5958 GB, free: 2.957 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.34e-05/0.6832, allocations: 15.94 kB / 0.5958 GB, free: 2.941 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002053/0.6853, allocations: 1.51 MB / 0.5973 GB, free: 1.293 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006757/0.6859, allocations: 270.5 kB / 0.5976 GB, free: 1.008 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004485/0.6864, allocations: 31.73 kB / 0.5976 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008552/0.6873, allocations: 37.3 kB / 0.5976 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/0.6874, allocations: 75.69 kB / 0.5977 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.856e-05/0.6875, allocations: 43.98 kB / 0.5977 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002471/0.69, allocations: 1.324 MB / 0.599 GB, free: 15.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.69, allocations: 0 / 0.599 GB, free: 15.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003152/0.6932, allocations: 0.7477 MB / 0.5998 GB, free: 14.73 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.0003849/0.6936, allocations: 149.6 kB / 0.5999 GB, free: 14.58 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004205/0.6978, allocations: 2.256 MB / 0.6021 GB, free: 12.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.194e-05/0.6978, allocations: 0 / 0.6021 GB, free: 12.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008073/0.6986, allocations: 0.5455 MB / 0.6026 GB, free: 11.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001798/0.7005, allocations: 261.1 kB / 0.6029 GB, free: 11.54 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01156/0.712, allocations: 5.53 MB / 0.6083 GB, free: 5.867 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002984/0.7151, allocations: 2.405 MB / 0.6106 GB, free: 3.438 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002446/0.7175, allocations: 1.013 MB / 0.6116 GB, free: 2.422 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004278/0.718, allocations: 131.4 kB / 0.6117 GB, free: 2.297 MB / 446.1 MB Notification: Performance of SimCode: time 8.61e-07/0.718, allocations: 4 kB / 0.6117 GB, free: 2.293 MB / 446.1 MB Notification: Performance of Templates: time 0.0409/0.7589, allocations: 16.54 MB / 0.6279 GB, free: 1.766 MB / 462.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins/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