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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 95 kB / 16.3 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 188.3 kB / 17.2 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 223.2 MB / 241.1 MB, free: 5.438 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003204/0.0003205, allocations: 5.656 kB / 300.7 MB, free: 5.961 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1152, allocations: 50.44 MB / 351.1 MB, free: 11.72 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.0429/0.1581, allocations: 42.47 MB / 393.6 MB, free: 1.129 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02322/0.1814, allocations: 10.14 MB / 403.8 MB, free: 6.953 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007416/0.1889, allocations: 207.5 kB / 404 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006266/0.1951, allocations: 2.092 MB / 406.1 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01835/0.2135, allocations: 6.164 MB / 412.2 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002471/0.216, allocations: 0.507 MB / 412.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003315/0.2193, allocations: 2.028 MB / 414.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004906/0.2243, allocations: 4.23 MB / 419 MB, free: 7.648 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001333/0.2256, allocations: 0.9498 MB / 419.9 MB, free: 6.695 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001701/0.2273, allocations: 1.277 MB / 421.2 MB, free: 5.414 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003025/0.2277, allocations: 132 kB / 421.3 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001284/0.2289, allocations: 0.7607 MB / 422.1 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001143/0.2301, allocations: 1.481 MB / 423.6 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006208/0.2307, allocations: 0.7921 MB / 424.4 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1953/0.426, allocations: 5.222 MB / 429.6 MB, free: 7.406 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.4261, allocations: 3.625 kB / 429.6 MB, free: 7.406 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.4261, allocations: 0 / 429.6 MB, free: 7.406 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002141/0.4263, allocations: 0.5 kB / 429.6 MB, free: 7.406 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.01505/0.4414, allocations: 4.355 MB / 434 MB, free: 5.609 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.4414, allocations: 10.19 kB / 434 MB, free: 5.609 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007823/0.4492, allocations: 2.201 MB / 436.2 MB, free: 5.336 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005078/0.4543, allocations: 2.281 MB / 438.4 MB, free: 4.836 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000168/0.4545, allocations: 226.6 kB / 438.7 MB, free: 4.828 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007963/0.4553, allocations: 300.7 kB / 439 MB, free: 4.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01662/0.472, allocations: 10.27 MB / 449.2 MB, free: 2.914 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001016/0.4721, allocations: 43.16 kB / 449.3 MB, free: 2.914 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004018/0.4725, allocations: 142 kB / 449.4 MB, free: 2.914 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002909/0.4754, allocations: 1.87 MB / 451.3 MB, free: 2.895 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01628/0.4917, allocations: 9.177 MB / 460.5 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04438/0.5361, allocations: 38.32 MB / 498.8 MB, free: 4.082 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01288/0.5491, allocations: 3.615 MB / 0.4906 GB, free: 1.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006175/0.5497, allocations: 357.9 kB / 0.491 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.485e-05/0.5498, allocations: 48.44 kB / 0.491 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of pre-optimization done (n=127): time 3.887e-06/0.5498, allocations: 0 / 0.491 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of matching and sorting (n=133): time 0.04113/0.5909, allocations: 13.03 MB / 0.5037 GB, free: 5.254 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.293e-05/0.591, allocations: 144.2 kB / 0.5039 GB, free: 5.086 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005409/0.5964, allocations: 4.174 MB / 0.5079 GB, free: 1.953 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003413/0.5968, allocations: 43.08 kB / 0.508 GB, free: 1.918 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001796/0.5986, allocations: 3.051 MB / 0.511 GB, free: 15.47 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006447/0.5993, allocations: 0.5418 MB / 0.5115 GB, free: 15.03 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002204/0.5995, allocations: 111.6 kB / 0.5116 GB, free: 15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003098/0.5998, allocations: 0.5517 MB / 0.5121 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002653/0.6025, allocations: 1.937 MB / 0.514 GB, free: 13.17 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004623/0.6071, allocations: 5.629 MB / 0.5195 GB, free: 6.516 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004439/0.6116, allocations: 3.234 MB / 0.5227 GB, free: 4.383 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.056e-05/0.6117, allocations: 36 kB / 0.5227 GB, free: 4.348 MB / 414.1 MB Notification: Performance of matching and sorting (n=737) (initialization): time 0.01457/0.6262, allocations: 8.042 MB / 0.5306 GB, free: 14.54 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.389e-05/0.6264, allocations: 62.03 kB / 0.5306 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001598/0.6265, allocations: 132 kB / 0.5308 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002496/0.629, allocations: 0.9302 MB / 0.5317 GB, free: 13.42 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004274/0.6333, allocations: 1.322 MB / 0.533 GB, free: 12.22 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006686/0.64, allocations: 4.957 MB / 0.5378 GB, free: 7.203 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004455/0.6445, allocations: 323.6 kB / 0.5381 GB, free: 6.887 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001/0.6456, allocations: 368 kB / 0.5385 GB, free: 6.527 MB / 430.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.004863/0.6504, allocations: 2.013 MB / 0.5404 GB, free: 4.625 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008417/0.6513, allocations: 335.6 kB / 0.5407 GB, free: 4.293 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006121/0.6574, allocations: 2.77 MB / 0.5435 GB, free: 1.512 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.211e-05/0.6575, allocations: 16 kB / 0.5435 GB, free: 1.496 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/0.6575, allocations: 5.969 kB / 0.5435 GB, free: 1.492 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.817e-05/0.6575, allocations: 3.984 kB / 0.5435 GB, free: 1.488 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01512/0.6727, allocations: 7.152 MB / 0.5505 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.441e-05/0.6727, allocations: 0 / 0.5505 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001117/0.6738, allocations: 218.8 kB / 0.5507 GB, free: 10.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002256/0.6761, allocations: 0.7109 MB / 0.5514 GB, free: 9.387 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001724/0.6763, allocations: 39.92 kB / 0.5514 GB, free: 9.348 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006003/0.6823, allocations: 4.525 MB / 0.5558 GB, free: 4.707 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.6823, allocations: 0 / 0.5558 GB, free: 4.707 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008155/0.6905, allocations: 5.248 MB / 0.5609 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001162/0.6917, allocations: 408.5 kB / 0.5613 GB, free: 14.96 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007924/0.6925, allocations: 20.64 kB / 0.5614 GB, free: 14.95 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001676/0.6942, allocations: 79.91 kB / 0.5614 GB, free: 14.87 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002722/0.6945, allocations: 80.53 kB / 0.5615 GB, free: 14.79 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000128/0.6946, allocations: 51.97 kB / 0.5616 GB, free: 14.74 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00487/0.6995, allocations: 2.62 MB / 0.5641 GB, free: 12.11 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.6e-07/0.6995, allocations: 2.25 kB / 0.5641 GB, free: 12.11 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004944/0.7045, allocations: 0.918 MB / 0.565 GB, free: 11.19 MB / 462.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.0005231/0.705, allocations: 178.9 kB / 0.5652 GB, free: 11.02 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007905/0.7129, allocations: 4.645 MB / 0.5697 GB, free: 6.742 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.086e-06/0.713, allocations: 0 / 0.5697 GB, free: 6.742 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00224/0.7152, allocations: 1.353 MB / 0.571 GB, free: 5.398 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002508/0.7177, allocations: 388.5 kB / 0.5714 GB, free: 5.016 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01758/0.7353, allocations: 9.96 MB / 0.5811 GB, free: 11.02 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00382/0.7392, allocations: 3.191 MB / 0.5843 GB, free: 7.801 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004429/0.7436, allocations: 1.849 MB / 0.5861 GB, free: 5.941 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007057/0.7444, allocations: 255.3 kB / 0.5863 GB, free: 5.691 MB / 478.1 MB Notification: Performance of SimCode: time 6.42e-07/0.7444, allocations: 0 / 0.5863 GB, free: 5.691 MB / 478.1 MB Notification: Performance of Templates: time 0.2268/0.9711, allocations: 33.41 MB / 0.6189 GB, free: 165.2 MB / 478.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile (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) 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","../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches