Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.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.001347/0.001347, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.00161/0.00161, allocations: 206.2 kB / 24.47 MB, free: 4.023 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.469/1.469, allocations: 230.5 MB / 258.1 MB, free: 8.145 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.Rotational3DEffects.ActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") [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.002068/0.002068, allocations: 79.75 kB / 378.7 MB, free: 2.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3019, allocations: 53.31 MB / 432 MB, free: 7.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01385/0.3158, allocations: 11.08 MB / 443.1 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008595/0.3244, allocations: 3.864 MB / 447 MB, free: 8.406 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001597/0.326, allocations: 59.88 kB / 447 MB, free: 8.348 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005179/0.3312, allocations: 2.733 MB / 449.8 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004773/0.3359, allocations: 1.79 MB / 451.6 MB, free: 3.809 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001517/0.3375, allocations: 0.5809 MB / 452.1 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005247/0.3427, allocations: 3.578 MB / 455.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003242/0.3459, allocations: 2.514 MB / 458.2 MB, free: 13.06 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002242/0.3482, allocations: 1.448 MB / 459.7 MB, free: 11.61 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003121/0.3513, allocations: 2.142 MB / 461.8 MB, free: 9.457 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000695/0.352, allocations: 316 kB / 462.1 MB, free: 9.148 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002024/0.354, allocations: 1.069 MB / 463.2 MB, free: 8.078 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001828/0.3559, allocations: 1.835 MB / 465 MB, free: 6.238 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002274/0.3581, allocations: 2.082 MB / 467.1 MB, free: 4.145 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007988/0.3661, allocations: 6.685 MB / 473.8 MB, free: 13.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3661, allocations: 3.938 kB / 473.8 MB, free: 13.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3661, allocations: 0 / 473.8 MB, free: 13.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001753/0.3663, allocations: 0 / 473.8 MB, free: 13.43 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: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.01804/0.3843, allocations: 5.161 MB / 479 MB, free: 8.191 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.3844, allocations: 12.03 kB / 479 MB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006938/0.3913, allocations: 1.882 MB / 480.9 MB, free: 6.293 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005422/0.3967, allocations: 2.245 MB / 483.1 MB, free: 3.988 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001962/0.3969, allocations: 221.7 kB / 483.3 MB, free: 3.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006791/0.3976, allocations: 299.8 kB / 483.6 MB, free: 3.477 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01862/0.4162, allocations: 10.02 MB / 493.6 MB, free: 8.773 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000138/0.4164, allocations: 51.55 kB / 493.7 MB, free: 8.723 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008004/0.4172, allocations: 143.9 kB / 493.8 MB, free: 8.582 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003434/0.4206, allocations: 1.798 MB / 495.6 MB, free: 6.785 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01868/0.4393, allocations: 8.966 MB / 0.4928 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.052/0.4913, allocations: 37.81 MB / 0.5297 GB, free: 6.926 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0138/0.5051, allocations: 3.495 MB / 0.5331 GB, free: 3.285 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002348/0.5074, allocations: 1.578 MB / 0.5346 GB, free: 1.695 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006325/0.5081, allocations: 351.8 kB / 0.535 GB, free: 1.297 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.461e-05/0.5081, allocations: 55 kB / 0.535 GB, free: 1.234 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 4.298e-06/0.5081, allocations: 0 / 0.535 GB, free: 1.234 MB / 446.1 MB Notification: Performance of matching and sorting (n=133): time 0.2932/0.8013, allocations: 12.88 MB / 0.5476 GB, free: 97.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.78e-05/0.8013, allocations: 140.1 kB / 0.5477 GB, free: 97.42 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003881/0.8052, allocations: 4.061 MB / 0.5517 GB, free: 96 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001572/0.8054, allocations: 41.42 kB / 0.5517 GB, free: 95.96 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001196/0.8066, allocations: 3.137 MB / 0.5548 GB, free: 93.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003668/0.8069, allocations: 0.56 MB / 0.5553 GB, free: 93.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001036/0.808, allocations: 1.185 MB / 0.5565 GB, free: 92.83 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.152e-05/0.808, allocations: 301.1 kB / 0.5568 GB, free: 92.53 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002099/0.8101, allocations: 1.961 MB / 0.5587 GB, free: 91.28 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003035/0.8132, allocations: 5.66 MB / 0.5642 GB, free: 84.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005753/0.8189, allocations: 8.251 MB / 0.5723 GB, free: 73.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-05/0.819, allocations: 36 kB / 0.5723 GB, free: 73.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=738) (initialization): time 0.01074/0.8297, allocations: 8.093 MB / 0.5802 GB, free: 65.86 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.399e-05/0.8298, allocations: 60 kB / 0.5803 GB, free: 65.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001379/0.8299, allocations: 135.9 kB / 0.5804 GB, free: 65.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002178/0.8321, allocations: 0.9103 MB / 0.5813 GB, free: 64.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003539/0.8356, allocations: 1.314 MB / 0.5826 GB, free: 63.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005418/0.8411, allocations: 5.186 MB / 0.5877 GB, free: 58.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004246/0.8453, allocations: 318.4 kB / 0.588 GB, free: 57.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008894/0.8462, allocations: 372 kB / 0.5883 GB, free: 57.45 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 600 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (699): * Single equations (assignments): 695 * 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 {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003111/0.8493, allocations: 1.978 MB / 0.5902 GB, free: 55.46 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007874/0.8501, allocations: 357.6 kB / 0.5906 GB, free: 55.11 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004875/0.855, allocations: 2.758 MB / 0.5933 GB, free: 52.33 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-05/0.855, allocations: 16 kB / 0.5933 GB, free: 52.31 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.251e-05/0.855, allocations: 0 / 0.5933 GB, free: 52.31 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.41e-05/0.855, allocations: 7.984 kB / 0.5933 GB, free: 52.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01289/0.8679, allocations: 7.055 MB / 0.6002 GB, free: 45.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-05/0.8679, allocations: 96 / 0.6002 GB, free: 45.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/0.8689, allocations: 219.7 kB / 0.6004 GB, free: 44.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001903/0.8708, allocations: 0.7153 MB / 0.6011 GB, free: 44.27 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00014/0.871, allocations: 31.97 kB / 0.6011 GB, free: 44.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004875/0.8758, allocations: 4.752 MB / 0.6058 GB, free: 39.35 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.8758, allocations: 0 / 0.6058 GB, free: 39.35 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006463/0.8823, allocations: 5.092 MB / 0.6107 GB, free: 34.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009287/0.8832, allocations: 418.5 kB / 0.6111 GB, free: 33.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006771/0.8839, allocations: 16 kB / 0.6112 GB, free: 33.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001456/0.8854, allocations: 75.91 kB / 0.6112 GB, free: 33.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002357/0.8856, allocations: 88.41 kB / 0.6113 GB, free: 33.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001104/0.8857, allocations: 55.41 kB / 0.6114 GB, free: 33.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00369/0.8894, allocations: 2.533 MB / 0.6138 GB, free: 31.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.8894, allocations: 0 / 0.6138 GB, free: 31.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004276/0.8937, allocations: 0.8866 MB / 0.6147 GB, free: 30.14 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.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 (101): * Single equations (assignments): 97 * 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 {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004079/0.8941, allocations: 165.5 kB / 0.6149 GB, free: 29.97 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005548/0.8996, allocations: 4.519 MB / 0.6193 GB, free: 25.47 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.8996, allocations: 4.062 kB / 0.6193 GB, free: 25.47 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001445/0.9011, allocations: 1.264 MB / 0.6205 GB, free: 24.19 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002491/0.9036, allocations: 419.3 kB / 0.6209 GB, free: 23.78 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01135/0.9149, allocations: 8.523 MB / 0.6292 GB, free: 15.22 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002978/0.9179, allocations: 3.064 MB / 0.6322 GB, free: 12.13 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003493/0.9214, allocations: 1.842 MB / 0.634 GB, free: 10.28 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006833/0.9221, allocations: 255.3 kB / 0.6343 GB, free: 10.03 MB / 446.1 MB Notification: Performance of SimCode: time 9.02e-07/0.9221, allocations: 4 kB / 0.6343 GB, free: 10.03 MB / 446.1 MB Notification: Performance of Templates: time 0.06559/0.9877, allocations: 33.48 MB / 0.667 GB, free: 8.758 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.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.489506151992828]