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.001702/0.001702, allocations: 118.2 kB / 17.79 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00185/0.00185, allocations: 201.2 kB / 18.73 MB, free: 4.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 63.89 kB / 358.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2903, allocations: 50.54 MB / 409.2 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01142/0.3018, allocations: 10.98 MB / 420.2 MB, free: 6.574 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008018/0.3098, allocations: 3.82 MB / 424 MB, free: 2.742 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001828/0.3117, allocations: 63.81 kB / 424.1 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004941/0.3167, allocations: 2.683 MB / 426.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004612/0.3213, allocations: 1.786 MB / 428.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001527/0.3228, allocations: 0.5771 MB / 429.2 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004733/0.3276, allocations: 3.586 MB / 432.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004497/0.3321, allocations: 3.592 MB / 436.3 MB, free: 6.363 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00212/0.3342, allocations: 1.448 MB / 437.8 MB, free: 4.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002151/0.3364, allocations: 1.994 MB / 439.8 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004978/0.3369, allocations: 312 kB / 440.1 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001665/0.3386, allocations: 1.034 MB / 441.1 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001465/0.3401, allocations: 1.8 MB / 442.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001864/0.342, allocations: 2.082 MB / 445 MB, free: 13.67 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006491/0.3485, allocations: 6.654 MB / 451.6 MB, free: 6.996 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.3485, allocations: 0 / 451.6 MB, free: 6.996 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3485, allocations: 0 / 451.6 MB, free: 6.996 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001355/0.3486, allocations: 0 / 451.6 MB, free: 6.996 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: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.01538/0.364, allocations: 5.043 MB / 456.7 MB, free: 1.887 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.57e-05/0.3641, allocations: 12.03 kB / 456.7 MB, free: 1.875 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00603/0.3701, allocations: 1.855 MB / 458.6 MB, free: 12 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003835/0.374, allocations: 2.236 MB / 460.8 MB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001494/0.3742, allocations: 225.7 kB / 461 MB, free: 13.49 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005395/0.3747, allocations: 299.8 kB / 461.3 MB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01506/0.3898, allocations: 10.02 MB / 471.3 MB, free: 2.496 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.314e-05/0.3899, allocations: 43.58 kB / 471.4 MB, free: 2.453 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003809/0.3903, allocations: 147.9 kB / 471.5 MB, free: 2.309 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002837/0.3931, allocations: 1.805 MB / 473.3 MB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01667/0.4098, allocations: 8.959 MB / 482.3 MB, free: 7.535 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04053/0.4504, allocations: 37.74 MB / 0.5078 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0123/0.4627, allocations: 3.588 MB / 0.5113 GB, free: 12.97 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002074/0.4648, allocations: 1.684 MB / 0.513 GB, free: 11.28 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005126/0.4653, allocations: 355.7 kB / 0.5133 GB, free: 10.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.4654, allocations: 51 kB / 0.5134 GB, free: 10.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 3.166e-06/0.4654, allocations: 0 / 0.5134 GB, free: 10.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=133): time 0.03791/0.5033, allocations: 12.67 MB / 0.5257 GB, free: 14.03 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.315e-05/0.5034, allocations: 141.2 kB / 0.5259 GB, free: 13.86 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004946/0.5083, allocations: 4.048 MB / 0.5298 GB, free: 9.781 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001076/0.5085, allocations: 41.7 kB / 0.5299 GB, free: 9.734 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001805/0.5103, allocations: 3.008 MB / 0.5328 GB, free: 6.684 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004734/0.5108, allocations: 0.5403 MB / 0.5333 GB, free: 6.137 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00136/0.5121, allocations: 1.17 MB / 0.5345 GB, free: 4.953 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.5122, allocations: 309.2 kB / 0.5348 GB, free: 4.648 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002637/0.5149, allocations: 1.963 MB / 0.5367 GB, free: 2.68 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2329/0.7478, allocations: 5.655 MB / 0.5422 GB, free: 118.3 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00821/0.756, allocations: 8.261 MB / 0.5503 GB, free: 111.7 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.094e-05/0.7561, allocations: 41.91 kB / 0.5503 GB, free: 111.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=738) (initialization): time 0.01075/0.7669, allocations: 8.077 MB / 0.5582 GB, free: 109 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.786e-05/0.767, allocations: 58.53 kB / 0.5583 GB, free: 109 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001099/0.7671, allocations: 137.7 kB / 0.5584 GB, free: 109 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002083/0.7692, allocations: 0.9061 MB / 0.5593 GB, free: 108.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003132/0.7723, allocations: 1.318 MB / 0.5606 GB, free: 108.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005236/0.7776, allocations: 5.192 MB / 0.5656 GB, free: 104.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003222/0.7808, allocations: 311.7 kB / 0.5659 GB, free: 104.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000346/0.7812, allocations: 367 kB / 0.5663 GB, free: 104.2 MB / 462.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.002158/0.7833, allocations: 1.984 MB / 0.5682 GB, free: 102.4 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003638/0.7837, allocations: 335.3 kB / 0.5685 GB, free: 102.3 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004095/0.7878, allocations: 2.762 MB / 0.5712 GB, free: 100.1 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.81e-05/0.7878, allocations: 19.83 kB / 0.5712 GB, free: 100.1 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.7879, allocations: 4 kB / 0.5713 GB, free: 100.1 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/0.7879, allocations: 7.969 kB / 0.5713 GB, free: 100.1 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008966/0.7969, allocations: 7.06 MB / 0.5782 GB, free: 93 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.7969, allocations: 0 / 0.5782 GB, free: 93 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009165/0.7978, allocations: 215.6 kB / 0.5784 GB, free: 92.79 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001833/0.7996, allocations: 0.7105 MB / 0.5791 GB, free: 92.07 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.485e-05/0.7997, allocations: 35.97 kB / 0.5791 GB, free: 92.04 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004587/0.8043, allocations: 4.751 MB / 0.5837 GB, free: 87.2 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.8044, allocations: 0 / 0.5837 GB, free: 87.2 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005859/0.8102, allocations: 5.092 MB / 0.5887 GB, free: 82.2 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006478/0.8109, allocations: 392.6 kB / 0.5891 GB, free: 81.79 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002815/0.8112, allocations: 20 kB / 0.5891 GB, free: 81.77 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001064/0.8122, allocations: 71.91 kB / 0.5892 GB, free: 81.7 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002253/0.8125, allocations: 88.47 kB / 0.5892 GB, free: 81.61 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001015/0.8126, allocations: 47.97 kB / 0.5893 GB, free: 81.57 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002765/0.8154, allocations: 2.533 MB / 0.5918 GB, free: 79.02 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8154, allocations: 0 / 0.5918 GB, free: 79.02 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003974/0.8194, allocations: 0.8919 MB / 0.5926 GB, free: 78.13 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 (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.0003037/0.8197, allocations: 152.8 kB / 0.5928 GB, free: 77.98 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005679/0.8254, allocations: 4.675 MB / 0.5973 GB, free: 73.33 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.8254, allocations: 4 kB / 0.5974 GB, free: 73.33 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001417/0.8268, allocations: 1.341 MB / 0.5987 GB, free: 71.98 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00205/0.8289, allocations: 438.8 kB / 0.5991 GB, free: 71.55 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01061/0.8395, allocations: 8.306 MB / 0.6072 GB, free: 63.22 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002236/0.8418, allocations: 3.06 MB / 0.6102 GB, free: 60.13 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00328/0.845, allocations: 1.846 MB / 0.612 GB, free: 58.28 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005183/0.8456, allocations: 255.3 kB / 0.6122 GB, free: 58.03 MB / 462.1 MB Notification: Performance of SimCode: time 7.02e-07/0.8456, allocations: 0 / 0.6122 GB, free: 58.03 MB / 462.1 MB Notification: Performance of Templates: time 0.05014/0.8957, allocations: 31.7 MB / 0.6432 GB, free: 26.52 MB / 462.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches