Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.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.001771/0.001771, allocations: 84.7 kB / 20.68 MB, free: 1.023 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.002127/0.002127, allocations: 164.4 kB / 23.95 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.408/1.408, allocations: 177.1 MB / 204.3 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2027/0.2027, allocations: 32.81 MB / 293.5 MB, free: 28 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_4.0.0_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.0.0_ModelicaTest.MultiBody.Sensors.CutForce3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 440.1 MB, free: 8.168 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.688e-05/2.838e-05, allocations: 2.281 kB / 440.1 MB, free: 8.164 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.1996/0.1996, allocations: 8.399 MB / 448.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005651/0.2053, allocations: 2.785 MB / 451.3 MB, free: 15.15 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001191/0.2064, allocations: 56.28 kB / 451.3 MB, free: 15.14 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004414/0.2109, allocations: 2.045 MB / 453.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003005/0.2139, allocations: 1.17 MB / 454.5 MB, free: 14.33 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000723/0.2146, allocations: 315 kB / 454.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003193/0.2178, allocations: 2.366 MB / 457.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00219/0.22, allocations: 1.748 MB / 459 MB, free: 12.8 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001857/0.2218, allocations: 1.291 MB / 460.3 MB, free: 12.32 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001892/0.2237, allocations: 1.139 MB / 461.4 MB, free: 12.09 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003935/0.2241, allocations: 193.8 kB / 461.6 MB, free: 12.09 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001469/0.2256, allocations: 0.6432 MB / 462.2 MB, free: 11.99 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001053/0.2266, allocations: 1.177 MB / 463.4 MB, free: 11.52 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000969/0.2276, allocations: 0.7166 MB / 464.1 MB, free: 11.19 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005147/0.2328, allocations: 4.284 MB / 468.4 MB, free: 8.914 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.2328, allocations: 0 / 468.4 MB, free: 8.914 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2328, allocations: 0 / 468.4 MB, free: 8.914 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001811/0.2329, allocations: 0 / 468.4 MB, free: 8.914 MB / 366.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.007383/0.2403, allocations: 2.836 MB / 471.2 MB, free: 6.828 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.2404, allocations: 10.09 kB / 471.2 MB, free: 6.828 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005339/0.2457, allocations: 1.598 MB / 472.8 MB, free: 5.988 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003078/0.2488, allocations: 1.267 MB / 474.1 MB, free: 5.176 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.814e-05/0.2489, allocations: 148.2 kB / 474.3 MB, free: 5.105 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004545/0.2493, allocations: 185 kB / 474.4 MB, free: 5.043 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00805/0.2574, allocations: 6.259 MB / 480.7 MB, free: 1.031 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.203e-05/0.2574, allocations: 15.81 kB / 480.7 MB, free: 1.016 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002234/0.2577, allocations: 91.89 kB / 480.8 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001791/0.2595, allocations: 1.336 MB / 482.1 MB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01004/0.2695, allocations: 5.336 MB / 487.5 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02579/0.2953, allocations: 18.32 MB / 0.4939 GB, free: 7.387 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004336/0.2996, allocations: 1.642 MB / 0.4955 GB, free: 5.723 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009829/0.3006, allocations: 0.6423 MB / 0.4962 GB, free: 5.074 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0062/0.3068, allocations: 2.974 MB / 0.4991 GB, free: 2.07 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.657e-05/0.3069, allocations: 39.73 kB / 0.4991 GB, free: 2.023 MB / 398.1 MB Notification: Performance of pre-optimization done (n=78): time 4.248e-06/0.3069, allocations: 0 / 0.4991 GB, free: 2.023 MB / 398.1 MB Notification: Performance of matching and sorting (n=78): time 0.005756/0.3126, allocations: 2.104 MB / 0.5012 GB, free: 15.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.729e-05/0.3127, allocations: 63.84 kB / 0.5012 GB, free: 15.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002813/0.3155, allocations: 1.931 MB / 0.5031 GB, free: 13.9 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.844e-05/0.3156, allocations: 37.7 kB / 0.5031 GB, free: 13.86 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001423/0.317, allocations: 1.903 MB / 0.505 GB, free: 11.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003272/0.3173, allocations: 325.5 kB / 0.5053 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008146/0.3181, allocations: 0.6116 MB / 0.5059 GB, free: 10.99 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.3183, allocations: 345.9 kB / 0.5062 GB, free: 10.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001313/0.3196, allocations: 0.8842 MB / 0.5071 GB, free: 9.758 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002917/0.3225, allocations: 2.748 MB / 0.5098 GB, free: 6.078 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004812/0.3273, allocations: 3.974 MB / 0.5137 GB, free: 1.172 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.21e-05/0.3274, allocations: 16 kB / 0.5137 GB, free: 1.156 MB / 414.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006427/0.3338, allocations: 3.529 MB / 0.5171 GB, free: 13.62 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.936e-05/0.3339, allocations: 32 kB / 0.5172 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.798e-05/0.3339, allocations: 64 kB / 0.5172 GB, free: 13.53 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.433e-05/0.334, allocations: 88 kB / 0.5173 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00201/0.336, allocations: 0.6628 MB / 0.518 GB, free: 12.78 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001112/0.3361, allocations: 123.5 kB / 0.5181 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002012/0.3382, allocations: 421 kB / 0.5185 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000269/0.3384, allocations: 196 kB / 0.5187 GB, free: 12.05 MB / 430.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.002573/0.341, allocations: 1.339 MB / 0.52 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002542/0.3412, allocations: 162.9 kB / 0.5201 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003443/0.3416, allocations: 184 kB / 0.5203 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-05/0.3416, allocations: 12 kB / 0.5203 GB, free: 10.35 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.3416, allocations: 0 / 0.5203 GB, free: 10.35 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.3416, allocations: 3.984 kB / 0.5203 GB, free: 10.35 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005662/0.3473, allocations: 3.139 MB / 0.5234 GB, free: 7.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.596e-05/0.3473, allocations: 4 kB / 0.5234 GB, free: 7.086 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000404/0.3477, allocations: 103.8 kB / 0.5235 GB, free: 6.984 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.136e-05/0.3477, allocations: 8 kB / 0.5235 GB, free: 6.977 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.592e-05/0.3478, allocations: 16 kB / 0.5235 GB, free: 6.961 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-05/0.3478, allocations: 11.98 kB / 0.5235 GB, free: 6.949 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.606e-06/0.3478, allocations: 7.938 kB / 0.5235 GB, free: 6.941 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001613/0.3494, allocations: 1.227 MB / 0.5247 GB, free: 5.625 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002908/0.3497, allocations: 150.8 kB / 0.5249 GB, free: 5.477 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001551/0.3499, allocations: 19.94 kB / 0.5249 GB, free: 5.457 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004461/0.3503, allocations: 31.97 kB / 0.5249 GB, free: 5.426 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.3504, allocations: 47.81 kB / 0.525 GB, free: 5.379 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.549e-05/0.3505, allocations: 35.97 kB / 0.525 GB, free: 5.344 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001674/0.3521, allocations: 1.118 MB / 0.5261 GB, free: 4.23 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3521, allocations: 3.938 kB / 0.5261 GB, free: 4.227 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002804/0.3549, allocations: 0.7122 MB / 0.5268 GB, free: 3.512 MB / 430.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.0003468/0.3553, allocations: 139 kB / 0.5269 GB, free: 3.363 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003042/0.3583, allocations: 1.958 MB / 0.5288 GB, free: 1.422 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.3583, allocations: 0 / 0.5288 GB, free: 1.422 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006515/0.359, allocations: 433.5 kB / 0.5292 GB, free: 1 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/0.3601, allocations: 188.6 kB / 0.5294 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008715/0.3688, allocations: 5.031 MB / 0.5343 GB, free: 11.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002334/0.3711, allocations: 1.708 MB / 0.536 GB, free: 9.934 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002105/0.3732, allocations: 0.9272 MB / 0.5369 GB, free: 9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003241/0.3735, allocations: 116.5 kB / 0.537 GB, free: 8.887 MB / 446.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3735, allocations: 0 / 0.537 GB, free: 8.887 MB / 446.1 MB Notification: Performance of Templates: time 0.02773/0.4013, allocations: 11.61 MB / 0.5484 GB, free: 13.46 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 5.232260432094336]