Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.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.001969/0.001969, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001851/0.001851, allocations: 213.9 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.538/1.538, allocations: 230.6 MB / 258.3 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 68.77 kB / 379 MB, free: 2.645 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2583, allocations: 53.36 MB / 432.4 MB, free: 6.977 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.01388/0.2722, allocations: 11.28 MB / 443.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008502/0.2807, allocations: 4.096 MB / 447.8 MB, free: 7.547 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001244/0.2819, allocations: 75.69 kB / 447.9 MB, free: 7.473 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00587/0.2878, allocations: 3.224 MB / 451.1 MB, free: 4.238 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004733/0.2925, allocations: 1.934 MB / 453 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001751/0.2943, allocations: 0.8304 MB / 453.8 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006222/0.3005, allocations: 4.405 MB / 458.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003582/0.3041, allocations: 2.837 MB / 461.1 MB, free: 10.15 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002312/0.3064, allocations: 1.635 MB / 462.7 MB, free: 8.512 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003194/0.3096, allocations: 2.286 MB / 465 MB, free: 6.219 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006452/0.3102, allocations: 352 kB / 465.4 MB, free: 5.875 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00224/0.3124, allocations: 1.272 MB / 466.6 MB, free: 4.602 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00217/0.3146, allocations: 2.049 MB / 468.7 MB, free: 2.547 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002959/0.3176, allocations: 2.276 MB / 470.9 MB, free: 264 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009105/0.3267, allocations: 7.393 MB / 478.3 MB, free: 8.836 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.3267, allocations: 4 kB / 478.3 MB, free: 8.832 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3267, allocations: 0 / 478.3 MB, free: 8.832 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002453/0.3269, allocations: 0 / 478.3 MB, free: 8.832 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1541 * Number of variables: 1541 Notification: Performance of Generate backend data structure: time 0.01065/0.3376, allocations: 5.122 MB / 483.5 MB, free: 3.648 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.3376, allocations: 12.03 kB / 483.5 MB, free: 3.637 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008132/0.3458, allocations: 2.151 MB / 485.6 MB, free: 1.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005603/0.3514, allocations: 2.701 MB / 488.3 MB, free: 14.72 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001941/0.3516, allocations: 242.1 kB / 488.6 MB, free: 14.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006291/0.3522, allocations: 327.8 kB / 488.9 MB, free: 14.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01778/0.37, allocations: 10.44 MB / 499.3 MB, free: 3.023 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001038/0.3701, allocations: 43.62 kB / 499.4 MB, free: 2.98 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004017/0.3705, allocations: 151.9 kB / 499.5 MB, free: 2.832 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003401/0.3739, allocations: 2.029 MB / 0.4898 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01796/0.3918, allocations: 8.916 MB / 0.4985 GB, free: 7.867 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.302/0.6938, allocations: 40.74 MB / 0.5383 GB, free: 90.31 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01043/0.7043, allocations: 3.866 MB / 0.5421 GB, free: 90.22 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002491/0.7068, allocations: 2.297 MB / 0.5443 GB, free: 90.18 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009476/0.7162, allocations: 6.678 MB / 0.5508 GB, free: 88.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.464e-05/0.7163, allocations: 55.22 kB / 0.5509 GB, free: 88.25 MB / 446.1 MB Notification: Performance of pre-optimization done (n=177): time 4.108e-06/0.7163, allocations: 0 / 0.5509 GB, free: 88.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=198): time 0.03962/0.7559, allocations: 18.72 MB / 0.5692 GB, free: 76.48 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.192e-05/0.756, allocations: 179.5 kB / 0.5693 GB, free: 76.26 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004718/0.7607, allocations: 4.577 MB / 0.5738 GB, free: 71.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002034/0.7609, allocations: 53.45 kB / 0.5739 GB, free: 71.69 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001205/0.7621, allocations: 3.244 MB / 0.577 GB, free: 68.61 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004847/0.7626, allocations: 0.7971 MB / 0.5778 GB, free: 67.83 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001149/0.7637, allocations: 1.288 MB / 0.5791 GB, free: 66.54 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.839e-05/0.7638, allocations: 305.1 kB / 0.5794 GB, free: 66.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002503/0.7663, allocations: 2.374 MB / 0.5817 GB, free: 63.86 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003747/0.77, allocations: 6.082 MB / 0.5876 GB, free: 56.06 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00735/0.7774, allocations: 9.146 MB / 0.5965 GB, free: 45.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.104e-05/0.7774, allocations: 40 kB / 0.5966 GB, free: 45.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=821) (initialization): time 0.01279/0.7902, allocations: 9.298 MB / 0.6057 GB, free: 35.86 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.221e-05/0.7903, allocations: 60.19 kB / 0.6057 GB, free: 35.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.668e-05/0.7904, allocations: 135.9 kB / 0.6059 GB, free: 35.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002495/0.7929, allocations: 1.191 MB / 0.607 GB, free: 34.47 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003687/0.7966, allocations: 1.431 MB / 0.6084 GB, free: 33.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007178/0.8037, allocations: 7.172 MB / 0.6154 GB, free: 25.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004197/0.8079, allocations: 355.5 kB / 0.6158 GB, free: 25.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004896/0.8084, allocations: 376 kB / 0.6161 GB, free: 25.04 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 591 * Number of states: 0 () * Number of discrete variables: 46 (forceAndTorque.torqueArrow.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,fixed2.color[3],fixed2.color[2],fixed2.color[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],forceAndTorque.connectionLineColor[3],forceAndTorque.connectionLineColor[2],forceAndTorque.connectionLineColor[1],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (763): * Single equations (assignments): 757 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002606/0.811, allocations: 2.182 MB / 0.6182 GB, free: 22.85 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000499/0.8115, allocations: 405.3 kB / 0.6186 GB, free: 22.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005805/0.8173, allocations: 4.042 MB / 0.6226 GB, free: 18.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.021e-05/0.8174, allocations: 24 kB / 0.6226 GB, free: 18.37 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.8174, allocations: 7.938 kB / 0.6226 GB, free: 18.36 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/0.8174, allocations: 7.969 kB / 0.6226 GB, free: 18.35 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01325/0.8306, allocations: 9.387 MB / 0.6318 GB, free: 8.867 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.27e-05/0.8306, allocations: 8 kB / 0.6318 GB, free: 8.859 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001395/0.832, allocations: 315.5 kB / 0.6321 GB, free: 8.551 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00237/0.8344, allocations: 1.017 MB / 0.6331 GB, free: 7.531 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001289/0.8345, allocations: 39.98 kB / 0.6331 GB, free: 7.492 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007215/0.8418, allocations: 6.777 MB / 0.6397 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/0.8418, allocations: 11.94 kB / 0.6398 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01154/0.8533, allocations: 7.059 MB / 0.6466 GB, free: 9.441 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001142/0.8544, allocations: 405.1 kB / 0.647 GB, free: 9.043 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004473/0.8549, allocations: 40 kB / 0.6471 GB, free: 9.004 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001528/0.8564, allocations: 119.8 kB / 0.6472 GB, free: 8.887 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003551/0.8568, allocations: 147.5 kB / 0.6473 GB, free: 8.742 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001602/0.8569, allocations: 57.25 kB / 0.6474 GB, free: 8.688 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004624/0.8616, allocations: 2.92 MB / 0.6502 GB, free: 5.766 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.8616, allocations: 0 / 0.6502 GB, free: 5.766 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004836/0.8664, allocations: 1.058 MB / 0.6513 GB, free: 4.711 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 (revolute2.phi,revolute2.w,revolute1.phi,revolute1.w) * 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 (157): * Single equations (assignments): 153 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004559/0.8668, allocations: 175.3 kB / 0.6514 GB, free: 4.531 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009415/0.8763, allocations: 5.498 MB / 0.6568 GB, free: 15.05 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/0.8763, allocations: 0 / 0.6568 GB, free: 15.05 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003559/0.8798, allocations: 1.923 MB / 0.6587 GB, free: 13.11 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002751/0.8826, allocations: 484 kB / 0.6591 GB, free: 12.64 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01861/0.9012, allocations: 10.29 MB / 0.6692 GB, free: 2.246 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00436/0.9056, allocations: 3.367 MB / 0.6725 GB, free: 14.84 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004934/0.9105, allocations: 2.021 MB / 0.6745 GB, free: 12.82 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008337/0.9113, allocations: 263.4 kB / 0.6747 GB, free: 12.56 MB / 494.1 MB Notification: Performance of SimCode: time 1.633e-06/0.9113, allocations: 0 / 0.6747 GB, free: 12.56 MB / 494.1 MB Notification: Performance of Templates: time 0.08784/0.9992, allocations: 43.58 MB / 0.7173 GB, free: 1.215 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/ForceAndTorque/ForceAndTorque.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.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: 6.817624225281179]