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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.002023/0.002023, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 222.9 MB / 240.9 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 111.3 kB / 291.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009532/0.0009533, allocations: 35.94 kB / 350 MB, free: 68 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2541, allocations: 49.44 MB / 399.5 MB, free: 33.35 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.03708/0.2913, allocations: 49.58 MB / 449.1 MB, free: 15.59 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02362/0.315, allocations: 10.24 MB / 459.3 MB, free: 5.309 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01215/0.3271, allocations: 211.5 kB / 459.5 MB, free: 5.102 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005352/0.3326, allocations: 2.684 MB / 462.2 MB, free: 2.41 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005455/0.3381, allocations: 1.693 MB / 463.9 MB, free: 0.7109 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001653/0.3397, allocations: 0.5187 MB / 464.4 MB, free: 196 kB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006956/0.3467, allocations: 5.281 MB / 469.7 MB, free: 10.9 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004829/0.3516, allocations: 3.598 MB / 473.3 MB, free: 7.238 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00251/0.3541, allocations: 1.3 MB / 474.6 MB, free: 5.934 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003443/0.3576, allocations: 2.146 MB / 476.7 MB, free: 3.781 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008439/0.3585, allocations: 228 kB / 476.9 MB, free: 3.559 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002397/0.3609, allocations: 1.037 MB / 478 MB, free: 2.52 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00205/0.3629, allocations: 1.761 MB / 479.7 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00289/0.3658, allocations: 2.05 MB / 481.8 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007902/0.3738, allocations: 6.51 MB / 488.3 MB, free: 8.16 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.3738, allocations: 0 / 488.3 MB, free: 8.16 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3738, allocations: 0 / 488.3 MB, free: 8.16 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002041/0.374, allocations: 0 / 488.3 MB, free: 8.16 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.01845/0.3925, allocations: 5.103 MB / 493.4 MB, free: 2.992 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.3926, allocations: 12.03 kB / 493.4 MB, free: 2.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007397/0.4, allocations: 1.851 MB / 495.3 MB, free: 1.121 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006451/0.4065, allocations: 2.24 MB / 497.5 MB, free: 14.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002265/0.4067, allocations: 225.8 kB / 497.7 MB, free: 14.6 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001243/0.408, allocations: 303.8 kB / 498 MB, free: 14.3 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02013/0.4281, allocations: 10.21 MB / 0.4963 GB, free: 3.414 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001963/0.4284, allocations: 47.53 kB / 0.4964 GB, free: 3.367 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009277/0.4293, allocations: 147.9 kB / 0.4965 GB, free: 3.223 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004138/0.4335, allocations: 1.868 MB / 0.4983 GB, free: 1.348 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2226/0.6561, allocations: 9.114 MB / 0.5072 GB, free: 95.03 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04/0.6962, allocations: 38.29 MB / 0.5446 GB, free: 58.3 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01143/0.7077, allocations: 3.591 MB / 0.5481 GB, free: 54.56 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001696/0.7094, allocations: 1.675 MB / 0.5498 GB, free: 52.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004598/0.7099, allocations: 358.5 kB / 0.5501 GB, free: 52.48 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.7099, allocations: 47.06 kB / 0.5502 GB, free: 52.43 MB / 378.7 MB Notification: Performance of pre-optimization done (n=127): time 3.777e-06/0.7099, allocations: 0 / 0.5502 GB, free: 52.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=133): time 0.0355/0.7454, allocations: 12.73 MB / 0.5626 GB, free: 39.58 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.7455, allocations: 137.2 kB / 0.5627 GB, free: 39.42 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003952/0.7495, allocations: 4.064 MB / 0.5667 GB, free: 35.32 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001892/0.7497, allocations: 41.7 kB / 0.5667 GB, free: 35.28 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001224/0.7509, allocations: 3.059 MB / 0.5697 GB, free: 32.22 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004105/0.7513, allocations: 0.5388 MB / 0.5702 GB, free: 31.69 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001069/0.7524, allocations: 1.177 MB / 0.5714 GB, free: 30.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.847e-05/0.7525, allocations: 305.1 kB / 0.5717 GB, free: 30.2 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002099/0.7546, allocations: 1.959 MB / 0.5736 GB, free: 28.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003253/0.7579, allocations: 5.684 MB / 0.5792 GB, free: 20.68 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006604/0.7645, allocations: 8.285 MB / 0.5872 GB, free: 10.54 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.69e-05/0.7646, allocations: 43.94 kB / 0.5873 GB, free: 10.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=741) (initialization): time 0.01345/0.7781, allocations: 8.103 MB / 0.5952 GB, free: 2.387 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.748e-05/0.7782, allocations: 60.22 kB / 0.5953 GB, free: 2.328 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.77e-05/0.7783, allocations: 136 kB / 0.5954 GB, free: 2.195 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002243/0.7805, allocations: 0.9049 MB / 0.5963 GB, free: 1.289 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003612/0.7842, allocations: 1.322 MB / 0.5976 GB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006306/0.7905, allocations: 4.866 MB / 0.6023 GB, free: 10.97 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004084/0.7946, allocations: 303.7 kB / 0.6026 GB, free: 10.67 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007378/0.7954, allocations: 372 kB / 0.603 GB, free: 10.31 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.003142/0.7985, allocations: 2.021 MB / 0.6049 GB, free: 8.277 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006603/0.7992, allocations: 331.6 kB / 0.6052 GB, free: 7.949 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005311/0.8045, allocations: 2.763 MB / 0.6079 GB, free: 5.168 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.95e-05/0.8046, allocations: 15.94 kB / 0.608 GB, free: 5.152 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/0.8046, allocations: 4 kB / 0.608 GB, free: 5.148 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.641e-05/0.8046, allocations: 15.91 kB / 0.608 GB, free: 5.133 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01285/0.8174, allocations: 7.126 MB / 0.6149 GB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/0.8175, allocations: 3.938 kB / 0.6149 GB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001/0.8185, allocations: 215.6 kB / 0.6151 GB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002178/0.8207, allocations: 0.7148 MB / 0.6158 GB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001258/0.8208, allocations: 37.86 kB / 0.6159 GB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005807/0.8267, allocations: 4.411 MB / 0.6202 GB, free: 8.438 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.8267, allocations: 7.969 kB / 0.6202 GB, free: 8.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0452/0.8719, allocations: 25.21 MB / 0.6448 GB, free: 14.88 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006084/0.8725, allocations: 388.6 kB / 0.6452 GB, free: 14.48 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003368/0.8729, allocations: 24 kB / 0.6452 GB, free: 14.46 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/0.874, allocations: 75.84 kB / 0.6453 GB, free: 14.38 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002649/0.8743, allocations: 88.89 kB / 0.6454 GB, free: 14.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001048/0.8744, allocations: 48.05 kB / 0.6454 GB, free: 14.25 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003559/0.878, allocations: 2.541 MB / 0.6479 GB, free: 11.7 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.878, allocations: 0 / 0.6479 GB, free: 11.7 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004965/0.8829, allocations: 1.186 MB / 0.6491 GB, free: 10.51 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.0004235/0.8834, allocations: 149.8 kB / 0.6492 GB, free: 10.36 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007089/0.8905, allocations: 4.679 MB / 0.6538 GB, free: 5.699 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.8905, allocations: 0 / 0.6538 GB, free: 5.699 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001729/0.8922, allocations: 1.352 MB / 0.6551 GB, free: 4.332 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002356/0.8946, allocations: 411.2 kB / 0.6555 GB, free: 3.93 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.207/1.102, allocations: 11.36 MB / 0.6666 GB, free: 143.4 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009212/1.111, allocations: 3.149 MB / 0.6696 GB, free: 142.6 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004866/1.116, allocations: 1.838 MB / 0.6714 GB, free: 142.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000661/1.116, allocations: 257.9 kB / 0.6717 GB, free: 142.5 MB / 442.7 MB Notification: Performance of SimCode: time 1.182e-06/1.116, allocations: 0 / 0.6717 GB, free: 142.5 MB / 442.7 MB Notification: Performance of Templates: time 0.06639/1.183, allocations: 38.85 MB / 0.7096 GB, free: 110.1 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@2/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