Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008715/0.0008716, allocations: 184.1 kB / 16.71 MB, free: 4.969 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.242/1.242, allocations: 225.7 MB / 243.2 MB, free: 8.441 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007229/0.0007229, allocations: 98.17 kB / 294.4 MB, free: 9.48 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002433/0.0002433, allocations: 11.94 kB / 354.2 MB, free: 13.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2166/0.2168, allocations: 50.41 MB / 404.6 MB, free: 31.3 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.03208/0.249, allocations: 45.1 MB / 449.7 MB, free: 2.07 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0228/0.2718, allocations: 12.76 MB / 462.4 MB, free: 4.645 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007395/0.2792, allocations: 211.5 kB / 462.7 MB, free: 4.438 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001457/0.2808, allocations: 409.9 kB / 463.1 MB, free: 4.035 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004484/0.2853, allocations: 1.693 MB / 464.7 MB, free: 2.336 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001287/0.2866, allocations: 0.5188 MB / 465.3 MB, free: 1.816 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006095/0.2927, allocations: 5.268 MB / 470.5 MB, free: 12.54 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006834/0.2995, allocations: 5.91 MB / 476.4 MB, free: 6.297 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002166/0.3017, allocations: 1.179 MB / 477.6 MB, free: 5.113 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003095/0.3049, allocations: 1.849 MB / 479.5 MB, free: 3.258 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000917/0.3058, allocations: 132 kB / 479.6 MB, free: 3.129 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002491/0.3083, allocations: 0.9047 MB / 480.5 MB, free: 2.223 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001965/0.3103, allocations: 1.616 MB / 482.1 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002924/0.3132, allocations: 1.888 MB / 484 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007317/0.3206, allocations: 6.321 MB / 490.3 MB, free: 8.352 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.3206, allocations: 0 / 490.3 MB, free: 8.352 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3206, allocations: 0 / 490.3 MB, free: 8.352 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002662/0.3209, allocations: 0 / 490.3 MB, free: 8.352 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.01425/0.3352, allocations: 4.225 MB / 494.6 MB, free: 4.062 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.3352, allocations: 8.031 kB / 494.6 MB, free: 4.055 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006459/0.3417, allocations: 1.902 MB / 496.5 MB, free: 2.145 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005148/0.3469, allocations: 2.244 MB / 498.7 MB, free: 15.84 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002378/0.3471, allocations: 221.8 kB / 498.9 MB, free: 15.62 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001238/0.3484, allocations: 299.8 kB / 499.2 MB, free: 15.33 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02069/0.3691, allocations: 10.21 MB / 0.4975 GB, free: 4.438 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001868/0.3693, allocations: 47.59 kB / 0.4975 GB, free: 4.391 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009813/0.3703, allocations: 143.9 kB / 0.4977 GB, free: 4.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00309/0.3734, allocations: 1.872 MB / 0.4995 GB, free: 2.375 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2083/0.5818, allocations: 9.097 MB / 0.5084 GB, free: 93.24 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0328/0.6146, allocations: 38.26 MB / 0.5457 GB, free: 58.07 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01001/0.6247, allocations: 3.596 MB / 0.5493 GB, free: 54.32 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001734/0.6264, allocations: 1.684 MB / 0.5509 GB, free: 52.63 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004078/0.6268, allocations: 359.1 kB / 0.5512 GB, free: 52.23 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.6269, allocations: 51.06 kB / 0.5513 GB, free: 52.17 MB / 378.7 MB Notification: Performance of pre-optimization done (n=127): time 2.946e-06/0.6269, allocations: 0 / 0.5513 GB, free: 52.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=133): time 0.03423/0.6611, allocations: 12.74 MB / 0.5637 GB, free: 39.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/0.6612, allocations: 137.2 kB / 0.5639 GB, free: 39.15 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003798/0.665, allocations: 4.029 MB / 0.5678 GB, free: 35.09 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001209/0.6651, allocations: 51.89 kB / 0.5678 GB, free: 35.04 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001192/0.6663, allocations: 3.054 MB / 0.5708 GB, free: 31.99 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003426/0.6667, allocations: 0.5434 MB / 0.5714 GB, free: 31.45 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001737/0.6669, allocations: 112 kB / 0.5715 GB, free: 31.34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002073/0.6671, allocations: 0.5379 MB / 0.572 GB, free: 30.79 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001997/0.6691, allocations: 1.955 MB / 0.5739 GB, free: 28.83 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003123/0.6722, allocations: 5.665 MB / 0.5794 GB, free: 21.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005802/0.678, allocations: 8.278 MB / 0.5875 GB, free: 11.17 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.063e-05/0.6781, allocations: 39.94 kB / 0.5876 GB, free: 11.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=741) (initialization): time 0.009862/0.688, allocations: 8.065 MB / 0.5954 GB, free: 3.051 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.053e-05/0.6881, allocations: 63.98 kB / 0.5955 GB, free: 2.988 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.817e-05/0.6881, allocations: 132 kB / 0.5956 GB, free: 2.859 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001977/0.6901, allocations: 0.9028 MB / 0.5965 GB, free: 1.953 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002976/0.6931, allocations: 1.326 MB / 0.5978 GB, free: 0.625 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0057/0.6988, allocations: 4.866 MB / 0.6025 GB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004028/0.7029, allocations: 303.6 kB / 0.6028 GB, free: 11.33 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004649/0.7033, allocations: 372.9 kB / 0.6032 GB, free: 10.96 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.003156/0.7065, allocations: 2.018 MB / 0.6052 GB, free: 8.934 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004914/0.707, allocations: 331.6 kB / 0.6055 GB, free: 8.605 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004793/0.7118, allocations: 2.778 MB / 0.6082 GB, free: 5.809 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.227e-05/0.7118, allocations: 16.78 kB / 0.6082 GB, free: 5.793 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.7119, allocations: 4 kB / 0.6082 GB, free: 5.789 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.441e-05/0.7119, allocations: 7.922 kB / 0.6082 GB, free: 5.781 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01041/0.7223, allocations: 7.133 MB / 0.6152 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.034e-05/0.7223, allocations: 4 kB / 0.6152 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009326/0.7233, allocations: 223.7 kB / 0.6154 GB, free: 14.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00191/0.7252, allocations: 0.7173 MB / 0.6161 GB, free: 13.65 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001008/0.7253, allocations: 31.92 kB / 0.6161 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005135/0.7304, allocations: 4.412 MB / 0.6204 GB, free: 9.082 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.7305, allocations: 3.984 kB / 0.6204 GB, free: 9.078 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006859/0.7373, allocations: 5.103 MB / 0.6254 GB, free: 3.934 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008435/0.7382, allocations: 396.7 kB / 0.6258 GB, free: 3.523 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003/0.7385, allocations: 24 kB / 0.6258 GB, free: 3.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001064/0.7396, allocations: 75.73 kB / 0.6259 GB, free: 3.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002587/0.7398, allocations: 88.47 kB / 0.626 GB, free: 3.344 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001086/0.7399, allocations: 47.97 kB / 0.626 GB, free: 3.297 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003434/0.7434, allocations: 2.51 MB / 0.6285 GB, free: 0.7734 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.7434, allocations: 3.938 kB / 0.6285 GB, free: 0.7695 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003658/0.7471, allocations: 0.9115 MB / 0.6294 GB, free: 15.86 MB / 426.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.000322/0.7474, allocations: 161.3 kB / 0.6295 GB, free: 15.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006401/0.7538, allocations: 4.66 MB / 0.6341 GB, free: 11.06 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.7538, allocations: 0 / 0.6341 GB, free: 11.06 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00169/0.7555, allocations: 1.353 MB / 0.6354 GB, free: 9.691 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002794/0.7583, allocations: 412 kB / 0.6358 GB, free: 9.289 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01373/0.7721, allocations: 10.42 MB / 0.646 GB, free: 14.82 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002892/0.775, allocations: 3.101 MB / 0.649 GB, free: 11.69 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004604/0.7796, allocations: 1.834 MB / 0.6508 GB, free: 9.848 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006824/0.7803, allocations: 251.3 kB / 0.651 GB, free: 9.602 MB / 442.7 MB Notification: Performance of SimCode: time 4.118e-06/0.7803, allocations: 4 kB / 0.651 GB, free: 9.598 MB / 442.7 MB Notification: Performance of Templates: time 0.232/1.012, allocations: 33.46 MB / 0.6837 GB, free: 133.7 MB / 442.7 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