Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001172/0.001172, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.299/1.299, allocations: 226.7 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001066/0.001066, allocations: 105.5 kB / 296.7 MB, free: 6.453 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000994/0.0009941, allocations: 51.92 kB / 356.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.2127, allocations: 50.45 MB / 407.1 MB, free: 27.78 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.03525/0.248, allocations: 49.59 MB / 456.6 MB, free: 10 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02039/0.2684, allocations: 10.28 MB / 466.9 MB, free: 15.7 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007816/0.2763, allocations: 211.5 kB / 467.1 MB, free: 15.49 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004975/0.2813, allocations: 2.677 MB / 469.8 MB, free: 12.81 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004008/0.2853, allocations: 1.67 MB / 471.5 MB, free: 11.13 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00127/0.2866, allocations: 0.5227 MB / 472 MB, free: 10.61 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.005497/0.2921, allocations: 5.346 MB / 477.3 MB, free: 5.254 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004109/0.2963, allocations: 3.587 MB / 480.9 MB, free: 1.602 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002472/0.2988, allocations: 1.312 MB / 482.2 MB, free: 292 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003975/0.3028, allocations: 2.146 MB / 484.4 MB, free: 14.13 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001005/0.3038, allocations: 228 kB / 484.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002255/0.3061, allocations: 1.002 MB / 485.6 MB, free: 12.91 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001986/0.3081, allocations: 1.761 MB / 487.4 MB, free: 11.14 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002914/0.311, allocations: 2.054 MB / 489.4 MB, free: 9.074 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006466/0.3175, allocations: 6.499 MB / 495.9 MB, free: 2.555 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3175, allocations: 4 kB / 495.9 MB, free: 2.551 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.3175, allocations: 4 kB / 495.9 MB, free: 2.547 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002044/0.3177, allocations: 0 / 495.9 MB, free: 2.547 MB / 362.7 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.01745/0.3352, allocations: 5.133 MB / 0.4893 GB, free: 13.35 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.3353, allocations: 8.031 kB / 0.4893 GB, free: 13.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007065/0.3423, allocations: 1.879 MB / 0.4912 GB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005508/0.3479, allocations: 2.209 MB / 0.4933 GB, free: 9.184 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001984/0.3481, allocations: 229.8 kB / 0.4935 GB, free: 8.957 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001179/0.3493, allocations: 299.8 kB / 0.4938 GB, free: 8.664 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1875/0.5368, allocations: 10.2 MB / 0.5038 GB, free: 91.62 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001633/0.537, allocations: 48.23 kB / 0.5038 GB, free: 91.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005708/0.5376, allocations: 140 kB / 0.504 GB, free: 91.53 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003673/0.5413, allocations: 1.868 MB / 0.5058 GB, free: 91.22 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01695/0.5583, allocations: 9.12 MB / 0.5147 GB, free: 87.72 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.041/0.5993, allocations: 38.28 MB / 0.5521 GB, free: 49.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01173/0.6111, allocations: 3.593 MB / 0.5556 GB, free: 45.75 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001907/0.613, allocations: 1.672 MB / 0.5572 GB, free: 44.07 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005266/0.6136, allocations: 355.7 kB / 0.5576 GB, free: 43.67 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.6136, allocations: 59.06 kB / 0.5576 GB, free: 43.6 MB / 378.7 MB Notification: Performance of pre-optimization done (n=127): time 3.657e-06/0.6136, allocations: 0 / 0.5576 GB, free: 43.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=133): time 0.03981/0.6535, allocations: 12.73 MB / 0.5701 GB, free: 30.75 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.203e-05/0.6536, allocations: 145.1 kB / 0.5702 GB, free: 30.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005961/0.6595, allocations: 4.061 MB / 0.5742 GB, free: 26.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000309/0.6599, allocations: 45.7 kB / 0.5742 GB, free: 26.43 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001487/0.6614, allocations: 3.047 MB / 0.5772 GB, free: 23.34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006611/0.6621, allocations: 0.5442 MB / 0.5777 GB, free: 22.79 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002016/0.6641, allocations: 1.17 MB / 0.5789 GB, free: 21.61 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.215e-05/0.6642, allocations: 301.1 kB / 0.5791 GB, free: 21.31 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00255/0.6667, allocations: 1.971 MB / 0.5811 GB, free: 19.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003682/0.6704, allocations: 5.676 MB / 0.5866 GB, free: 11.79 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00688/0.6773, allocations: 8.292 MB / 0.5947 GB, free: 1.648 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.372e-05/0.6775, allocations: 36 kB / 0.5947 GB, free: 1.613 MB / 378.7 MB Notification: Performance of matching and sorting (n=741) (initialization): time 0.01561/0.6931, allocations: 8.107 MB / 0.6027 GB, free: 9.492 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001664/0.6933, allocations: 68.31 kB / 0.6027 GB, free: 9.426 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002093/0.6935, allocations: 132 kB / 0.6029 GB, free: 9.297 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002537/0.6961, allocations: 0.9091 MB / 0.6037 GB, free: 8.387 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00429/0.7004, allocations: 1.322 MB / 0.605 GB, free: 7.062 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006596/0.707, allocations: 4.866 MB / 0.6098 GB, free: 2.062 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0043/0.7113, allocations: 299.7 kB / 0.6101 GB, free: 1.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009821/0.7123, allocations: 372 kB / 0.6104 GB, free: 1.406 MB / 394.7 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.003776/0.7161, allocations: 2.011 MB / 0.6124 GB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008607/0.717, allocations: 339.6 kB / 0.6127 GB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005777/0.7228, allocations: 2.763 MB / 0.6154 GB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.518e-05/0.7228, allocations: 20 kB / 0.6154 GB, free: 12.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.487e-05/0.7229, allocations: 4 kB / 0.6154 GB, free: 12.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.532e-05/0.7229, allocations: 3.984 kB / 0.6154 GB, free: 12.24 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01486/0.7377, allocations: 7.133 MB / 0.6224 GB, free: 5.027 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.746e-05/0.7378, allocations: 4 kB / 0.6224 GB, free: 5.023 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001119/0.7389, allocations: 211.6 kB / 0.6226 GB, free: 4.816 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002295/0.7412, allocations: 0.7213 MB / 0.6233 GB, free: 4.094 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001779/0.7414, allocations: 31.98 kB / 0.6233 GB, free: 4.062 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006115/0.7476, allocations: 4.419 MB / 0.6277 GB, free: 15.51 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.7476, allocations: 4.031 kB / 0.6277 GB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04759/0.7952, allocations: 25.22 MB / 0.6523 GB, free: 5.938 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001414/0.7967, allocations: 392.6 kB / 0.6527 GB, free: 5.531 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008858/0.7976, allocations: 20 kB / 0.6527 GB, free: 5.512 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002057/0.7997, allocations: 75.91 kB / 0.6528 GB, free: 5.438 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005197/0.8002, allocations: 84.53 kB / 0.6528 GB, free: 5.355 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002349/0.8005, allocations: 47.97 kB / 0.6529 GB, free: 5.309 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.006001/0.8065, allocations: 2.549 MB / 0.6554 GB, free: 2.746 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.8065, allocations: 0 / 0.6554 GB, free: 2.746 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006948/0.8135, allocations: 1.178 MB / 0.6565 GB, free: 1.57 MB / 442.7 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.0006777/0.8142, allocations: 149.7 kB / 0.6567 GB, free: 1.414 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00855/0.8228, allocations: 4.671 MB / 0.6612 GB, free: 12.75 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.776e-06/0.8228, allocations: 7.938 kB / 0.6612 GB, free: 12.75 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002227/0.8251, allocations: 1.338 MB / 0.6625 GB, free: 11.39 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003892/0.829, allocations: 409.9 kB / 0.6629 GB, free: 11 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1983/1.027, allocations: 11.36 MB / 0.674 GB, free: 153.8 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004757/1.032, allocations: 3.151 MB / 0.6771 GB, free: 153 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004273/1.036, allocations: 1.836 MB / 0.6789 GB, free: 152.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006913/1.037, allocations: 252.8 kB / 0.6791 GB, free: 152.9 MB / 458.7 MB Notification: Performance of SimCode: time 1.102e-06/1.037, allocations: 0 / 0.6791 GB, free: 152.9 MB / 458.7 MB Notification: Performance of Templates: time 0.06248/1.1, allocations: 38.85 MB / 0.7171 GB, free: 126.1 MB / 458.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches