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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001175/0.001175, allocations: 97.58 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001417/0.001417, allocations: 206.9 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.308/1.308, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003065/0.0003065, allocations: 7.984 kB / 306.6 MB, free: 1.406 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1274, allocations: 51.48 MB / 358.1 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.209/0.3364, allocations: 42.49 MB / 400.6 MB, free: 11.87 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02889/0.3654, allocations: 10.17 MB / 410.7 MB, free: 4.969 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01039/0.3758, allocations: 209.7 kB / 410.9 MB, free: 4.938 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008168/0.384, allocations: 2.104 MB / 413 MB, free: 3.582 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02077/0.4048, allocations: 6.152 MB / 419.2 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002786/0.4076, allocations: 0.507 MB / 419.7 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004121/0.4117, allocations: 2.058 MB / 421.7 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005453/0.4172, allocations: 4.216 MB / 426 MB, free: 7.621 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001671/0.4189, allocations: 0.9459 MB / 426.9 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001533/0.4205, allocations: 1.285 MB / 428.2 MB, free: 5.383 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004078/0.4209, allocations: 132 kB / 428.3 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001482/0.4224, allocations: 0.7489 MB / 429.1 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001385/0.4238, allocations: 1.477 MB / 430.5 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008478/0.4246, allocations: 0.7921 MB / 431.3 MB, free: 2.223 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005219/0.4299, allocations: 5.222 MB / 436.6 MB, free: 12.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.4299, allocations: 0 / 436.6 MB, free: 12.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.4299, allocations: 0 / 436.6 MB, free: 12.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000258/0.4302, allocations: 0 / 436.6 MB, free: 12.99 MB / 350.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.01604/0.4462, allocations: 4.384 MB / 440.9 MB, free: 8.539 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.4463, allocations: 8.031 kB / 441 MB, free: 8.531 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007909/0.4542, allocations: 2.237 MB / 443.2 MB, free: 6.285 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005149/0.4594, allocations: 2.296 MB / 445.5 MB, free: 3.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001714/0.4596, allocations: 229.8 kB / 445.7 MB, free: 3.703 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006928/0.4603, allocations: 303.8 kB / 446 MB, free: 3.406 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01681/0.4771, allocations: 10.25 MB / 456.3 MB, free: 8.473 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000103/0.4772, allocations: 51.58 kB / 456.3 MB, free: 8.422 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003817/0.4776, allocations: 143.9 kB / 456.4 MB, free: 8.281 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003065/0.4807, allocations: 1.86 MB / 458.3 MB, free: 6.414 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01796/0.4987, allocations: 9.174 MB / 467.5 MB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04478/0.5435, allocations: 38.32 MB / 0.4939 GB, free: 5.809 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01248/0.556, allocations: 3.614 MB / 0.4975 GB, free: 2.043 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005775/0.5566, allocations: 355.6 kB / 0.4978 GB, free: 1.641 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.5567, allocations: 51.06 kB / 0.4979 GB, free: 1.582 MB / 414.1 MB Notification: Performance of pre-optimization done (n=127): time 3.687e-06/0.5567, allocations: 0 / 0.4979 GB, free: 1.582 MB / 414.1 MB Notification: Performance of matching and sorting (n=133): time 0.03845/0.5951, allocations: 13.05 MB / 0.5106 GB, free: 4.355 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.807e-05/0.5953, allocations: 141.2 kB / 0.5107 GB, free: 4.188 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004968/0.6002, allocations: 4.17 MB / 0.5148 GB, free: 15.99 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002477/0.6005, allocations: 41.7 kB / 0.5148 GB, free: 15.94 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001979/0.6025, allocations: 3.051 MB / 0.5178 GB, free: 12.85 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006459/0.6031, allocations: 0.5404 MB / 0.5184 GB, free: 12.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002143/0.6034, allocations: 116 kB / 0.5185 GB, free: 12.19 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000342/0.6037, allocations: 0.5456 MB / 0.519 GB, free: 11.64 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002724/0.6064, allocations: 1.943 MB / 0.5209 GB, free: 9.688 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005346/0.6118, allocations: 5.633 MB / 0.5264 GB, free: 2.184 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.206/0.8178, allocations: 3.224 MB / 0.5295 GB, free: 139.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001318/0.818, allocations: 38.31 kB / 0.5296 GB, free: 139.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=737) (initialization): time 0.01763/0.8356, allocations: 8.041 MB / 0.5374 GB, free: 138.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001073/0.8358, allocations: 62.06 kB / 0.5375 GB, free: 138.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002012/0.836, allocations: 136.8 kB / 0.5376 GB, free: 138.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002697/0.8387, allocations: 0.9322 MB / 0.5385 GB, free: 138 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004781/0.8435, allocations: 1.318 MB / 0.5398 GB, free: 137.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007415/0.8509, allocations: 4.962 MB / 0.5447 GB, free: 135.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004674/0.8556, allocations: 304.7 kB / 0.545 GB, free: 135.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009861/0.8566, allocations: 369.2 kB / 0.5453 GB, free: 135.1 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 (698): * Single equations (assignments): 694 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00384/0.8605, allocations: 2.016 MB / 0.5473 GB, free: 134.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007057/0.8612, allocations: 333 kB / 0.5476 GB, free: 134.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004542/0.8657, allocations: 2.774 MB / 0.5503 GB, free: 133.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-05/0.8658, allocations: 22.95 kB / 0.5503 GB, free: 133.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.8658, allocations: 3.875 kB / 0.5503 GB, free: 133.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.346e-05/0.8658, allocations: 5.719 kB / 0.5503 GB, free: 133.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01151/0.8773, allocations: 7.132 MB / 0.5573 GB, free: 130.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.484e-05/0.8774, allocations: 11.2 kB / 0.5573 GB, free: 130.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/0.8784, allocations: 218.6 kB / 0.5575 GB, free: 130.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001961/0.8804, allocations: 0.7159 MB / 0.5582 GB, free: 130.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001106/0.8805, allocations: 38.16 kB / 0.5583 GB, free: 130.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004873/0.8854, allocations: 4.511 MB / 0.5627 GB, free: 127.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.8855, allocations: 4.031 kB / 0.5627 GB, free: 127.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006417/0.8919, allocations: 5.249 MB / 0.5678 GB, free: 122.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001326/0.8932, allocations: 404.6 kB / 0.5682 GB, free: 121.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000736/0.894, allocations: 21.33 kB / 0.5682 GB, free: 121.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001444/0.8954, allocations: 79.91 kB / 0.5683 GB, free: 121.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000248/0.8957, allocations: 92.28 kB / 0.5684 GB, free: 121.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/0.8958, allocations: 48.83 kB / 0.5684 GB, free: 121.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003681/0.8995, allocations: 2.62 MB / 0.571 GB, free: 119 MB / 446.1 MB Notification: Performance of sort global known variables: time 4e-07/0.8995, allocations: 0 / 0.571 GB, free: 119 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005628/0.9052, allocations: 0.9243 MB / 0.5719 GB, free: 118.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006181/0.9058, allocations: 160.2 kB / 0.572 GB, free: 118 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0071/0.9129, allocations: 4.647 MB / 0.5766 GB, free: 113.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.313e-06/0.9129, allocations: 0 / 0.5766 GB, free: 113.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001736/0.9147, allocations: 1.348 MB / 0.5779 GB, free: 112 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002485/0.9172, allocations: 401.3 kB / 0.5783 GB, free: 111.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01792/0.9351, allocations: 9.966 MB / 0.588 GB, free: 101.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003083/0.9383, allocations: 3.176 MB / 0.5911 GB, free: 98.37 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004007/0.9423, allocations: 1.857 MB / 0.5929 GB, free: 96.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006877/0.943, allocations: 259.3 kB / 0.5932 GB, free: 96.25 MB / 446.1 MB Notification: Performance of SimCode: time 8.72e-07/0.943, allocations: 0 / 0.5932 GB, free: 96.25 MB / 446.1 MB Notification: Performance of Templates: time 0.05658/0.9996, allocations: 33.29 MB / 0.6257 GB, free: 63.11 MB / 446.1 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/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