Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.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.001838/0.001838, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.002227/0.002227, allocations: 208.7 kB / 24.49 MB, free: 3.965 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.45/1.45, allocations: 230.6 MB / 258.3 MB, free: 7.809 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.ActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_4.1.0_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_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 47.92 kB / 379 MB, free: 2.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.2065, allocations: 53.37 MB / 432.3 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.0129/0.2194, allocations: 9.677 MB / 442 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007476/0.2269, allocations: 3.639 MB / 445.6 MB, free: 9.539 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001007/0.2279, allocations: 71.69 kB / 445.7 MB, free: 9.469 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00505/0.2329, allocations: 2.62 MB / 448.3 MB, free: 6.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003969/0.2369, allocations: 1.802 MB / 450.1 MB, free: 5.031 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001174/0.2381, allocations: 0.581 MB / 450.7 MB, free: 4.449 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004219/0.2423, allocations: 3.578 MB / 454.3 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003216/0.2455, allocations: 2.736 MB / 457 MB, free: 14.06 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00213/0.2476, allocations: 1.476 MB / 458.5 MB, free: 12.58 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002959/0.2506, allocations: 2.138 MB / 460.6 MB, free: 10.43 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006538/0.2513, allocations: 316 kB / 461 MB, free: 10.12 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001869/0.2531, allocations: 0.9518 MB / 461.9 MB, free: 9.172 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00187/0.255, allocations: 1.839 MB / 463.7 MB, free: 7.328 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001899/0.2569, allocations: 1.542 MB / 465.3 MB, free: 5.777 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007952/0.2648, allocations: 6.704 MB / 472 MB, free: 15.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.2648, allocations: 0 / 472 MB, free: 15.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.2648, allocations: 0 / 472 MB, free: 15.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001596/0.265, allocations: 0 / 472 MB, free: 15.04 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.01825/0.2833, allocations: 5.093 MB / 477.1 MB, free: 9.898 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.2833, allocations: 8.031 kB / 477.1 MB, free: 9.891 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006875/0.2902, allocations: 1.878 MB / 479 MB, free: 8.008 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005382/0.2956, allocations: 2.189 MB / 481.2 MB, free: 5.773 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002038/0.2958, allocations: 217.7 kB / 481.4 MB, free: 5.559 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008152/0.2966, allocations: 303.8 kB / 481.7 MB, free: 5.262 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01859/0.3152, allocations: 10.02 MB / 491.7 MB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001058/0.3153, allocations: 43.64 kB / 491.7 MB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004382/0.3157, allocations: 139.9 kB / 491.9 MB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003342/0.3191, allocations: 1.809 MB / 493.7 MB, free: 8.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0187/0.3378, allocations: 8.947 MB / 0.4908 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04509/0.3828, allocations: 35.35 MB / 0.5254 GB, free: 11.21 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01439/0.3972, allocations: 3.023 MB / 0.5283 GB, free: 8.152 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002284/0.3995, allocations: 1.575 MB / 0.5299 GB, free: 6.566 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005147/0.4, allocations: 124.5 kB / 0.53 GB, free: 6.441 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.677e-05/0.4001, allocations: 43.22 kB / 0.53 GB, free: 6.391 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 3.997e-06/0.4001, allocations: 0 / 0.53 GB, free: 6.391 MB / 446.1 MB Notification: Performance of matching and sorting (n=133): time 0.2207/0.6207, allocations: 12.76 MB / 0.5425 GB, free: 99.32 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/0.6208, allocations: 141 kB / 0.5426 GB, free: 99.16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004015/0.6248, allocations: 3.731 MB / 0.5463 GB, free: 97.85 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001545/0.6249, allocations: 41.64 kB / 0.5463 GB, free: 97.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001132/0.6261, allocations: 3.157 MB / 0.5494 GB, free: 95.57 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003562/0.6264, allocations: 0.5605 MB / 0.5499 GB, free: 95.18 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001104/0.6275, allocations: 1.18 MB / 0.5511 GB, free: 94.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.656e-05/0.6276, allocations: 305.1 kB / 0.5514 GB, free: 94.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002134/0.6297, allocations: 1.965 MB / 0.5533 GB, free: 93.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003137/0.6328, allocations: 5.657 MB / 0.5588 GB, free: 88.09 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005993/0.6388, allocations: 8.255 MB / 0.5669 GB, free: 78.65 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.835e-05/0.6389, allocations: 36 kB / 0.5669 GB, free: 78.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=738) (initialization): time 0.01119/0.6501, allocations: 8.049 MB / 0.5748 GB, free: 71.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.939e-05/0.6502, allocations: 60.94 kB / 0.5748 GB, free: 71.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.755e-05/0.6503, allocations: 132 kB / 0.575 GB, free: 70.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002205/0.6525, allocations: 0.9003 MB / 0.5758 GB, free: 69.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003756/0.6562, allocations: 1.318 MB / 0.5771 GB, free: 68.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00518/0.6614, allocations: 5.022 MB / 0.582 GB, free: 63.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003858/0.6653, allocations: 311.8 kB / 0.5823 GB, free: 63.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004561/0.6657, allocations: 368.8 kB / 0.5827 GB, free: 62.88 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.002173/0.6679, allocations: 1.985 MB / 0.5846 GB, free: 60.89 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004514/0.6684, allocations: 313.9 kB / 0.5849 GB, free: 60.58 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004328/0.6727, allocations: 2.712 MB / 0.5876 GB, free: 57.85 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.48e-05/0.6727, allocations: 15.62 kB / 0.5876 GB, free: 57.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.6727, allocations: 0 / 0.5876 GB, free: 57.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005773/0.6733, allocations: 273.8 kB / 0.5878 GB, free: 57.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003434/0.6736, allocations: 20 kB / 0.5879 GB, free: 57.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001088/0.6747, allocations: 71.91 kB / 0.5879 GB, free: 57.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002402/0.675, allocations: 104.4 kB / 0.588 GB, free: 57.38 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004695/0.6796, allocations: 3.231 MB / 0.5912 GB, free: 54.16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004106/0.6838, allocations: 4.343 MB / 0.5954 GB, free: 49.8 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001014/0.6848, allocations: 1.024 MB / 0.5964 GB, free: 48.78 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002302/0.6871, allocations: 2.146 MB / 0.5985 GB, free: 46.64 MB / 446.1 MB Notification: Performance of Backend: time 2.41e-07/0.6871, allocations: 0 / 0.5985 GB, free: 46.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005928/0.693, allocations: 3.761 MB / 0.6022 GB, free: 42.91 MB / 446.1 MB Notification: Performance of SimCode: time 0.009808/0.7028, allocations: 8.641 MB / 0.6106 GB, free: 34.22 MB / 446.1 MB Notification: Performance of Templates: time 0.06855/0.7714, allocations: 44.76 MB / 0.6543 GB, free: 5.941 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.05681277000258]