Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.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.ActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 115.5 kB / 17.28 MB, free: 6.047 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.00182/0.00182, allocations: 185.4 kB / 18.2 MB, free: 5.152 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.567/1.567, allocations: 205.1 MB / 224.1 MB, free: 12.43 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.001779/0.001779, allocations: 43.94 kB / 280.2 MB, free: 3.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1261, allocations: 46.63 MB / 326.8 MB, free: 4.785 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.04701/0.1731, allocations: 50.2 MB / 377 MB, free: 2.375 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2605/0.4337, allocations: 10.23 MB / 387.2 MB, free: 8.859 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01522/0.449, allocations: 216.5 kB / 387.4 MB, free: 8.855 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006232/0.4553, allocations: 2.605 MB / 390 MB, free: 8.801 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00664/0.462, allocations: 1.76 MB / 391.8 MB, free: 8.695 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001832/0.4638, allocations: 0.5331 MB / 392.3 MB, free: 8.672 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006909/0.4708, allocations: 3.795 MB / 396.1 MB, free: 7.887 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00509/0.4759, allocations: 3.902 MB / 400 MB, free: 6.352 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003274/0.4792, allocations: 1.55 MB / 401.6 MB, free: 5.855 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003973/0.4832, allocations: 2.364 MB / 403.9 MB, free: 4.68 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001155/0.4844, allocations: 339.9 kB / 404.3 MB, free: 4.68 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002345/0.4867, allocations: 1.067 MB / 405.3 MB, free: 4.312 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001598/0.4883, allocations: 1.953 MB / 407.3 MB, free: 3.188 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002044/0.4904, allocations: 2.266 MB / 409.6 MB, free: 1.484 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008383/0.4988, allocations: 6.989 MB / 416.5 MB, free: 12.8 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.832e-06/0.4988, allocations: 0 / 416.5 MB, free: 12.8 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.4988, allocations: 0 / 416.5 MB, free: 12.8 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0003223/0.4992, allocations: 2.375 kB / 416.6 MB, free: 12.8 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.02139/0.5206, allocations: 5.317 MB / 421.9 MB, free: 7.551 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.5206, allocations: 8.031 kB / 421.9 MB, free: 7.543 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006673/0.5273, allocations: 1.881 MB / 423.8 MB, free: 5.656 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005592/0.5329, allocations: 2.346 MB / 426.1 MB, free: 3.277 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001883/0.5332, allocations: 234.7 kB / 426.3 MB, free: 3.082 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001018/0.5342, allocations: 319.4 kB / 426.6 MB, free: 2.809 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02128/0.5555, allocations: 10.71 MB / 437.4 MB, free: 7.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001338/0.5556, allocations: 47.62 kB / 437.4 MB, free: 7.473 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004797/0.5561, allocations: 154.9 kB / 437.6 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003254/0.5594, allocations: 1.98 MB / 439.5 MB, free: 5.379 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01953/0.5789, allocations: 9.573 MB / 449.1 MB, free: 11.79 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06053/0.6395, allocations: 39.92 MB / 489 MB, free: 2.926 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01408/0.6537, allocations: 3.842 MB / 492.9 MB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003242/0.657, allocations: 1.849 MB / 494.7 MB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007922/0.6578, allocations: 361.9 kB / 495.1 MB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.088e-05/0.6579, allocations: 47.55 kB / 495.1 MB, free: 12.63 MB / 414.1 MB Notification: Performance of pre-optimization done (n=148): time 5.911e-06/0.6579, allocations: 4 kB / 495.1 MB, free: 12.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=154): time 0.05185/0.7098, allocations: 13.75 MB / 0.497 GB, free: 14.76 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.817e-05/0.7099, allocations: 149.5 kB / 0.4971 GB, free: 14.59 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007252/0.7172, allocations: 4.159 MB / 0.5012 GB, free: 10.4 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004023/0.7176, allocations: 49.7 kB / 0.5012 GB, free: 10.35 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002116/0.7198, allocations: 3.169 MB / 0.5043 GB, free: 7.18 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008/0.7206, allocations: 0.6143 MB / 0.5049 GB, free: 6.57 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001638/0.7222, allocations: 1.229 MB / 0.5061 GB, free: 5.328 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.905e-05/0.7223, allocations: 301.1 kB / 0.5064 GB, free: 5.031 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00311/0.7254, allocations: 2.135 MB / 0.5085 GB, free: 2.891 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007004/0.7325, allocations: 5.96 MB / 0.5143 GB, free: 11.01 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009402/0.7419, allocations: 8.781 MB / 0.5229 GB, free: 332 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001134/0.7421, allocations: 40 kB / 0.5229 GB, free: 292 kB / 446.1 MB Notification: Performance of matching and sorting (n=779) (initialization): time 0.01673/0.7588, allocations: 8.574 MB / 0.5313 GB, free: 7.695 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001936/0.759, allocations: 64 kB / 0.5313 GB, free: 7.633 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000251/0.7593, allocations: 140.8 kB / 0.5315 GB, free: 7.496 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002531/0.7618, allocations: 0.9146 MB / 0.5324 GB, free: 6.578 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004711/0.7666, allocations: 1.4 MB / 0.5337 GB, free: 5.176 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2131/0.9797, allocations: 5.201 MB / 0.5388 GB, free: 172.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005848/0.9856, allocations: 324 kB / 0.5391 GB, free: 172.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001646/0.9873, allocations: 385.5 kB / 0.5395 GB, free: 172.5 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 620 * Number of states: 0 () * Number of discrete variables: 36 (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 (740): * Single equations (assignments): 736 * 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.006007/0.9933, allocations: 2.102 MB / 0.5415 GB, free: 172.4 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001068/0.9944, allocations: 348.2 kB / 0.5419 GB, free: 172.4 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006744/1.001, allocations: 3.145 MB / 0.5449 GB, free: 171.9 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.924e-05/1.001, allocations: 17.16 kB / 0.545 GB, free: 171.9 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.328e-05/1.001, allocations: 3.719 kB / 0.545 GB, free: 171.9 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-05/1.001, allocations: 8.016 kB / 0.545 GB, free: 171.9 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01416/1.015, allocations: 7.839 MB / 0.5526 GB, free: 169.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.529e-05/1.016, allocations: 3.719 kB / 0.5526 GB, free: 169.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00118/1.017, allocations: 257.7 kB / 0.5529 GB, free: 169.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001865/1.019, allocations: 0.7134 MB / 0.5536 GB, free: 169 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001358/1.019, allocations: 44.27 kB / 0.5536 GB, free: 169 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004963/1.024, allocations: 4.746 MB / 0.5582 GB, free: 166.3 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.716e-06/1.024, allocations: 1.812 kB / 0.5583 GB, free: 166.3 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007262/1.031, allocations: 5.681 MB / 0.5638 GB, free: 164.3 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001425/1.032, allocations: 0.629 MB / 0.5644 GB, free: 164.1 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004177/1.033, allocations: 23.84 kB / 0.5644 GB, free: 164.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001239/1.034, allocations: 84.55 kB / 0.5645 GB, free: 164.1 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002924/1.034, allocations: 106.1 kB / 0.5646 GB, free: 164 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001165/1.035, allocations: 52.47 kB / 0.5647 GB, free: 164 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003842/1.038, allocations: 2.605 MB / 0.5672 GB, free: 163.1 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.01e-07/1.038, allocations: 0 / 0.5672 GB, free: 163.1 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005619/1.044, allocations: 0.9654 MB / 0.5682 GB, free: 163 MB / 462.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 (123): * Single equations (assignments): 119 * 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.0004626/1.045, allocations: 160.5 kB / 0.5683 GB, free: 162.9 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007965/1.052, allocations: 5.731 MB / 0.5739 GB, free: 160.9 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/1.053, allocations: 0 / 0.5739 GB, free: 160.9 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001709/1.054, allocations: 1.537 MB / 0.5754 GB, free: 159.4 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002675/1.057, allocations: 438.7 kB / 0.5758 GB, free: 159 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01403/1.071, allocations: 11.04 MB / 0.5866 GB, free: 148 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002737/1.074, allocations: 3.243 MB / 0.5898 GB, free: 144.7 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004476/1.078, allocations: 1.929 MB / 0.5917 GB, free: 142.8 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007647/1.079, allocations: 271.3 kB / 0.5919 GB, free: 142.5 MB / 462.1 MB Notification: Performance of SimCode: time 2.194e-06/1.079, allocations: 4 kB / 0.5919 GB, free: 142.5 MB / 462.1 MB Notification: Performance of Templates: time 0.06009/1.139, allocations: 37.05 MB / 0.6281 GB, free: 105.5 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches