Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 112 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 180.8 kB / 23.71 MB, free: 4.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 43.92 kB / 370.9 MB, free: 9.363 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.2683, allocations: 52.19 MB / 423.1 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01367/0.282, allocations: 11.22 MB / 434.3 MB, free: 3.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008335/0.2903, allocations: 3.853 MB / 438.2 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001651/0.292, allocations: 75.69 kB / 438.3 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005558/0.2975, allocations: 2.741 MB / 441 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005102/0.3026, allocations: 1.856 MB / 442.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001462/0.3041, allocations: 0.577 MB / 443.4 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005224/0.3093, allocations: 3.586 MB / 447 MB, free: 6.688 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003814/0.3131, allocations: 2.534 MB / 449.5 MB, free: 4.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002517/0.3157, allocations: 1.491 MB / 451 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003527/0.3192, allocations: 2.177 MB / 453.2 MB, free: 420 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001035/0.3202, allocations: 320 kB / 453.5 MB, free: 100 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002792/0.323, allocations: 1.092 MB / 454.6 MB, free: 15 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002607/0.3256, allocations: 1.878 MB / 456.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003035/0.3286, allocations: 2.132 MB / 458.6 MB, free: 10.98 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009096/0.3377, allocations: 6.824 MB / 465.5 MB, free: 4.125 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.3378, allocations: 7.938 kB / 465.5 MB, free: 4.117 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3378, allocations: 4 kB / 465.5 MB, free: 4.113 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002443/0.338, allocations: 0 / 465.5 MB, free: 4.113 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1442 * Number of variables: 1442 Notification: Performance of Generate backend data structure: time 0.0189/0.3569, allocations: 5.152 MB / 470.6 MB, free: 14.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.556e-05/0.357, allocations: 8.031 kB / 470.6 MB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007116/0.3641, allocations: 1.882 MB / 472.5 MB, free: 13.01 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006073/0.3702, allocations: 2.212 MB / 474.7 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002005/0.3704, allocations: 225.8 kB / 474.9 MB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008586/0.3712, allocations: 299.8 kB / 475.2 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01962/0.3908, allocations: 10.21 MB / 485.4 MB, free: 15.35 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001186/0.391, allocations: 39.64 kB / 485.5 MB, free: 15.31 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004479/0.3914, allocations: 151.9 kB / 485.6 MB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003479/0.3949, allocations: 1.86 MB / 487.5 MB, free: 13.3 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01964/0.4145, allocations: 9.127 MB / 496.6 MB, free: 4.164 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0558/0.4703, allocations: 38.08 MB / 0.5222 GB, free: 12.96 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01352/0.4838, allocations: 3.034 MB / 0.5251 GB, free: 9.891 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002521/0.4864, allocations: 1.575 MB / 0.5267 GB, free: 8.305 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005811/0.487, allocations: 132.3 kB / 0.5268 GB, free: 8.176 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.669e-05/0.487, allocations: 47.22 kB / 0.5268 GB, free: 8.117 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 4.899e-06/0.487, allocations: 7.938 kB / 0.5268 GB, free: 8.109 MB / 446.1 MB Notification: Performance of matching and sorting (n=133): time 0.2929/0.7799, allocations: 12.78 MB / 0.5393 GB, free: 105.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.436e-05/0.7799, allocations: 150.5 kB / 0.5395 GB, free: 105.6 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00483/0.7848, allocations: 4.072 MB / 0.5434 GB, free: 104.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002029/0.785, allocations: 47.02 kB / 0.5435 GB, free: 104.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001301/0.7863, allocations: 3.178 MB / 0.5466 GB, free: 102 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00038/0.7866, allocations: 0.5663 MB / 0.5471 GB, free: 101.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001121/0.7878, allocations: 1.177 MB / 0.5483 GB, free: 101 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.391e-05/0.7878, allocations: 308.6 kB / 0.5486 GB, free: 100.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002106/0.7899, allocations: 1.963 MB / 0.5505 GB, free: 100.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003192/0.7931, allocations: 5.68 MB / 0.5561 GB, free: 94.44 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006305/0.7994, allocations: 8.275 MB / 0.5641 GB, free: 86.62 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.209e-05/0.7995, allocations: 39.94 kB / 0.5642 GB, free: 86.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=741) (initialization): time 0.01139/0.8109, allocations: 8.12 MB / 0.5721 GB, free: 78.82 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.142e-05/0.8109, allocations: 60 kB / 0.5722 GB, free: 78.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.011e-05/0.811, allocations: 135.6 kB / 0.5723 GB, free: 78.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002177/0.8132, allocations: 0.914 MB / 0.5732 GB, free: 77.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003513/0.8167, allocations: 1.315 MB / 0.5745 GB, free: 76.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005209/0.8219, allocations: 5.097 MB / 0.5794 GB, free: 71.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004286/0.8262, allocations: 311.7 kB / 0.5797 GB, free: 70.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000575/0.8268, allocations: 376 kB / 0.5801 GB, free: 70.52 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 603 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.arrowLine.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 (702): * Single equations (assignments): 698 * 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.002452/0.8292, allocations: 2.007 MB / 0.5821 GB, free: 68.51 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005556/0.8298, allocations: 345.7 kB / 0.5824 GB, free: 68.17 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004396/0.8342, allocations: 2.762 MB / 0.5851 GB, free: 65.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-05/0.8342, allocations: 12 kB / 0.5851 GB, free: 65.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/0.8342, allocations: 8 kB / 0.5851 GB, free: 65.37 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.185e-05/0.8342, allocations: 7.984 kB / 0.5851 GB, free: 65.36 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01066/0.8449, allocations: 7.078 MB / 0.592 GB, free: 58.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/0.8449, allocations: 3.938 kB / 0.592 GB, free: 58.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009547/0.8458, allocations: 219.7 kB / 0.5922 GB, free: 58.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001924/0.8478, allocations: 0.7195 MB / 0.5929 GB, free: 57.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001034/0.8479, allocations: 31.98 kB / 0.593 GB, free: 57.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004804/0.8527, allocations: 4.644 MB / 0.5975 GB, free: 52.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.8527, allocations: 8.062 kB / 0.5975 GB, free: 52.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006306/0.859, allocations: 5.086 MB / 0.6025 GB, free: 47.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008847/0.8599, allocations: 345.4 kB / 0.6028 GB, free: 47.06 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003665/0.8602, allocations: 16 kB / 0.6028 GB, free: 47.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001163/0.8614, allocations: 76.84 kB / 0.6029 GB, free: 46.97 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002285/0.8616, allocations: 88.42 kB / 0.603 GB, free: 46.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/0.8617, allocations: 47.97 kB / 0.603 GB, free: 46.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002853/0.8646, allocations: 2.541 MB / 0.6055 GB, free: 44.28 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.8646, allocations: 0 / 0.6055 GB, free: 44.28 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003927/0.8685, allocations: 0.9135 MB / 0.6064 GB, free: 43.37 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.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 (101): * Single equations (assignments): 97 * 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,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002781/0.8688, allocations: 147 kB / 0.6065 GB, free: 43.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005124/0.8739, allocations: 4.538 MB / 0.611 GB, free: 38.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.8739, allocations: 0.625 kB / 0.611 GB, free: 38.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001334/0.8753, allocations: 1.286 MB / 0.6122 GB, free: 37.39 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001925/0.8772, allocations: 428.4 kB / 0.6126 GB, free: 36.98 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009878/0.8871, allocations: 8.626 MB / 0.6211 GB, free: 28.31 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002254/0.8893, allocations: 3.102 MB / 0.6241 GB, free: 25.18 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003087/0.8924, allocations: 1.83 MB / 0.6259 GB, free: 23.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005159/0.8929, allocations: 259.3 kB / 0.6261 GB, free: 23.08 MB / 446.1 MB Notification: Performance of SimCode: time 6.52e-07/0.8929, allocations: 0 / 0.6261 GB, free: 23.08 MB / 446.1 MB Notification: Performance of Templates: time 0.06185/0.9548, allocations: 36.24 MB / 0.6615 GB, free: 3.105 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.547065112739801]