Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 107.4 kB / 17.16 MB, free: 6.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009635/0.0009635, allocations: 198 kB / 18.07 MB, free: 5.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.466/1.466, allocations: 205.1 MB / 223.9 MB, free: 12.48 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 51.92 kB / 280 MB, free: 3.602 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09387/0.0951, allocations: 46.62 MB / 326.6 MB, free: 4.91 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.2913/0.3864, allocations: 66.21 MB / 392.8 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0299/0.4164, allocations: 13.05 MB / 405.9 MB, free: 5.699 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01455/0.431, allocations: 280.5 kB / 406.1 MB, free: 5.66 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006276/0.4373, allocations: 3.742 MB / 409.9 MB, free: 4.52 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005377/0.4427, allocations: 1.971 MB / 411.8 MB, free: 3.715 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001556/0.4443, allocations: 0.6295 MB / 412.5 MB, free: 3.316 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006264/0.4506, allocations: 6.505 MB / 419 MB, free: 180 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005481/0.4561, allocations: 4.789 MB / 423.8 MB, free: 13.35 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002905/0.459, allocations: 1.696 MB / 425.5 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003379/0.4624, allocations: 2.758 MB / 428.2 MB, free: 9.098 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007349/0.4631, allocations: 316 kB / 428.5 MB, free: 8.789 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002387/0.4655, allocations: 1.093 MB / 429.6 MB, free: 7.734 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002154/0.4677, allocations: 2.235 MB / 431.9 MB, free: 5.504 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002995/0.4707, allocations: 2.654 MB / 434.5 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008445/0.4792, allocations: 8.233 MB / 442.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4792, allocations: 0 / 442.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4792, allocations: 0 / 442.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002948/0.4795, allocations: 0 / 442.7 MB, free: 10.8 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: 1851 * Number of variables: 1851 Notification: Performance of Generate backend data structure: time 0.02155/0.5011, allocations: 6.419 MB / 449.2 MB, free: 4.426 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.5011, allocations: 8.031 kB / 449.2 MB, free: 4.418 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00683/0.508, allocations: 1.983 MB / 451.2 MB, free: 2.426 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005254/0.5133, allocations: 2.768 MB / 453.9 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000247/0.5135, allocations: 304.5 kB / 454.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001099/0.5146, allocations: 405.5 kB / 454.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02473/0.5394, allocations: 12.88 MB / 467.5 MB, free: 1.512 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002265/0.5396, allocations: 55.52 kB / 467.6 MB, free: 1.457 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0013/0.541, allocations: 192.5 kB / 467.7 MB, free: 1.312 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004271/0.5452, allocations: 2.367 MB / 470.1 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02453/0.5698, allocations: 11.74 MB / 481.8 MB, free: 3.203 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07356/0.6434, allocations: 48.63 MB / 0.518 GB, free: 1.633 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0187/0.6621, allocations: 5.571 MB / 0.5235 GB, free: 11.91 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005193/0.6674, allocations: 3.48 MB / 0.5269 GB, free: 8.422 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008105/0.6682, allocations: 387.2 kB / 0.5272 GB, free: 8.004 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.208e-05/0.6683, allocations: 59.81 kB / 0.5273 GB, free: 7.938 MB / 446.1 MB Notification: Performance of pre-optimization done (n=221): time 6.322e-06/0.6683, allocations: 0 / 0.5273 GB, free: 7.938 MB / 446.1 MB Notification: Performance of matching and sorting (n=252): time 0.3174/0.9857, allocations: 27.93 MB / 0.5546 GB, free: 107.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.16e-05/0.9858, allocations: 155.9 kB / 0.5547 GB, free: 106.9 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00539/0.9912, allocations: 4.607 MB / 0.5592 GB, free: 105.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000617/0.9918, allocations: 61.55 kB / 0.5593 GB, free: 105.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001857/0.9937, allocations: 3.584 MB / 0.5628 GB, free: 103 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001245/0.995, allocations: 0.9493 MB / 0.5637 GB, free: 102.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001912/0.9969, allocations: 1.51 MB / 0.5652 GB, free: 101.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.822e-05/0.9969, allocations: 301.1 kB / 0.5655 GB, free: 101.4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003985/1.001, allocations: 3.455 MB / 0.5688 GB, free: 100.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005946/1.007, allocations: 7.525 MB / 0.5762 GB, free: 93.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01099/1.018, allocations: 11.82 MB / 0.5877 GB, free: 81 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001131/1.018, allocations: 49.16 kB / 0.5878 GB, free: 80.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.01801/1.036, allocations: 11.89 MB / 0.5994 GB, free: 69.92 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001306/1.036, allocations: 64 kB / 0.5994 GB, free: 69.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002255/1.036, allocations: 148 kB / 0.5996 GB, free: 69.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002598/1.039, allocations: 1.129 MB / 0.6007 GB, free: 68.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006665/1.046, allocations: 1.798 MB / 0.6024 GB, free: 66.92 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007216/1.053, allocations: 6.011 MB / 0.6083 GB, free: 60.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006592/1.06, allocations: 433 kB / 0.6087 GB, free: 60.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001815/1.062, allocations: 463.8 kB / 0.6092 GB, free: 59.97 MB / 446.1 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 (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.005838/1.067, allocations: 2.446 MB / 0.6116 GB, free: 57.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00145/1.069, allocations: 418.5 kB / 0.612 GB, free: 57.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01097/1.08, allocations: 6.486 MB / 0.6183 GB, free: 50.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.804e-05/1.08, allocations: 28 kB / 0.6183 GB, free: 50.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.281e-05/1.08, allocations: 8 kB / 0.6183 GB, free: 50.72 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.761e-05/1.08, allocations: 11.91 kB / 0.6183 GB, free: 50.71 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02281/1.103, allocations: 13.6 MB / 0.6316 GB, free: 37.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.643e-05/1.103, allocations: 4.062 kB / 0.6316 GB, free: 37.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003274/1.106, allocations: 0.5795 MB / 0.6322 GB, free: 36.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002536/1.109, allocations: 0.9497 MB / 0.6331 GB, free: 35.58 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007461/1.109, allocations: 84.66 kB / 0.6332 GB, free: 35.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006635/1.116, allocations: 5.743 MB / 0.6388 GB, free: 29.64 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.824e-06/1.116, allocations: 4 kB / 0.6388 GB, free: 29.63 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01691/1.133, allocations: 10.92 MB / 0.6495 GB, free: 18.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002965/1.136, allocations: 0.9328 MB / 0.6504 GB, free: 17.67 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001539/1.138, allocations: 41.53 kB / 0.6504 GB, free: 17.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00345/1.141, allocations: 180 kB / 0.6506 GB, free: 17.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000746/1.142, allocations: 193.9 kB / 0.6508 GB, free: 17.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004995/1.142, allocations: 111.9 kB / 0.6509 GB, free: 17.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.006296/1.149, allocations: 2.895 MB / 0.6537 GB, free: 14.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.81e-07/1.149, allocations: 0 / 0.6537 GB, free: 14.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.01022/1.159, allocations: 1.271 MB / 0.655 GB, free: 13 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 (225): * Single equations (assignments): 221 * 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.001267/1.16, allocations: 188.5 kB / 0.6551 GB, free: 12.83 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01345/1.174, allocations: 8.123 MB / 0.6631 GB, free: 5.121 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/1.174, allocations: 0.9844 kB / 0.6631 GB, free: 5.121 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005033/1.179, allocations: 3.156 MB / 0.6662 GB, free: 2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005623/1.185, allocations: 0.4928 MB / 0.6666 GB, free: 1.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02987/1.214, allocations: 15 MB / 0.6813 GB, free: 2.48 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008289/1.223, allocations: 3.81 MB / 0.685 GB, free: 14.64 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.009338/1.232, allocations: 2.385 MB / 0.6873 GB, free: 12.25 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002695/1.235, allocations: 443 kB / 0.6878 GB, free: 11.81 MB / 478.1 MB Notification: Performance of SimCode: time 2.434e-06/1.235, allocations: 0 / 0.6878 GB, free: 11.81 MB / 478.1 MB Notification: Performance of Templates: time 0.295/1.53, allocations: 56.2 MB / 0.7426 GB, free: 181.2 MB / 494.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches