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.001486/0.001486, allocations: 100.2 kB / 18.39 MB, free: 4.66 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.001523/0.001523, allocations: 188.3 kB / 19.33 MB, free: 3.738 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.557/1.557, allocations: 205.1 MB / 225.2 MB, free: 12.21 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.001369/0.001369, allocations: 52.25 kB / 329.2 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09298/0.09436, allocations: 46.62 MB / 375.8 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.2171/0.3115, allocations: 13.76 MB / 389.6 MB, free: 5.371 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01185/0.3234, allocations: 4.373 MB / 394 MB, free: 2.637 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004158/0.3276, allocations: 83.94 kB / 394 MB, free: 2.621 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008163/0.3358, allocations: 3.736 MB / 397.8 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0081/0.344, allocations: 2.105 MB / 399.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002753/0.3468, allocations: 0.6942 MB / 400.6 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.008728/0.3555, allocations: 4.412 MB / 405 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009736/0.3653, allocations: 4.836 MB / 409.8 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005013/0.3704, allocations: 1.919 MB / 411.7 MB, free: 9.785 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005483/0.3759, allocations: 2.593 MB / 414.3 MB, free: 8.191 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002272/0.3782, allocations: 437.3 kB / 414.8 MB, free: 8.188 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004304/0.3825, allocations: 1.154 MB / 415.9 MB, free: 7.328 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003925/0.3865, allocations: 2.338 MB / 418.3 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006317/0.3928, allocations: 2.758 MB / 421 MB, free: 2.211 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01321/0.4061, allocations: 8.603 MB / 429.6 MB, free: 9.578 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.904e-06/0.4061, allocations: 0 / 429.6 MB, free: 9.578 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.006e-06/0.4061, allocations: 0 / 429.6 MB, free: 9.578 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003738/0.4065, allocations: 0 / 429.6 MB, free: 9.578 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.0252/0.4317, allocations: 6.424 MB / 436 MB, free: 3.082 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.4318, allocations: 8.031 kB / 436 MB, free: 3.074 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00821/0.44, allocations: 1.99 MB / 438 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006684/0.4467, allocations: 2.815 MB / 440.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003289/0.4471, allocations: 303.8 kB / 441.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001714/0.4488, allocations: 403.7 kB / 441.5 MB, free: 13.51 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02916/0.478, allocations: 12.87 MB / 454.4 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002751/0.4783, allocations: 55.47 kB / 454.5 MB, free: 15.83 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001663/0.48, allocations: 187.8 kB / 454.7 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004911/0.4849, allocations: 2.374 MB / 457 MB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02595/0.5109, allocations: 11.74 MB / 468.8 MB, free: 1.516 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08944/0.6004, allocations: 48.41 MB / 0.5051 GB, free: 15.9 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02365/0.6241, allocations: 5.561 MB / 0.5105 GB, free: 10.2 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005122/0.6293, allocations: 3.491 MB / 0.5139 GB, free: 6.695 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007963/0.6302, allocations: 376.4 kB / 0.5143 GB, free: 6.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.806e-05/0.6302, allocations: 59.86 kB / 0.5143 GB, free: 6.203 MB / 446.1 MB Notification: Performance of pre-optimization done (n=221): time 5.781e-06/0.6303, allocations: 3.938 kB / 0.5143 GB, free: 6.199 MB / 446.1 MB Notification: Performance of matching and sorting (n=252): time 0.08568/0.7159, allocations: 27.93 MB / 0.5416 GB, free: 10.12 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/0.7161, allocations: 158.5 kB / 0.5417 GB, free: 9.938 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009287/0.7254, allocations: 4.607 MB / 0.5462 GB, free: 5.316 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008504/0.7263, allocations: 65.7 kB / 0.5463 GB, free: 5.246 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003118/0.7294, allocations: 3.586 MB / 0.5498 GB, free: 1.609 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001753/0.7312, allocations: 0.9408 MB / 0.5507 GB, free: 0.6562 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.223/0.9542, allocations: 1.502 MB / 0.5522 GB, free: 147.9 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 6.13e-05/0.9543, allocations: 306.4 kB / 0.5525 GB, free: 147.6 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007123/0.9615, allocations: 3.452 MB / 0.5559 GB, free: 147.5 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01086/0.9724, allocations: 7.524 MB / 0.5632 GB, free: 140.9 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01724/0.9897, allocations: 11.82 MB / 0.5747 GB, free: 132.3 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002809/0.99, allocations: 40.72 kB / 0.5748 GB, free: 132.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.02295/1.013, allocations: 11.89 MB / 0.5864 GB, free: 128.3 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000263/1.013, allocations: 76.59 kB / 0.5865 GB, free: 128.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003331/1.014, allocations: 140.3 kB / 0.5866 GB, free: 128.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002939/1.017, allocations: 1.131 MB / 0.5877 GB, free: 128.1 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007241/1.024, allocations: 1.801 MB / 0.5895 GB, free: 127.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007843/1.032, allocations: 6.348 MB / 0.5957 GB, free: 124.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006921/1.039, allocations: 426.6 kB / 0.5961 GB, free: 123.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001675/1.04, allocations: 470.4 kB / 0.5965 GB, free: 123.4 MB / 478.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.006156/1.047, allocations: 2.438 MB / 0.5989 GB, free: 121.3 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001373/1.048, allocations: 417.7 kB / 0.5993 GB, free: 121.1 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01102/1.059, allocations: 6.481 MB / 0.6056 GB, free: 115.7 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.365e-05/1.059, allocations: 28 kB / 0.6057 GB, free: 115.7 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.651e-05/1.059, allocations: 7.281 kB / 0.6057 GB, free: 115.7 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.196e-05/1.059, allocations: 12.52 kB / 0.6057 GB, free: 115.7 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02384/1.083, allocations: 13.49 MB / 0.6189 GB, free: 102.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-05/1.083, allocations: 4 kB / 0.6189 GB, free: 102.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003387/1.086, allocations: 0.5814 MB / 0.6194 GB, free: 101.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002636/1.089, allocations: 0.9491 MB / 0.6204 GB, free: 100.6 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001081/1.09, allocations: 89.48 kB / 0.6204 GB, free: 100.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006921/1.097, allocations: 6.084 MB / 0.6264 GB, free: 94.38 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/1.097, allocations: 7.938 kB / 0.6264 GB, free: 94.37 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01509/1.112, allocations: 10.94 MB / 0.6371 GB, free: 83.5 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002404/1.115, allocations: 0.9329 MB / 0.638 GB, free: 82.55 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001467/1.116, allocations: 43.75 kB / 0.638 GB, free: 82.51 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003224/1.12, allocations: 175.7 kB / 0.6382 GB, free: 82.34 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007936/1.12, allocations: 193.6 kB / 0.6384 GB, free: 82.15 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004962/1.121, allocations: 115.8 kB / 0.6385 GB, free: 82.04 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.005062/1.126, allocations: 2.9 MB / 0.6413 GB, free: 79.14 MB / 478.1 MB Notification: Performance of sort global known variables: time 6.51e-07/1.126, allocations: 3.609 kB / 0.6413 GB, free: 79.14 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.007479/1.133, allocations: 1.267 MB / 0.6426 GB, free: 77.88 MB / 478.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.001076/1.135, allocations: 189.6 kB / 0.6427 GB, free: 77.69 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01223/1.147, allocations: 8.155 MB / 0.6507 GB, free: 69.55 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.475e-05/1.147, allocations: 0 / 0.6507 GB, free: 69.55 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004663/1.152, allocations: 3.17 MB / 0.6538 GB, free: 66.38 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004597/1.156, allocations: 0.515 MB / 0.6543 GB, free: 65.89 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0244/1.181, allocations: 13.01 MB / 0.667 GB, free: 52.82 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006261/1.187, allocations: 3.799 MB / 0.6707 GB, free: 48.99 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002113/1.189, allocations: 487.1 kB / 0.6712 GB, free: 48.51 MB / 478.1 MB Notification: Performance of SimCode: time 9.52e-07/1.189, allocations: 0 / 0.6712 GB, free: 48.51 MB / 478.1 MB Notification: Performance of Templates: time 0.3723/1.561, allocations: 99.12 MB / 0.768 GB, free: 137.8 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/MovingActuatedDrive/MovingActuatedDrive.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches