Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.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.001498/0.001498, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001443/0.001443, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.589/1.589, allocations: 230.6 MB / 254.1 MB, free: 15.09 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+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(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|position1.w|position2.w|r1.phi|r2.phi|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|position1.w|position2.w|r1.phi|r2.phi|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001644/0.001644, allocations: 43.92 kB / 373.5 MB, free: 9.688 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1234, allocations: 53.33 MB / 426.8 MB, free: 4.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.2494/0.3729, allocations: 13.03 MB / 439.8 MB, free: 4.062 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009849/0.3827, allocations: 4.311 MB / 444.1 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004044/0.3868, allocations: 94.69 kB / 444.2 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008137/0.3949, allocations: 3.749 MB / 448 MB, free: 15.9 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007269/0.4022, allocations: 2.021 MB / 450 MB, free: 14.95 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002478/0.4046, allocations: 0.705 MB / 450.7 MB, free: 14.63 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007768/0.4124, allocations: 4.221 MB / 454.9 MB, free: 13.01 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005991/0.4184, allocations: 3.942 MB / 458.9 MB, free: 10.86 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005532/0.4239, allocations: 1.858 MB / 460.7 MB, free: 9.82 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004995/0.4289, allocations: 2.635 MB / 463.4 MB, free: 8.176 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001209/0.4301, allocations: 408.9 kB / 463.8 MB, free: 8.176 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002998/0.4331, allocations: 1.156 MB / 464.9 MB, free: 7.754 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002801/0.4359, allocations: 2.248 MB / 467.2 MB, free: 6.418 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004696/0.4406, allocations: 2.584 MB / 469.8 MB, free: 4.461 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01311/0.4537, allocations: 8.103 MB / 477.9 MB, free: 13.28 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.4537, allocations: 0 / 477.9 MB, free: 13.28 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4538, allocations: 0 / 477.9 MB, free: 13.28 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003284/0.4541, allocations: 3.984 kB / 477.9 MB, free: 13.28 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: 1736 * Number of variables: 1736 Notification: Performance of Generate backend data structure: time 0.02314/0.4772, allocations: 6.324 MB / 484.2 MB, free: 6.875 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.4773, allocations: 8.031 kB / 484.2 MB, free: 6.867 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007901/0.4852, allocations: 1.994 MB / 486.2 MB, free: 4.863 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005946/0.4911, allocations: 2.68 MB / 488.9 MB, free: 2.125 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002505/0.4914, allocations: 292 kB / 489.2 MB, free: 1.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001172/0.4925, allocations: 395.7 kB / 489.5 MB, free: 1.453 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02614/0.5187, allocations: 12.18 MB / 0.49 GB, free: 4.527 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001406/0.5188, allocations: 43.64 kB / 0.49 GB, free: 4.484 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000573/0.5194, allocations: 184.5 kB / 0.4902 GB, free: 4.305 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004589/0.524, allocations: 2.198 MB / 0.4923 GB, free: 2.102 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02498/0.549, allocations: 11.13 MB / 0.5032 GB, free: 6.957 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06668/0.6156, allocations: 46.48 MB / 0.5486 GB, free: 7.363 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01967/0.6353, allocations: 5.166 MB / 0.5536 GB, free: 2.055 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004697/0.64, allocations: 3.055 MB / 0.5566 GB, free: 14.98 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007272/0.6407, allocations: 376.2 kB / 0.557 GB, free: 14.56 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.973e-05/0.6408, allocations: 59.86 kB / 0.557 GB, free: 14.5 MB / 478.1 MB Notification: Performance of pre-optimization done (n=200): time 4.558e-06/0.6408, allocations: 0 / 0.557 GB, free: 14.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=231): time 0.08218/0.723, allocations: 27.01 MB / 0.5834 GB, free: 3.387 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.7231, allocations: 154.5 kB / 0.5836 GB, free: 3.203 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006563/0.7296, allocations: 4.497 MB / 0.5879 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005601/0.7302, allocations: 61.7 kB / 0.588 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002841/0.733, allocations: 3.563 MB / 0.5915 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001306/0.7343, allocations: 0.9186 MB / 0.5924 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002179/0.7365, allocations: 1.451 MB / 0.5938 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.7367, allocations: 301.1 kB / 0.5941 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005156/0.7418, allocations: 3.285 MB / 0.5973 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009105/0.7509, allocations: 7.219 MB / 0.6043 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.229/0.9799, allocations: 11.3 MB / 0.6154 GB, free: 154.4 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001423/0.98, allocations: 39.47 kB / 0.6154 GB, free: 154.4 MB / 0.5137 GB Notification: Performance of matching and sorting (n=873) (initialization): time 0.02218/1.002, allocations: 11.42 MB / 0.6266 GB, free: 152.2 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001058/1.002, allocations: 67.19 kB / 0.6266 GB, free: 152.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002017/1.003, allocations: 143 kB / 0.6268 GB, free: 152.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003136/1.006, allocations: 1.122 MB / 0.6279 GB, free: 152 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006536/1.012, allocations: 1.722 MB / 0.6295 GB, free: 151.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008293/1.02, allocations: 6.342 MB / 0.6357 GB, free: 148.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005722/1.026, allocations: 405.5 kB / 0.6361 GB, free: 148.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001193/1.027, allocations: 453.8 kB / 0.6365 GB, free: 148.4 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 631 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[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 (834): * Single equations (assignments): 830 * 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.003919/1.031, allocations: 2.327 MB / 0.6388 GB, free: 147.4 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008464/1.032, allocations: 418.8 kB / 0.6392 GB, free: 147.4 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00944/1.042, allocations: 6.111 MB / 0.6452 GB, free: 145.4 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.456e-05/1.042, allocations: 32.83 kB / 0.6452 GB, free: 145.4 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/1.042, allocations: 9.719 kB / 0.6452 GB, free: 145.4 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.127e-05/1.042, allocations: 9.328 kB / 0.6452 GB, free: 145.4 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01778/1.059, allocations: 12.74 MB / 0.6577 GB, free: 140.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.635e-05/1.059, allocations: 3.25 kB / 0.6577 GB, free: 140.9 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002705/1.062, allocations: 0.5281 MB / 0.6582 GB, free: 140.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002446/1.065, allocations: 0.9529 MB / 0.6591 GB, free: 140.2 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003071/1.065, allocations: 90 kB / 0.6592 GB, free: 140.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00617/1.071, allocations: 6.086 MB / 0.6652 GB, free: 134.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/1.071, allocations: 7.938 kB / 0.6652 GB, free: 134.8 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01251/1.084, allocations: 10.35 MB / 0.6753 GB, free: 124.6 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00211/1.086, allocations: 0.9061 MB / 0.6762 GB, free: 123.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007687/1.086, allocations: 36 kB / 0.6762 GB, free: 123.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002266/1.089, allocations: 166.5 kB / 0.6764 GB, free: 123.5 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000487/1.089, allocations: 181.6 kB / 0.6765 GB, free: 123.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000228/1.089, allocations: 107.9 kB / 0.6766 GB, free: 123.2 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003231/1.093, allocations: 2.814 MB / 0.6794 GB, free: 120.4 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/1.093, allocations: 0 / 0.6794 GB, free: 120.4 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005495/1.098, allocations: 1.19 MB / 0.6805 GB, free: 119.2 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,position1.phi,position1.w,position2.phi,position2.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 (203): * Single equations (assignments): 199 * 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 Backend phase and start with SimCode phase: time 0.0004803/1.099, allocations: 185 kB / 0.6807 GB, free: 119 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0107/1.109, allocations: 7.485 MB / 0.688 GB, free: 111.5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/1.109, allocations: 0 / 0.688 GB, free: 111.5 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003369/1.113, allocations: 2.788 MB / 0.6907 GB, free: 108.7 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002816/1.116, allocations: 0.4951 MB / 0.6912 GB, free: 108.3 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0168/1.132, allocations: 11.95 MB / 0.7029 GB, free: 96.3 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003428/1.136, allocations: 3.617 MB / 0.7064 GB, free: 92.66 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004721/1.141, allocations: 2.292 MB / 0.7087 GB, free: 90.37 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001553/1.142, allocations: 423.1 kB / 0.7091 GB, free: 89.95 MB / 0.5137 GB Notification: Performance of SimCode: time 1.683e-06/1.142, allocations: 2.516 kB / 0.7091 GB, free: 89.95 MB / 0.5137 GB Notification: Performance of Templates: time 0.08519/1.227, allocations: 53.16 MB / 0.761 GB, free: 37.06 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/MovingActuatedDrive/MovingActuatedDrive.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.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: 7.383955806493759]