Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.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.001551/0.001551, allocations: 75.59 kB / 21.24 MB, free: 0.543 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.001748/0.001748, allocations: 162.6 kB / 24.5 MB, free: 3.719 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.426/1.426, allocations: 177.1 MB / 204.7 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] 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(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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 62.19 kB / 325.5 MB, free: 216 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0925/0.09459, allocations: 53.39 MB / 378.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01444/0.109, allocations: 11.36 MB / 390.3 MB, free: 4.074 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00893/0.118, allocations: 4.104 MB / 394.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001754/0.1197, allocations: 95.56 kB / 394.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007387/0.1271, allocations: 3.61 MB / 398.1 MB, free: 12.24 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005708/0.1328, allocations: 2.043 MB / 400.1 MB, free: 10.19 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002087/0.1349, allocations: 0.6863 MB / 400.8 MB, free: 9.504 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006598/0.1415, allocations: 4.221 MB / 405 MB, free: 5.273 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004932/0.1464, allocations: 3.604 MB / 408.6 MB, free: 1.598 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003145/0.1496, allocations: 1.858 MB / 410.5 MB, free: 15.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003949/0.1535, allocations: 2.456 MB / 412.9 MB, free: 13.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009387/0.1545, allocations: 408 kB / 413.3 MB, free: 12.87 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002173/0.1566, allocations: 1.03 MB / 414.4 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002347/0.159, allocations: 2.248 MB / 416.6 MB, free: 9.586 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002745/0.1617, allocations: 1.926 MB / 418.5 MB, free: 7.648 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009746/0.1715, allocations: 8.14 MB / 426.7 MB, free: 15.47 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.1715, allocations: 0 / 426.7 MB, free: 15.47 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1715, allocations: 4 kB / 426.7 MB, free: 15.47 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002137/0.1717, allocations: 0 / 426.7 MB, free: 15.47 MB / 398.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.02107/0.1927, allocations: 6.393 MB / 433.1 MB, free: 9.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.1928, allocations: 19.92 kB / 433.1 MB, free: 9 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007634/0.2004, allocations: 2.037 MB / 435.1 MB, free: 6.957 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006605/0.207, allocations: 2.627 MB / 437.8 MB, free: 4.277 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002775/0.2073, allocations: 287.5 kB / 438 MB, free: 3.996 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001325/0.2086, allocations: 395.7 kB / 438.4 MB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02393/0.2326, allocations: 12.26 MB / 450.7 MB, free: 6.602 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001497/0.2327, allocations: 51.56 kB / 450.7 MB, free: 6.551 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005382/0.2333, allocations: 191.8 kB / 450.9 MB, free: 6.363 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004357/0.2376, allocations: 2.182 MB / 453.1 MB, free: 4.18 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02379/0.2614, allocations: 11.18 MB / 464.3 MB, free: 8.973 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2573/0.5187, allocations: 43.63 MB / 0.496 GB, free: 49.34 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01618/0.5348, allocations: 4.94 MB / 0.5008 GB, free: 48.19 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003355/0.5382, allocations: 3.076 MB / 0.5038 GB, free: 46.75 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004935/0.5387, allocations: 133.2 kB / 0.504 GB, free: 46.71 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.5387, allocations: 59.72 kB / 0.504 GB, free: 46.66 MB / 430.1 MB Notification: Performance of pre-optimization done (n=200): time 4.879e-06/0.5387, allocations: 0 / 0.504 GB, free: 46.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=231): time 0.06389/0.6026, allocations: 27.62 MB / 0.531 GB, free: 21.71 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.6026, allocations: 154.1 kB / 0.5312 GB, free: 21.54 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004064/0.6067, allocations: 4.021 MB / 0.5351 GB, free: 17.69 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006285/0.6073, allocations: 65.7 kB / 0.5351 GB, free: 17.62 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001558/0.6089, allocations: 3.591 MB / 0.5387 GB, free: 14.28 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009179/0.6098, allocations: 0.9196 MB / 0.5396 GB, free: 13.38 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00164/0.6115, allocations: 1.482 MB / 0.541 GB, free: 11.88 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.734e-05/0.6115, allocations: 301.1 kB / 0.5413 GB, free: 11.59 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003567/0.6151, allocations: 3.296 MB / 0.5445 GB, free: 8.285 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005319/0.6204, allocations: 7.223 MB / 0.5516 GB, free: 15.12 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01497/0.6354, allocations: 11.33 MB / 0.5626 GB, free: 1.848 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001384/0.6355, allocations: 40 kB / 0.5627 GB, free: 1.809 MB / 446.1 MB Notification: Performance of matching and sorting (n=873) (initialization): time 0.0213/0.6568, allocations: 11.41 MB / 0.5738 GB, free: 6.383 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.706e-05/0.6569, allocations: 67.98 kB / 0.5739 GB, free: 6.316 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001588/0.657, allocations: 140 kB / 0.574 GB, free: 6.18 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002962/0.66, allocations: 1.118 MB / 0.5751 GB, free: 5.059 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006397/0.6664, allocations: 1.762 MB / 0.5768 GB, free: 3.293 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009009/0.6754, allocations: 6.166 MB / 0.5828 GB, free: 13.03 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00606/0.6815, allocations: 415.7 kB / 0.5832 GB, free: 12.62 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001559/0.683, allocations: 469.2 kB / 0.5837 GB, free: 12.17 MB / 478.1 MB 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.004988/0.688, allocations: 2.339 MB / 0.586 GB, free: 9.824 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001/0.689, allocations: 373.5 kB / 0.5863 GB, free: 9.457 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01094/0.7, allocations: 6.1 MB / 0.5923 GB, free: 3.34 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.4e-05/0.7, allocations: 28 kB / 0.5923 GB, free: 3.312 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.5e-05/0.7, allocations: 11.3 kB / 0.5923 GB, free: 3.305 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.481e-05/0.7, allocations: 7.969 kB / 0.5923 GB, free: 3.297 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02166/0.7217, allocations: 11.34 MB / 0.6034 GB, free: 7.934 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.43e-05/0.7217, allocations: 3.938 kB / 0.6034 GB, free: 7.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003094/0.7248, allocations: 0.5694 MB / 0.604 GB, free: 7.359 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002739/0.7276, allocations: 0.9517 MB / 0.6049 GB, free: 6.406 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004087/0.728, allocations: 100.3 kB / 0.605 GB, free: 6.309 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008492/0.7365, allocations: 5.915 MB / 0.6108 GB, free: 304 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/0.7365, allocations: 4 kB / 0.6108 GB, free: 300 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01629/0.7528, allocations: 10.36 MB / 0.6209 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002147/0.7549, allocations: 0.7746 MB / 0.6216 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004898/0.7554, allocations: 44 kB / 0.6217 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00214/0.7575, allocations: 175.5 kB / 0.6218 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004992/0.758, allocations: 197.6 kB / 0.622 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002731/0.7583, allocations: 119.9 kB / 0.6221 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003652/0.762, allocations: 2.321 MB / 0.6244 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.762, allocations: 0 / 0.6244 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005522/0.7675, allocations: 1.187 MB / 0.6256 GB, free: 1.094 MB / 0.4981 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.0005248/0.768, allocations: 194.5 kB / 0.6258 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01271/0.7807, allocations: 7.509 MB / 0.6331 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/0.7807, allocations: 0 / 0.6331 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005043/0.7858, allocations: 2.813 MB / 0.6358 GB, free: 6.586 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003412/0.7892, allocations: 448.8 kB / 0.6363 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02221/0.8114, allocations: 11.95 MB / 0.6479 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004337/0.8157, allocations: 3.096 MB / 0.651 GB, free: 7.004 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005309/0.821, allocations: 2.229 MB / 0.6531 GB, free: 4.77 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001332/0.8224, allocations: 452.1 kB / 0.6536 GB, free: 4.328 MB / 0.5294 GB Notification: Performance of SimCode: time 9.92e-07/0.8224, allocations: 0 / 0.6536 GB, free: 4.328 MB / 0.5294 GB Notification: Performance of Templates: time 0.2794/1.102, allocations: 48.34 MB / 0.7008 GB, free: 181.3 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/MovingActuatedDrive/MovingActuatedDrive.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.00610931601841]