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.001039/0.001039, allocations: 80.8 kB / 21.5 MB, free: 2.996 MB / 18.57 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.001015/0.001015, allocations: 170 kB / 24.91 MB, free: 9.227 MB / 18.57 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 0.8963/0.8963, allocations: 177.1 MB / 205.3 MB, free: 5.121 MB / 186.7 MB " [Timeout remaining time 179] 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 2.395e-06/2.395e-06, allocations: 4 kB / 273.5 MB, free: 1.109 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.453e-05/1.692e-05, allocations: 5.969 kB / 273.5 MB, free: 1.105 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.009132/0.009149, allocations: 12.33 MB / 285.8 MB, free: 4.727 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00651/0.01566, allocations: 4.367 MB / 290.2 MB, free: 352 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009323/0.01659, allocations: 95.56 kB / 290.3 MB, free: 256 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.104/0.1206, allocations: 3.905 MB / 294.2 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00383/0.1245, allocations: 2.09 MB / 296.3 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001066/0.1255, allocations: 0.7498 MB / 297 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004149/0.1297, allocations: 4.634 MB / 301.7 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003053/0.1327, allocations: 3.974 MB / 305.6 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002367/0.1351, allocations: 2.874 MB / 308.5 MB, free: 9.637 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001674/0.1368, allocations: 2.383 MB / 310.9 MB, free: 8.496 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003659/0.1371, allocations: 401.6 kB / 311.3 MB, free: 8.496 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001013/0.1382, allocations: 1.09 MB / 312.4 MB, free: 7.719 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007893/0.1389, allocations: 2.338 MB / 314.7 MB, free: 5.457 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007967/0.1397, allocations: 1.507 MB / 316.2 MB, free: 4.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002583/0.1423, allocations: 5.052 MB / 321.3 MB, free: 15.3 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1423, allocations: 0 / 321.3 MB, free: 15.3 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.1423, allocations: 3.984 kB / 321.3 MB, free: 15.3 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.916e-05/0.1424, allocations: 0 / 321.3 MB, free: 15.3 MB / 282.7 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.005079/0.1475, allocations: 5.49 MB / 326.8 MB, free: 10.2 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.807e-05/0.1475, allocations: 8.031 kB / 326.8 MB, free: 10.19 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002388/0.1499, allocations: 1.188 MB / 328 MB, free: 9.055 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001817/0.1517, allocations: 2.032 MB / 330 MB, free: 7.16 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001258/0.1518, allocations: 285.9 kB / 330.3 MB, free: 6.918 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003606/0.1522, allocations: 383.9 kB / 330.6 MB, free: 6.582 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004894/0.1571, allocations: 5.599 MB / 336.2 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.727e-05/0.1571, allocations: 54.72 kB / 336.3 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002596/0.1574, allocations: 184.5 kB / 336.5 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001306/0.1587, allocations: 1.787 MB / 338.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003603/0.1623, allocations: 2.776 MB / 341 MB, free: 12.18 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01963/0.1819, allocations: 34.27 MB / 375.3 MB, free: 9.211 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003258/0.1852, allocations: 1.616 MB / 376.9 MB, free: 7.551 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004244/0.1856, allocations: 382.3 kB / 377.3 MB, free: 7.168 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004157/0.1898, allocations: 3.979 MB / 381.3 MB, free: 3.164 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.1898, allocations: 50.88 kB / 381.3 MB, free: 3.109 MB / 330.7 MB Notification: Performance of pre-optimization done (n=146): time 2.525e-06/0.1898, allocations: 0 / 381.3 MB, free: 3.109 MB / 330.7 MB Notification: Performance of matching and sorting (n=156): time 0.01127/0.2011, allocations: 5.53 MB / 386.9 MB, free: 13.54 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.522e-05/0.2011, allocations: 141.5 kB / 387 MB, free: 13.37 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00237/0.2035, allocations: 3.473 MB / 390.5 MB, free: 9.914 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.43e-05/0.2036, allocations: 45.7 kB / 390.5 MB, free: 9.863 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00128/0.2049, allocations: 3.504 MB / 394 MB, free: 6.324 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003328/0.2052, allocations: 0.6591 MB / 394.7 MB, free: 5.66 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009068/0.2061, allocations: 1.231 MB / 395.9 MB, free: 4.418 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.546e-05/0.2062, allocations: 309.1 kB / 396.2 MB, free: 4.113 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001061/0.2072, allocations: 0.7755 MB / 397 MB, free: 3.332 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002569/0.2098, allocations: 4.824 MB / 401.8 MB, free: 12.4 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003705/0.2135, allocations: 6.204 MB / 408 MB, free: 4.098 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.755e-05/0.2135, allocations: 48 kB / 408.1 MB, free: 4.051 MB / 362.7 MB Notification: Performance of matching and sorting (n=847) (initialization): time 0.004081/0.2176, allocations: 4.443 MB / 412.5 MB, free: 15.6 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.36e-05/0.2177, allocations: 70.03 kB / 412.6 MB, free: 15.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.273e-05/0.2177, allocations: 152 kB / 412.7 MB, free: 15.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003395/0.2181, allocations: 255.6 kB / 413 MB, free: 15.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00233/0.2204, allocations: 1.566 MB / 414.5 MB, free: 13.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001088/0.2215, allocations: 1.615 MB / 416.2 MB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001734/0.2232, allocations: 291.8 kB / 416.4 MB, free: 11.56 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002707/0.2235, allocations: 352 kB / 416.8 MB, free: 11.21 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 682 * 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 (821): * Single equations (assignments): 817 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009981/0.2245, allocations: 0.674 MB / 417.5 MB, free: 10.53 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002605/0.2248, allocations: 215.8 kB / 417.7 MB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001046/0.2258, allocations: 0.8685 MB / 418.5 MB, free: 9.438 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.32e-05/0.2258, allocations: 20 kB / 418.6 MB, free: 9.418 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.2258, allocations: 3.984 kB / 418.6 MB, free: 9.414 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/0.2258, allocations: 7.984 kB / 418.6 MB, free: 9.406 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004683/0.2305, allocations: 4.225 MB / 422.8 MB, free: 5.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.902e-06/0.2305, allocations: 4 kB / 422.8 MB, free: 5.066 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006713/0.2312, allocations: 279.7 kB / 423.1 MB, free: 4.793 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002157/0.2314, allocations: 71.58 kB / 423.1 MB, free: 4.719 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.038e-05/0.2315, allocations: 32 kB / 423.2 MB, free: 4.688 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001015/0.2325, allocations: 1.526 MB / 424.7 MB, free: 3.059 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.663e-06/0.2325, allocations: 19.88 kB / 424.7 MB, free: 3.039 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001524/0.234, allocations: 1.798 MB / 426.5 MB, free: 1.148 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004179/0.2344, allocations: 437.3 kB / 426.9 MB, free: 0.7188 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000179/0.2346, allocations: 32 kB / 427 MB, free: 0.6875 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005212/0.2351, allocations: 31.98 kB / 427 MB, free: 0.6562 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001523/0.2353, allocations: 108.7 kB / 427.1 MB, free: 0.5508 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.808e-05/0.2354, allocations: 43.98 kB / 427.2 MB, free: 0.5078 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009269/0.2363, allocations: 1.259 MB / 428.4 MB, free: 15.27 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2363, allocations: 0 / 428.4 MB, free: 15.27 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00248/0.2388, allocations: 1.035 MB / 429.4 MB, free: 14.23 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (141): * Single equations (assignments): 137 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002605/0.239, allocations: 177 kB / 429.6 MB, free: 14.05 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002335/0.2414, allocations: 2.611 MB / 432.2 MB, free: 11.45 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001419/0.2415, allocations: 100.2 kB / 432.3 MB, free: 11.34 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005177/0.242, allocations: 0.5411 MB / 432.9 MB, free: 10.79 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001402/0.2434, allocations: 0.6655 MB / 433.5 MB, free: 10.14 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007688/0.2511, allocations: 8.129 MB / 441.7 MB, free: 1.848 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001014/0.2521, allocations: 1.359 MB / 443 MB, free: 472 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.09169/0.3438, allocations: 0.5177 MB / 443.5 MB, free: 127.8 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001021/0.3448, allocations: 0.5629 MB / 444.1 MB, free: 127.8 MB / 394.7 MB Notification: Performance of SimCode: time 1.142e-06/0.3448, allocations: 0 / 444.1 MB, free: 127.8 MB / 394.7 MB Notification: Performance of Templates: time 0.04011/0.3849, allocations: 30.09 MB / 474.2 MB, free: 116.2 MB / 394.7 MB " [Timeout remaining time 660] 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4166917758993804]