Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002177/0.002177, allocations: 85.58 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002381/0.002381, allocations: 157.4 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.521/1.521, allocations: 177 MB / 204.1 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2167/0.2167, allocations: 34.26 MB / 294.8 MB, free: 14.54 MB / 286.1 MB " [Timeout remaining time 180] 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.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutForce3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 442.6 MB, free: 5.324 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.729e-05/2.856e-05, allocations: 4.953 kB / 442.6 MB, free: 5.32 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.1956/0.1957, allocations: 8.416 MB / 451.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006311/0.202, allocations: 2.783 MB / 453.8 MB, free: 13.53 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001197/0.2032, allocations: 56.84 kB / 453.9 MB, free: 13.52 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003674/0.2068, allocations: 2.044 MB / 455.9 MB, free: 12.65 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003258/0.2101, allocations: 1.161 MB / 457.1 MB, free: 12.14 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009205/0.211, allocations: 326.9 kB / 457.4 MB, free: 12 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003761/0.2148, allocations: 2.364 MB / 459.8 MB, free: 11.12 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002221/0.217, allocations: 1.745 MB / 461.5 MB, free: 10.31 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002168/0.2192, allocations: 1.289 MB / 462.8 MB, free: 9.742 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001806/0.221, allocations: 1.138 MB / 464 MB, free: 9.414 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003526/0.2213, allocations: 193.2 kB / 464.1 MB, free: 9.414 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001384/0.2227, allocations: 0.6433 MB / 464.8 MB, free: 9.293 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00107/0.2238, allocations: 1.178 MB / 466 MB, free: 8.785 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008539/0.2246, allocations: 0.7194 MB / 466.7 MB, free: 8.422 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004508/0.2291, allocations: 4.277 MB / 471 MB, free: 5.84 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.2291, allocations: 0 / 471 MB, free: 5.84 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2291, allocations: 4 kB / 471 MB, free: 5.836 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001016/0.2292, allocations: 1.25 kB / 471 MB, free: 5.836 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.004787/0.234, allocations: 2.836 MB / 473.8 MB, free: 3.75 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.2341, allocations: 9.469 kB / 473.8 MB, free: 3.75 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005053/0.2391, allocations: 1.593 MB / 475.4 MB, free: 2.914 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002323/0.2415, allocations: 1.276 MB / 476.7 MB, free: 2.098 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.375e-05/0.2415, allocations: 144.2 kB / 476.8 MB, free: 2.031 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003268/0.2419, allocations: 184.2 kB / 477 MB, free: 1.969 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009299/0.2512, allocations: 6.253 MB / 483.3 MB, free: 13 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.094e-05/0.2512, allocations: 19.81 kB / 483.3 MB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002656/0.2515, allocations: 96.64 kB / 483.4 MB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00224/0.2537, allocations: 1.34 MB / 484.7 MB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01014/0.2639, allocations: 5.342 MB / 490.1 MB, free: 6.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02667/0.2905, allocations: 18.31 MB / 0.4964 GB, free: 3.336 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004451/0.295, allocations: 1.639 MB / 0.498 GB, free: 1.676 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001023/0.296, allocations: 0.643 MB / 0.4987 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00641/0.3024, allocations: 2.97 MB / 0.5016 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/0.3024, allocations: 43.92 kB / 0.5016 GB, free: 13.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 3.667e-06/0.3024, allocations: 4 kB / 0.5016 GB, free: 13.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005814/0.3083, allocations: 2.096 MB / 0.5037 GB, free: 11.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.721e-05/0.3083, allocations: 63.91 kB / 0.5037 GB, free: 11.8 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002787/0.3111, allocations: 1.935 MB / 0.5056 GB, free: 9.855 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.388e-05/0.3112, allocations: 33.7 kB / 0.5057 GB, free: 9.816 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001433/0.3126, allocations: 1.903 MB / 0.5075 GB, free: 7.891 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003103/0.3129, allocations: 325.5 kB / 0.5078 GB, free: 7.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000846/0.3138, allocations: 0.6195 MB / 0.5084 GB, free: 6.941 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.3139, allocations: 345.9 kB / 0.5088 GB, free: 6.598 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001355/0.3153, allocations: 0.8842 MB / 0.5096 GB, free: 5.711 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002925/0.3182, allocations: 2.748 MB / 0.5123 GB, free: 2.031 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005045/0.3233, allocations: 3.966 MB / 0.5162 GB, free: 13.13 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.315e-05/0.3233, allocations: 20 kB / 0.5162 GB, free: 13.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005709/0.329, allocations: 3.524 MB / 0.5196 GB, free: 9.582 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.03e-05/0.3291, allocations: 36 kB / 0.5197 GB, free: 9.547 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.216e-05/0.3291, allocations: 64 kB / 0.5197 GB, free: 9.484 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001014/0.3292, allocations: 88 kB / 0.5198 GB, free: 9.398 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002003/0.3312, allocations: 0.6597 MB / 0.5205 GB, free: 8.738 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001174/0.3313, allocations: 128.1 kB / 0.5206 GB, free: 8.613 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001864/0.3332, allocations: 424.8 kB / 0.521 GB, free: 8.199 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002708/0.3335, allocations: 192 kB / 0.5212 GB, free: 8.012 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.00241/0.3359, allocations: 1.334 MB / 0.5225 GB, free: 6.668 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002659/0.3362, allocations: 158.9 kB / 0.5226 GB, free: 6.512 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003536/0.3365, allocations: 188 kB / 0.5228 GB, free: 6.32 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.173e-05/0.3365, allocations: 12 kB / 0.5228 GB, free: 6.309 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.3365, allocations: 5 kB / 0.5228 GB, free: 6.305 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.3365, allocations: 3.984 kB / 0.5228 GB, free: 6.301 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005785/0.3423, allocations: 3.131 MB / 0.5259 GB, free: 3.051 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.897e-06/0.3423, allocations: 4 kB / 0.5259 GB, free: 3.047 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004252/0.3428, allocations: 103.8 kB / 0.526 GB, free: 2.945 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.241e-05/0.3428, allocations: 8.75 kB / 0.526 GB, free: 2.938 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.632e-05/0.3428, allocations: 18.19 kB / 0.526 GB, free: 2.922 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.121e-05/0.3428, allocations: 15.98 kB / 0.526 GB, free: 2.906 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.766e-06/0.3428, allocations: 11.94 kB / 0.526 GB, free: 2.895 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001577/0.3444, allocations: 1.215 MB / 0.5272 GB, free: 1.59 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002777/0.3447, allocations: 154.8 kB / 0.5274 GB, free: 1.438 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00016/0.3449, allocations: 16 kB / 0.5274 GB, free: 1.422 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004776/0.3453, allocations: 35.89 kB / 0.5274 GB, free: 1.387 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.3454, allocations: 55.81 kB / 0.5275 GB, free: 1.332 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.248e-05/0.3455, allocations: 31.98 kB / 0.5275 GB, free: 1.301 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001586/0.3471, allocations: 1.114 MB / 0.5286 GB, free: 196 kB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3471, allocations: 0 / 0.5286 GB, free: 196 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.00262/0.3497, allocations: 0.7045 MB / 0.5293 GB, free: 15.48 MB / 446.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.0003141/0.35, allocations: 142.9 kB / 0.5294 GB, free: 15.33 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00317/0.3532, allocations: 1.958 MB / 0.5313 GB, free: 13.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.3532, allocations: 4.5 kB / 0.5313 GB, free: 13.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006124/0.3538, allocations: 428.2 kB / 0.5317 GB, free: 12.97 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/0.3549, allocations: 188.4 kB / 0.5319 GB, free: 12.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009024/0.3639, allocations: 5.032 MB / 0.5368 GB, free: 7.648 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002382/0.3663, allocations: 1.704 MB / 0.5385 GB, free: 5.906 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002127/0.3684, allocations: 0.9311 MB / 0.5394 GB, free: 4.969 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003001/0.3687, allocations: 112.5 kB / 0.5395 GB, free: 4.859 MB / 446.1 MB Notification: Performance of SimCode: time 7.72e-07/0.3687, allocations: 0 / 0.5395 GB, free: 4.859 MB / 446.1 MB Notification: Performance of Templates: time 0.02907/0.3978, allocations: 11.62 MB / 0.5509 GB, free: 9.43 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.502637729048729]