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.001031/0.001031, allocations: 98.09 kB / 17 MB, free: 6.793 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001407/0.001407, allocations: 200 kB / 17.91 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.358/1.358, allocations: 227.7 MB / 246.4 MB, free: 11.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002101/0.0002101, allocations: 4 kB / 307.1 MB, free: 1.188 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08779/0.08801, allocations: 51.52 MB / 358.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.1879/0.2759, allocations: 41.37 MB / 400 MB, free: 12.47 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01988/0.2958, allocations: 9.017 MB / 409 MB, free: 6.344 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006709/0.3026, allocations: 196.3 kB / 409.2 MB, free: 6.312 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004871/0.3075, allocations: 2.141 MB / 411.4 MB, free: 4.836 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01466/0.3221, allocations: 6.31 MB / 417.7 MB, free: 224 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002009/0.3242, allocations: 0.4992 MB / 418.2 MB, free: 15.72 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004937/0.3291, allocations: 4.138 MB / 422.3 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005211/0.3343, allocations: 4.236 MB / 426.5 MB, free: 7.285 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001453/0.3358, allocations: 1.152 MB / 427.7 MB, free: 6.129 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002079/0.3379, allocations: 1.803 MB / 429.5 MB, free: 4.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002774/0.3382, allocations: 128 kB / 429.6 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001385/0.3396, allocations: 0.7684 MB / 430.4 MB, free: 3.426 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001276/0.3409, allocations: 1.543 MB / 431.9 MB, free: 1.879 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006414/0.3415, allocations: 0.7688 MB / 432.7 MB, free: 1.102 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004311/0.3458, allocations: 5.113 MB / 437.8 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3459, allocations: 7.875 kB / 437.8 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.3459, allocations: 3.984 kB / 437.8 MB, free: 11.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.487e-05/0.346, allocations: 0 / 437.8 MB, free: 11.96 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: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.01223/0.3582, allocations: 4.209 MB / 442 MB, free: 7.691 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.3582, allocations: 8.031 kB / 442 MB, free: 7.684 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005884/0.3641, allocations: 1.909 MB / 443.9 MB, free: 5.766 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003273/0.3674, allocations: 2.151 MB / 446.1 MB, free: 3.555 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001573/0.3676, allocations: 225.7 kB / 446.3 MB, free: 3.332 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004981/0.3681, allocations: 303.8 kB / 446.6 MB, free: 3.035 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01495/0.3831, allocations: 10.01 MB / 456.6 MB, free: 8.34 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.039e-05/0.3832, allocations: 43.53 kB / 456.7 MB, free: 8.297 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003833/0.3836, allocations: 143.9 kB / 456.8 MB, free: 8.156 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002888/0.3865, allocations: 1.805 MB / 458.6 MB, free: 6.348 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01577/0.4022, allocations: 8.939 MB / 467.6 MB, free: 13.4 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03958/0.4418, allocations: 37.84 MB / 0.4935 GB, free: 6.477 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01117/0.4531, allocations: 3.582 MB / 0.497 GB, free: 2.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002011/0.4551, allocations: 1.683 MB / 0.4987 GB, free: 1.059 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004941/0.4556, allocations: 359.7 kB / 0.499 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.892e-05/0.4557, allocations: 43.06 kB / 0.4991 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of pre-optimization done (n=127): time 3.226e-06/0.4557, allocations: 0 / 0.4991 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of matching and sorting (n=133): time 0.03585/0.4915, allocations: 12.68 MB / 0.5115 GB, free: 3.797 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.274e-05/0.4916, allocations: 141.2 kB / 0.5116 GB, free: 3.629 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005067/0.4967, allocations: 4.025 MB / 0.5155 GB, free: 15.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001404/0.4969, allocations: 41.7 kB / 0.5156 GB, free: 15.53 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002053/0.4989, allocations: 3.012 MB / 0.5185 GB, free: 12.47 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005444/0.4995, allocations: 0.5481 MB / 0.519 GB, free: 11.92 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002258/0.4997, allocations: 112 kB / 0.5191 GB, free: 11.81 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003097/0.5, allocations: 0.5378 MB / 0.5197 GB, free: 11.26 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002867/0.5029, allocations: 1.951 MB / 0.5216 GB, free: 9.305 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005349/0.5083, allocations: 5.638 MB / 0.5271 GB, free: 1.805 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2113/0.7196, allocations: 3.228 MB / 0.5302 GB, free: 140.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.731e-05/0.7198, allocations: 37.47 kB / 0.5303 GB, free: 140.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=738) (initialization): time 0.0148/0.7346, allocations: 8.041 MB / 0.5381 GB, free: 138.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.995e-05/0.7347, allocations: 63.64 kB / 0.5382 GB, free: 138.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001977/0.7349, allocations: 131.5 kB / 0.5383 GB, free: 138.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002451/0.7374, allocations: 0.9325 MB / 0.5392 GB, free: 138.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004115/0.7415, allocations: 1.316 MB / 0.5405 GB, free: 138.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006403/0.7479, allocations: 4.858 MB / 0.5452 GB, free: 135.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004443/0.7524, allocations: 309.2 kB / 0.5455 GB, free: 135.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006729/0.7531, allocations: 369 kB / 0.5459 GB, free: 135.8 MB / 446.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 (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.00316/0.7562, allocations: 1.989 MB / 0.5478 GB, free: 134.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000557/0.7568, allocations: 329 kB / 0.5482 GB, free: 134.9 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004409/0.7612, allocations: 2.768 MB / 0.5509 GB, free: 134 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.377e-05/0.7612, allocations: 15.31 kB / 0.5509 GB, free: 134 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.7613, allocations: 7.875 kB / 0.5509 GB, free: 134 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.366e-05/0.7613, allocations: 8.297 kB / 0.5509 GB, free: 134 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009496/0.7708, allocations: 7.094 MB / 0.5578 GB, free: 131.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/0.7708, allocations: 3.844 kB / 0.5578 GB, free: 131.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008914/0.7717, allocations: 220 kB / 0.558 GB, free: 131.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001738/0.7735, allocations: 0.712 MB / 0.5587 GB, free: 131.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001022/0.7736, allocations: 29.92 kB / 0.5588 GB, free: 131.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004564/0.7782, allocations: 4.419 MB / 0.5631 GB, free: 127.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.7782, allocations: 3.938 kB / 0.5631 GB, free: 127.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005918/0.7841, allocations: 5.085 MB / 0.568 GB, free: 122.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007856/0.7849, allocations: 404.5 kB / 0.5684 GB, free: 122 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003184/0.7852, allocations: 24.7 kB / 0.5684 GB, free: 122 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/0.7863, allocations: 77.11 kB / 0.5685 GB, free: 121.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002051/0.7865, allocations: 83.38 kB / 0.5686 GB, free: 121.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.915e-05/0.7866, allocations: 48.86 kB / 0.5686 GB, free: 121.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00295/0.7896, allocations: 2.51 MB / 0.5711 GB, free: 119.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7896, allocations: 0 / 0.5711 GB, free: 119.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004128/0.7937, allocations: 0.8859 MB / 0.572 GB, free: 118.4 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.0003458/0.7941, allocations: 158.8 kB / 0.5721 GB, free: 118.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00597/0.8, allocations: 4.646 MB / 0.5766 GB, free: 113.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.8001, allocations: 0 / 0.5766 GB, free: 113.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001463/0.8015, allocations: 1.342 MB / 0.578 GB, free: 112.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002107/0.8036, allocations: 422.1 kB / 0.5784 GB, free: 111.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01197/0.8156, allocations: 9.86 MB / 0.588 GB, free: 101.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00246/0.8181, allocations: 3.061 MB / 0.591 GB, free: 98.84 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004053/0.8222, allocations: 1.842 MB / 0.5928 GB, free: 96.99 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005422/0.8227, allocations: 251.3 kB / 0.593 GB, free: 96.75 MB / 446.1 MB Notification: Performance of SimCode: time 6.81e-07/0.8228, allocations: 0 / 0.593 GB, free: 96.75 MB / 446.1 MB Notification: Performance of Templates: time 0.04977/0.8725, allocations: 32.51 MB / 0.6248 GB, free: 64.39 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","/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