Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001042/0.001042, allocations: 89.95 kB / 23 MB, free: 1.5 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.001119/0.001119, allocations: 172.1 kB / 26.39 MB, free: 7.754 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8845/0.8845, allocations: 158.6 MB / 188.3 MB, free: 2.805 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 252.3 MB, free: 7.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.647e-05/1.815e-05, allocations: 6.25 kB / 252.3 MB, free: 7.242 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01015/0.01017, allocations: 12.99 MB / 265.3 MB, free: 10.18 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007867/0.01803, allocations: 4.276 MB / 269.5 MB, free: 5.895 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001753/0.01979, allocations: 99.56 kB / 269.6 MB, free: 5.797 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004176/0.02396, allocations: 3.964 MB / 273.6 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003124/0.02709, allocations: 2.255 MB / 275.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009967/0.02808, allocations: 0.7563 MB / 276.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003971/0.03205, allocations: 4.792 MB / 281.4 MB, free: 9.992 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003536/0.03559, allocations: 4.12 MB / 285.5 MB, free: 5.801 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003075/0.03866, allocations: 3.052 MB / 288.6 MB, free: 2.742 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002178/0.04084, allocations: 2.626 MB / 291.2 MB, free: 112 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004435/0.04129, allocations: 428 kB / 291.6 MB, free: 15.69 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001239/0.04252, allocations: 1.1 MB / 292.7 MB, free: 14.59 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001464/0.04399, allocations: 2.493 MB / 295.2 MB, free: 12.09 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001384/0.04537, allocations: 1.608 MB / 296.8 MB, free: 10.48 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004127/0.0495, allocations: 5.386 MB / 302.2 MB, free: 5.07 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.0495, allocations: 4 kB / 302.2 MB, free: 5.066 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.0495, allocations: 0 / 302.2 MB, free: 5.066 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.177e-05/0.0496, allocations: 0 / 302.2 MB, free: 5.066 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: 1851 * Number of variables: 1851 Notification: Performance of Generate backend data structure: time 0.007034/0.05663, allocations: 6.647 MB / 308.8 MB, free: 14.35 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.05667, allocations: 11.98 kB / 308.9 MB, free: 14.34 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003195/0.05987, allocations: 1.648 MB / 310.5 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002166/0.06203, allocations: 2.271 MB / 312.8 MB, free: 10.36 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001382/0.06217, allocations: 303.9 kB / 313.1 MB, free: 10.06 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004124/0.06258, allocations: 411.7 kB / 313.5 MB, free: 9.66 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006257/0.06884, allocations: 6.449 MB / 319.9 MB, free: 2.188 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.061e-05/0.06893, allocations: 55.55 kB / 320 MB, free: 2.133 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000314/0.06925, allocations: 183.8 kB / 320.2 MB, free: 1.953 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001791/0.07104, allocations: 1.957 MB / 322.1 MB, free: 15.98 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004604/0.07564, allocations: 2.86 MB / 325 MB, free: 13.11 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1541/0.2297, allocations: 49.06 MB / 374 MB, free: 55.86 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003514/0.2332, allocations: 1.633 MB / 375.7 MB, free: 55.7 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005172/0.2338, allocations: 0.5217 MB / 376.2 MB, free: 55.65 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004411/0.2382, allocations: 4.619 MB / 380.8 MB, free: 54.66 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.2382, allocations: 64.97 kB / 380.9 MB, free: 54.62 MB / 330.7 MB Notification: Performance of pre-optimization done (n=167): time 2.665e-06/0.2382, allocations: 0 / 380.9 MB, free: 54.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=176): time 0.01194/0.2501, allocations: 6.177 MB / 387 MB, free: 53.73 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/0.2502, allocations: 148.1 kB / 387.2 MB, free: 53.57 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002291/0.2525, allocations: 3.968 MB / 391.2 MB, free: 51.77 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.928e-05/0.2525, allocations: 49.7 kB / 391.2 MB, free: 51.71 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001098/0.2536, allocations: 4.113 MB / 395.3 MB, free: 48.03 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003025/0.2539, allocations: 0.7561 MB / 396.1 MB, free: 47.27 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009134/0.2548, allocations: 1.495 MB / 397.6 MB, free: 45.76 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.939e-05/0.2549, allocations: 480.7 kB / 398 MB, free: 45.29 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008095/0.2557, allocations: 0.63 MB / 398.7 MB, free: 44.65 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002052/0.2577, allocations: 7.083 MB / 405.8 MB, free: 34.68 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003739/0.2615, allocations: 8.47 MB / 414.2 MB, free: 23.79 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.559e-05/0.2615, allocations: 44 kB / 414.3 MB, free: 23.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=887) (initialization): time 0.004645/0.2661, allocations: 5.485 MB / 419.8 MB, free: 18.25 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.016e-05/0.2662, allocations: 68 kB / 419.8 MB, free: 18.19 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.903e-05/0.2663, allocations: 160 kB / 420 MB, free: 18.03 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000342/0.2666, allocations: 268.3 kB / 420.2 MB, free: 17.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002217/0.2688, allocations: 1.56 MB / 421.8 MB, free: 16.2 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001106/0.2699, allocations: 2.161 MB / 424 MB, free: 13.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001921/0.2719, allocations: 295.7 kB / 424.2 MB, free: 13.64 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002475/0.2721, allocations: 369.2 kB / 424.6 MB, free: 13.28 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 702 * Number of states: 0 () * Number of discrete variables: 42 (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 (861): * Single equations (assignments): 857 * 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.0009741/0.2731, allocations: 0.7375 MB / 425.3 MB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003194/0.2734, allocations: 425.4 kB / 425.8 MB, free: 12.12 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001237/0.2746, allocations: 1.141 MB / 426.9 MB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/0.2747, allocations: 24 kB / 426.9 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.2747, allocations: 0 / 426.9 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/0.2747, allocations: 11.97 kB / 426.9 MB, free: 10.92 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006151/0.2808, allocations: 5.41 MB / 432.3 MB, free: 5.383 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.2808, allocations: 4.75 kB / 432.4 MB, free: 5.379 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007021/0.2815, allocations: 291.5 kB / 432.6 MB, free: 5.094 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000225/0.2818, allocations: 71.83 kB / 432.7 MB, free: 5.02 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-05/0.2818, allocations: 47.98 kB / 432.8 MB, free: 4.973 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007788/0.2826, allocations: 1.878 MB / 434.6 MB, free: 2.984 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.2826, allocations: 15.97 kB / 434.6 MB, free: 2.969 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001738/0.2843, allocations: 2.344 MB / 437 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004686/0.2848, allocations: 493.2 kB / 437.5 MB, free: 28 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002364/0.285, allocations: 40.06 kB / 437.5 MB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006259/0.2857, allocations: 40 kB / 437.5 MB, free: 15.95 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001557/0.2858, allocations: 116.7 kB / 437.7 MB, free: 15.83 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.373e-05/0.2859, allocations: 47.98 kB / 437.7 MB, free: 15.79 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001266/0.2872, allocations: 1.585 MB / 439.3 MB, free: 14.19 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2872, allocations: 0 / 439.3 MB, free: 14.19 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003127/0.2903, allocations: 1.125 MB / 440.4 MB, free: 13.07 MB / 346.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 (162): * Single equations (assignments): 158 * 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.0003361/0.2906, allocations: 190.8 kB / 440.6 MB, free: 12.87 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003566/0.2942, allocations: 3.045 MB / 443.7 MB, free: 9.828 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.2942, allocations: 4.125 kB / 443.7 MB, free: 9.824 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007435/0.2949, allocations: 0.7148 MB / 444.4 MB, free: 9.098 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001329/0.2963, allocations: 432.8 kB / 444.8 MB, free: 8.691 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00989/0.3062, allocations: 8.893 MB / 453.7 MB, free: 15.63 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001251/0.3074, allocations: 1.444 MB / 455.1 MB, free: 14.15 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001196/0.3086, allocations: 0.5476 MB / 455.7 MB, free: 13.6 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000849/0.3095, allocations: 0.6309 MB / 456.3 MB, free: 12.97 MB / 362.7 MB Notification: Performance of SimCode: time 9.01e-07/0.3095, allocations: 0 / 456.3 MB, free: 12.97 MB / 362.7 MB Notification: Performance of Templates: time 0.04869/0.3581, allocations: 33.09 MB / 489.4 MB, free: 11.87 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 4.136729487683624]