Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.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.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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008302/0.0008302, allocations: 97.91 kB / 18.01 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001041/0.001041, allocations: 201.5 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 227.7 MB / 247.5 MB, free: 9.469 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000254/0.0002541, allocations: 4 kB / 308.4 MB, free: 0.5625 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.101, allocations: 51.53 MB / 359.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.2579/0.3589, allocations: 60 MB / 419.9 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03185/0.3908, allocations: 12.14 MB / 432.1 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01591/0.4068, allocations: 267.4 kB / 432.3 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002156/0.409, allocations: 493.4 kB / 432.8 MB, free: 1.801 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006474/0.4155, allocations: 1.853 MB / 434.7 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002053/0.4176, allocations: 0.6281 MB / 435.3 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008228/0.4258, allocations: 6.21 MB / 441.5 MB, free: 9.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01036/0.4362, allocations: 6.448 MB / 447.9 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002872/0.4391, allocations: 1.299 MB / 449.2 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003747/0.4429, allocations: 2.199 MB / 451.4 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009845/0.4439, allocations: 160 kB / 451.6 MB, free: 14.89 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002571/0.4465, allocations: 0.9437 MB / 452.5 MB, free: 13.95 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002577/0.4491, allocations: 1.897 MB / 454.4 MB, free: 12.04 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003829/0.4529, allocations: 2.264 MB / 456.7 MB, free: 9.758 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00747/0.4604, allocations: 6.223 MB / 462.9 MB, free: 3.52 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.4605, allocations: 0 / 462.9 MB, free: 3.52 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.4605, allocations: 0 / 462.9 MB, free: 3.52 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003418/0.4608, allocations: 0 / 462.9 MB, free: 3.52 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: 1736 * Number of variables: 1736 Notification: Performance of Generate backend data structure: time 0.01933/0.4802, allocations: 5.1 MB / 468 MB, free: 14.35 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.409e-05/0.4802, allocations: 16.03 kB / 468 MB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007792/0.488, allocations: 2.022 MB / 470.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005901/0.494, allocations: 2.616 MB / 472.7 MB, free: 9.629 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000315/0.4943, allocations: 287.5 kB / 473 MB, free: 9.348 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001569/0.4959, allocations: 387.8 kB / 473.3 MB, free: 8.969 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02713/0.523, allocations: 12.2 MB / 485.5 MB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002376/0.5233, allocations: 51.48 kB / 485.6 MB, free: 11.97 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001409/0.5248, allocations: 183.8 kB / 485.8 MB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004459/0.5292, allocations: 2.19 MB / 488 MB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02437/0.5536, allocations: 11.17 MB / 499.1 MB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2585/0.8122, allocations: 46.58 MB / 0.5329 GB, free: 135.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01858/0.8308, allocations: 5.358 MB / 0.5381 GB, free: 134.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004581/0.8354, allocations: 3.32 MB / 0.5414 GB, free: 134.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006942/0.8361, allocations: 373 kB / 0.5417 GB, free: 134.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.054e-05/0.8363, allocations: 56.58 kB / 0.5418 GB, free: 134.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=200): time 7.704e-06/0.8363, allocations: 5.156 kB / 0.5418 GB, free: 134.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=231): time 0.07234/0.9086, allocations: 26.79 MB / 0.568 GB, free: 125.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.354e-05/0.9087, allocations: 165 kB / 0.5681 GB, free: 125.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006566/0.9153, allocations: 4.482 MB / 0.5725 GB, free: 121.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000598/0.9159, allocations: 60.22 kB / 0.5726 GB, free: 121.9 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001819/0.9178, allocations: 3.424 MB / 0.5759 GB, free: 118.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001115/0.9189, allocations: 0.8739 MB / 0.5768 GB, free: 117.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007528/0.9197, allocations: 0.5634 MB / 0.5773 GB, free: 117 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.169e-05/0.9197, allocations: 309.1 kB / 0.5776 GB, free: 116.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003667/0.9234, allocations: 3.292 MB / 0.5808 GB, free: 113.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004907/0.9283, allocations: 7.227 MB / 0.5879 GB, free: 104.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01005/0.9384, allocations: 11.32 MB / 0.5989 GB, free: 91.27 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001009/0.9385, allocations: 40 kB / 0.599 GB, free: 91.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=873) (initialization): time 0.01734/0.9559, allocations: 11.41 MB / 0.6101 GB, free: 79.81 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001136/0.956, allocations: 67.94 kB / 0.6102 GB, free: 79.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001541/0.9562, allocations: 140 kB / 0.6103 GB, free: 79.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002552/0.9588, allocations: 1.132 MB / 0.6114 GB, free: 78.47 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005795/0.9646, allocations: 1.719 MB / 0.6131 GB, free: 76.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006536/0.9711, allocations: 6.019 MB / 0.619 GB, free: 70.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005313/0.9765, allocations: 399.6 kB / 0.6193 GB, free: 70.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001035/0.9775, allocations: 460.5 kB / 0.6198 GB, free: 69.76 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 631 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,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 (834): * Single equations (assignments): 830 * 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.004128/0.9817, allocations: 2.326 MB / 0.6221 GB, free: 67.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009428/0.9826, allocations: 406.7 kB / 0.6224 GB, free: 67.03 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008963/0.9916, allocations: 6.133 MB / 0.6284 GB, free: 60.88 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.949e-05/0.9917, allocations: 28.72 kB / 0.6285 GB, free: 60.85 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/0.9917, allocations: 4 kB / 0.6285 GB, free: 60.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.383e-05/0.9917, allocations: 7.969 kB / 0.6285 GB, free: 60.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01797/1.01, allocations: 12.89 MB / 0.6411 GB, free: 47.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.71e-05/1.01, allocations: 0 / 0.6411 GB, free: 47.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00257/1.012, allocations: 0.5421 MB / 0.6416 GB, free: 47.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002298/1.015, allocations: 0.9491 MB / 0.6425 GB, free: 46.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003063/1.015, allocations: 83.89 kB / 0.6426 GB, free: 46.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005934/1.021, allocations: 5.717 MB / 0.6482 GB, free: 40.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/1.021, allocations: 4 kB / 0.6482 GB, free: 40.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0123/1.033, allocations: 10.36 MB / 0.6583 GB, free: 30.04 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001969/1.035, allocations: 0.8976 MB / 0.6592 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007488/1.036, allocations: 45.02 kB / 0.6592 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002298/1.038, allocations: 159.8 kB / 0.6594 GB, free: 28.92 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004612/1.039, allocations: 189.6 kB / 0.6596 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002125/1.039, allocations: 103.9 kB / 0.6597 GB, free: 28.63 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003463/1.042, allocations: 2.818 MB / 0.6624 GB, free: 25.81 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.6e-07/1.042, allocations: 0 / 0.6624 GB, free: 25.81 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005116/1.048, allocations: 1.187 MB / 0.6636 GB, free: 24.63 MB / 446.1 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 (203): * Single equations (assignments): 199 * 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 Backend phase and start with SimCode phase: time 0.0005124/1.048, allocations: 194.3 kB / 0.6638 GB, free: 24.45 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009768/1.058, allocations: 7.724 MB / 0.6713 GB, free: 16.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/1.058, allocations: 4 kB / 0.6713 GB, free: 16.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003954/1.062, allocations: 2.976 MB / 0.6742 GB, free: 13.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00569/1.068, allocations: 481.7 kB / 0.6747 GB, free: 13.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01975/1.087, allocations: 14.84 MB / 0.6892 GB, free: 14.38 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004607/1.092, allocations: 3.616 MB / 0.6927 GB, free: 10.73 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002032/1.094, allocations: 467.1 kB / 0.6931 GB, free: 10.27 MB / 462.1 MB Notification: Performance of SimCode: time 1.313e-06/1.094, allocations: 0 / 0.6931 GB, free: 10.27 MB / 462.1 MB Notification: Performance of Templates: time 0.2989/1.393, allocations: 92.32 MB / 0.7833 GB, free: 79.46 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/MovingActuatedDrive/MovingActuatedDrive.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches