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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002119/0.002119, allocations: 100.4 kB / 20.45 MB, free: 1.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002805/0.002805, allocations: 207.7 kB / 23.74 MB, free: 4.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.69/1.69, allocations: 207.7 MB / 234.6 MB, free: 9.809 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2402/0.2402, allocations: 44.26 MB / 331.1 MB, free: 9.328 MB / 270.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002367/0.002367, allocations: 71.91 kB / 468.7 MB, free: 3.859 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.136, allocations: 61.04 MB / 0.5174 GB, free: 6.691 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01809/0.1541, allocations: 9.288 MB / 0.5264 GB, free: 13.36 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00968/0.1638, allocations: 2.859 MB / 0.5292 GB, free: 10.49 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002124/0.1659, allocations: 59.81 kB / 0.5293 GB, free: 10.43 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005292/0.1712, allocations: 1.947 MB / 0.5312 GB, free: 8.477 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004109/0.1753, allocations: 1.222 MB / 0.5324 GB, free: 7.25 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009806/0.1763, allocations: 291.4 kB / 0.5327 GB, free: 6.965 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004502/0.1808, allocations: 2.45 MB / 0.535 GB, free: 4.508 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00277/0.1836, allocations: 1.812 MB / 0.5368 GB, free: 2.648 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001458/0.1851, allocations: 0.9579 MB / 0.5378 GB, free: 1.688 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001915/0.187, allocations: 1.292 MB / 0.539 GB, free: 400 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004147/0.1874, allocations: 216 kB / 0.5392 GB, free: 184 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2735/0.4609, allocations: 0.6109 MB / 0.5398 GB, free: 13.48 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002219/0.4631, allocations: 1.245 MB / 0.541 GB, free: 13.48 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003243/0.4664, allocations: 1.039 MB / 0.542 GB, free: 13.13 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007664/0.474, allocations: 4.739 MB / 0.5467 GB, free: 12.4 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.474, allocations: 0.75 kB / 0.5467 GB, free: 12.4 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.474, allocations: 0 / 0.5467 GB, free: 12.4 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001875/0.4742, allocations: 1.469 kB / 0.5467 GB, free: 12.4 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.009052/0.4833, allocations: 3.079 MB / 0.5497 GB, free: 11.04 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.65e-05/0.4833, allocations: 12.91 kB / 0.5497 GB, free: 11.04 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006675/0.49, allocations: 1.631 MB / 0.5513 GB, free: 10.84 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005057/0.4951, allocations: 1.346 MB / 0.5526 GB, free: 10.48 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002243/0.4953, allocations: 156.1 kB / 0.5528 GB, free: 10.47 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001114/0.4964, allocations: 198.3 kB / 0.5529 GB, free: 10.47 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01435/0.5107, allocations: 6.791 MB / 0.5596 GB, free: 8.23 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.129e-05/0.5108, allocations: 12.69 kB / 0.5596 GB, free: 8.23 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003126/0.5111, allocations: 90.86 kB / 0.5597 GB, free: 8.191 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002613/0.5137, allocations: 1.475 MB / 0.5611 GB, free: 7.941 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01276/0.5265, allocations: 5.803 MB / 0.5668 GB, free: 6.18 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03202/0.5585, allocations: 19.53 MB / 0.5859 GB, free: 8.184 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00451/0.563, allocations: 1.717 MB / 0.5875 GB, free: 7.375 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001068/0.5641, allocations: 0.7159 MB / 0.5882 GB, free: 7.023 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006572/0.5707, allocations: 3.123 MB / 0.5913 GB, free: 5.332 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.935e-05/0.5707, allocations: 38.31 kB / 0.5913 GB, free: 5.289 MB / 430.1 MB Notification: Performance of pre-optimization done (n=93): time 3.918e-06/0.5707, allocations: 0 / 0.5913 GB, free: 5.289 MB / 430.1 MB Notification: Performance of matching and sorting (n=93): time 0.006134/0.5768, allocations: 2.187 MB / 0.5935 GB, free: 3.281 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.634e-05/0.5769, allocations: 60.78 kB / 0.5935 GB, free: 3.207 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003219/0.5801, allocations: 2.016 MB / 0.5955 GB, free: 1.184 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.2e-05/0.5802, allocations: 41.14 kB / 0.5955 GB, free: 1.141 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001698/0.5819, allocations: 2.051 MB / 0.5975 GB, free: 15.09 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000429/0.5823, allocations: 370.8 kB / 0.5979 GB, free: 14.73 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000966/0.5833, allocations: 0.6726 MB / 0.5985 GB, free: 14.06 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000198/0.5835, allocations: 345.9 kB / 0.5989 GB, free: 13.71 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001619/0.5851, allocations: 0.9666 MB / 0.5998 GB, free: 12.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00359/0.5887, allocations: 2.922 MB / 0.6027 GB, free: 8.887 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005603/0.5943, allocations: 4.247 MB / 0.6068 GB, free: 3.969 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.856e-05/0.5944, allocations: 20 kB / 0.6068 GB, free: 3.949 MB / 446.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.006456/0.6008, allocations: 3.775 MB / 0.6105 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.949e-05/0.6009, allocations: 35.98 kB / 0.6105 GB, free: 496 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.906e-05/0.601, allocations: 72 kB / 0.6106 GB, free: 424 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000104/0.6011, allocations: 92 kB / 0.6107 GB, free: 332 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00216/0.6032, allocations: 0.7102 MB / 0.6114 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001238/0.6034, allocations: 143.3 kB / 0.6115 GB, free: 15.47 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002353/0.6057, allocations: 444.8 kB / 0.612 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003264/0.606, allocations: 200 kB / 0.6121 GB, free: 14.84 MB / 462.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.00276/0.6088, allocations: 1.423 MB / 0.6135 GB, free: 13.41 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003346/0.6091, allocations: 166.8 kB / 0.6137 GB, free: 13.24 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002039/0.6112, allocations: 1.184 MB / 0.6149 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.155e-05/0.6112, allocations: 12 kB / 0.6149 GB, free: 12.03 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.6112, allocations: 3.938 kB / 0.6149 GB, free: 12.03 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.6112, allocations: 3.984 kB / 0.6149 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008232/0.6194, allocations: 3.941 MB / 0.6187 GB, free: 7.945 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.476e-05/0.6195, allocations: 8 kB / 0.6187 GB, free: 7.938 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005451/0.62, allocations: 134.9 kB / 0.6189 GB, free: 7.809 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-05/0.62, allocations: 16.03 kB / 0.6189 GB, free: 7.793 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.982e-05/0.6201, allocations: 24 kB / 0.6189 GB, free: 7.77 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-05/0.6201, allocations: 19.92 kB / 0.6189 GB, free: 7.75 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.665e-05/0.6201, allocations: 19.88 kB / 0.6189 GB, free: 7.73 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002116/0.6222, allocations: 1.499 MB / 0.6204 GB, free: 6.094 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004345/0.6227, allocations: 170.6 kB / 0.6206 GB, free: 5.926 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000178/0.6228, allocations: 27.98 kB / 0.6206 GB, free: 5.898 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005453/0.6234, allocations: 30.09 kB / 0.6206 GB, free: 5.871 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.6235, allocations: 79.66 kB / 0.6207 GB, free: 5.793 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.759e-05/0.6236, allocations: 46.36 kB / 0.6207 GB, free: 5.754 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001814/0.6254, allocations: 1.155 MB / 0.6219 GB, free: 4.605 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.6254, allocations: 0 / 0.6219 GB, free: 4.605 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00321/0.6286, allocations: 0.7815 MB / 0.6226 GB, free: 3.824 MB / 462.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.0003574/0.629, allocations: 150.9 kB / 0.6228 GB, free: 3.668 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003822/0.6328, allocations: 2.161 MB / 0.6249 GB, free: 1.527 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/0.6328, allocations: 0 / 0.6249 GB, free: 1.527 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008156/0.6336, allocations: 0.5177 MB / 0.6254 GB, free: 1.012 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001283/0.6349, allocations: 194.2 kB / 0.6256 GB, free: 0.832 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01139/0.6463, allocations: 5.946 MB / 0.6314 GB, free: 10.73 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002795/0.6491, allocations: 1.841 MB / 0.6332 GB, free: 8.867 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006161/0.6497, allocations: 151.4 kB / 0.6333 GB, free: 8.723 MB / 478.1 MB Notification: Performance of SimCode: time 1.483e-06/0.6497, allocations: 3.938 kB / 0.6333 GB, free: 8.719 MB / 478.1 MB Notification: Performance of Templates: time 0.05929/0.709, allocations: 32.59 MB / 0.6652 GB, free: 8.148 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.145021236967295]