Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|position1.w|position2.w|r1.phi|r2.phi|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|position1.w|position2.w|r1.phi|r2.phi|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001046/0.001046, allocations: 175.2 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.457/1.457, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007677/0.0007677, allocations: 96.86 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003148/0.000315, allocations: 8 kB / 327.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2396, allocations: 47.57 MB / 375.1 MB, free: 45.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.04328/0.283, allocations: 60.08 MB / 435.2 MB, free: 4.488 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03224/0.3153, allocations: 12.42 MB / 447.6 MB, free: 8.02 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01517/0.3305, allocations: 283.3 kB / 447.9 MB, free: 7.742 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01106/0.3416, allocations: 3.118 MB / 451 MB, free: 4.609 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02597/0.3676, allocations: 9.14 MB / 460.1 MB, free: 11.44 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004521/0.3721, allocations: 0.6436 MB / 460.8 MB, free: 10.79 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.00741/0.3796, allocations: 5.251 MB / 466 MB, free: 5.527 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009872/0.3895, allocations: 6.317 MB / 472.3 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003247/0.3928, allocations: 1.483 MB / 473.8 MB, free: 13.62 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003893/0.3967, allocations: 2.305 MB / 476.1 MB, free: 11.31 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0012/0.398, allocations: 172 kB / 476.3 MB, free: 11.14 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002744/0.4007, allocations: 0.936 MB / 477.2 MB, free: 10.21 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002966/0.4037, allocations: 1.995 MB / 479.2 MB, free: 8.207 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003746/0.4075, allocations: 2.277 MB / 481.5 MB, free: 5.91 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008256/0.4158, allocations: 6.632 MB / 488.1 MB, free: 15.26 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.4158, allocations: 0 / 488.1 MB, free: 15.26 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.567e-06/0.4158, allocations: 0 / 488.1 MB, free: 15.26 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003872/0.4162, allocations: 0 / 488.1 MB, free: 15.26 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1851 * Number of variables: 1851 Notification: Performance of Generate backend data structure: time 0.01787/0.4341, allocations: 5.293 MB / 493.4 MB, free: 9.898 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.4342, allocations: 8.031 kB / 493.4 MB, free: 9.891 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007125/0.4413, allocations: 2.037 MB / 495.5 MB, free: 7.844 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005866/0.4472, allocations: 2.765 MB / 498.2 MB, free: 5.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002907/0.4476, allocations: 299.7 kB / 498.5 MB, free: 4.727 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001516/0.4491, allocations: 411.7 kB / 498.9 MB, free: 4.324 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1896/0.6387, allocations: 12.86 MB / 0.4998 GB, free: 105.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003469/0.6391, allocations: 48.19 kB / 0.4998 GB, free: 105.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001378/0.6405, allocations: 187.6 kB / 0.5 GB, free: 105.4 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004308/0.6448, allocations: 2.373 MB / 0.5023 GB, free: 104.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02146/0.6663, allocations: 11.72 MB / 0.5138 GB, free: 96.12 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05508/0.7215, allocations: 48.63 MB / 0.5613 GB, free: 46.88 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01587/0.7374, allocations: 5.571 MB / 0.5667 GB, free: 41.16 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004043/0.7415, allocations: 3.478 MB / 0.5701 GB, free: 37.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006868/0.7422, allocations: 385.2 kB / 0.5705 GB, free: 37.26 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.436e-05/0.7423, allocations: 59.81 kB / 0.5705 GB, free: 37.19 MB / 378.7 MB Notification: Performance of pre-optimization done (n=221): time 5.481e-06/0.7423, allocations: 0 / 0.5705 GB, free: 37.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=252): time 0.07273/0.815, allocations: 27.96 MB / 0.5978 GB, free: 9.109 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.473e-05/0.8151, allocations: 154.5 kB / 0.598 GB, free: 8.926 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005438/0.8206, allocations: 4.583 MB / 0.6025 GB, free: 4.328 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007353/0.8213, allocations: 61.7 kB / 0.6025 GB, free: 4.262 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001702/0.823, allocations: 3.581 MB / 0.606 GB, free: 0.6797 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001222/0.8243, allocations: 0.9491 MB / 0.6069 GB, free: 15.73 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004023/0.8247, allocations: 140 kB / 0.6071 GB, free: 15.6 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004699/0.8252, allocations: 0.5996 MB / 0.6077 GB, free: 14.99 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005322/0.8305, allocations: 3.434 MB / 0.611 GB, free: 11.55 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009045/0.8396, allocations: 7.505 MB / 0.6183 GB, free: 2.047 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01592/0.8555, allocations: 11.81 MB / 0.6299 GB, free: 4.234 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001164/0.8557, allocations: 40 kB / 0.6299 GB, free: 4.195 MB / 410.7 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.02424/0.8799, allocations: 11.85 MB / 0.6415 GB, free: 8.324 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002256/0.8802, allocations: 64 kB / 0.6415 GB, free: 8.262 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002861/0.8805, allocations: 144 kB / 0.6417 GB, free: 8.121 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003187/0.8837, allocations: 1.129 MB / 0.6428 GB, free: 6.988 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007234/0.891, allocations: 1.809 MB / 0.6446 GB, free: 5.176 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2248/1.116, allocations: 6.009 MB / 0.6504 GB, free: 135.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005881/1.122, allocations: 421.7 kB / 0.6508 GB, free: 135.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001183/1.123, allocations: 475.8 kB / 0.6513 GB, free: 135.6 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 651 * Number of states: 0 () * Number of discrete variables: 42 (fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[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 (875): * Single equations (assignments): 871 * 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.004222/1.127, allocations: 2.445 MB / 0.6537 GB, free: 135.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008622/1.128, allocations: 417.6 kB / 0.6541 GB, free: 135.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0109/1.139, allocations: 6.481 MB / 0.6604 GB, free: 133.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.569e-05/1.139, allocations: 27.47 kB / 0.6604 GB, free: 133.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.738e-05/1.139, allocations: 4.312 kB / 0.6604 GB, free: 133.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.162e-05/1.139, allocations: 16.69 kB / 0.6604 GB, free: 133.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02273/1.162, allocations: 13.61 MB / 0.6737 GB, free: 128.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.072e-05/1.162, allocations: 5.812 kB / 0.6737 GB, free: 128.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002658/1.165, allocations: 0.589 MB / 0.6743 GB, free: 128.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002267/1.167, allocations: 0.9456 MB / 0.6752 GB, free: 128.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000274/1.167, allocations: 95.81 kB / 0.6753 GB, free: 128.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005921/1.173, allocations: 5.726 MB / 0.6809 GB, free: 124.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/1.173, allocations: 6.781 kB / 0.6809 GB, free: 124.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01256/1.186, allocations: 10.92 MB / 0.6916 GB, free: 114.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00202/1.188, allocations: 0.9366 MB / 0.6925 GB, free: 113.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000581/1.188, allocations: 55.36 kB / 0.6926 GB, free: 113.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001954/1.19, allocations: 173 kB / 0.6927 GB, free: 113.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004424/1.191, allocations: 192.7 kB / 0.6929 GB, free: 113.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002231/1.191, allocations: 106.8 kB / 0.693 GB, free: 113 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00365/1.195, allocations: 2.878 MB / 0.6958 GB, free: 110.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.4e-07/1.195, allocations: 0 / 0.6958 GB, free: 110.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005029/1.2, allocations: 1.265 MB / 0.6971 GB, free: 108.9 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,position1.phi,position1.w,position2.phi,position2.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 (225): * Single equations (assignments): 221 * 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 Backend phase and start with SimCode phase: time 0.0004667/1.2, allocations: 191.3 kB / 0.6972 GB, free: 108.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009723/1.21, allocations: 8.103 MB / 0.7051 GB, free: 100.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/1.21, allocations: 2.438 kB / 0.7052 GB, free: 100.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003538/1.213, allocations: 3.164 MB / 0.7082 GB, free: 97.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005055/1.219, allocations: 0.4905 MB / 0.7087 GB, free: 97.03 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02057/1.239, allocations: 15.15 MB / 0.7235 GB, free: 81.94 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003496/1.243, allocations: 3.802 MB / 0.7272 GB, free: 78.11 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002237/1.245, allocations: 479 kB / 0.7277 GB, free: 77.64 MB / 426.7 MB Notification: Performance of SimCode: time 1.153e-06/1.245, allocations: 0 / 0.7277 GB, free: 77.64 MB / 426.7 MB Notification: Performance of Templates: time 0.2979/1.543, allocations: 97.46 MB / 0.8229 GB, free: 144.8 MB / 442.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/MovingActuatedDrive/MovingActuatedDrive.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches