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.001059/0.001059, allocations: 111.3 kB / 18.41 MB, free: 4.695 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.00106/0.00106, allocations: 183.3 kB / 19.34 MB, free: 3.777 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.264/1.264, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001233/0.001233, allocations: 51.92 kB / 329.2 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07391/0.07516, allocations: 46.62 MB / 375.8 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.1619/0.2371, allocations: 13.76 MB / 389.6 MB, free: 5.355 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007446/0.2446, allocations: 4.366 MB / 394 MB, free: 2.648 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001203/0.2458, allocations: 79.81 kB / 394 MB, free: 2.637 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005806/0.2516, allocations: 3.744 MB / 397.8 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004702/0.2564, allocations: 2.161 MB / 399.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001587/0.258, allocations: 0.6944 MB / 400.6 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005462/0.2634, allocations: 4.411 MB / 405 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005114/0.2686, allocations: 4.836 MB / 409.9 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002706/0.2713, allocations: 1.913 MB / 411.8 MB, free: 9.762 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003792/0.2751, allocations: 2.599 MB / 414.4 MB, free: 8.164 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009068/0.276, allocations: 431.9 kB / 414.8 MB, free: 8.164 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002362/0.2784, allocations: 1.158 MB / 416 MB, free: 7.301 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00196/0.2804, allocations: 2.342 MB / 418.3 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00257/0.283, allocations: 2.75 MB / 421.1 MB, free: 2.188 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00818/0.2911, allocations: 8.607 MB / 429.7 MB, free: 9.551 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.2912, allocations: 0 / 429.7 MB, free: 9.551 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2912, allocations: 0 / 429.7 MB, free: 9.551 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001846/0.2914, allocations: 0 / 429.7 MB, free: 9.551 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.0203/0.3117, allocations: 6.42 MB / 436.1 MB, free: 3.059 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.3117, allocations: 12.03 kB / 436.1 MB, free: 3.047 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007393/0.3191, allocations: 1.99 MB / 438.1 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006035/0.3252, allocations: 2.815 MB / 440.9 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002317/0.3255, allocations: 299.8 kB / 441.2 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001102/0.3266, allocations: 415.7 kB / 441.6 MB, free: 13.47 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02311/0.3497, allocations: 12.88 MB / 454.5 MB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001621/0.3499, allocations: 47.53 kB / 454.5 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008445/0.3507, allocations: 191.8 kB / 454.7 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004555/0.3553, allocations: 2.374 MB / 457.1 MB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02328/0.3786, allocations: 11.73 MB / 468.8 MB, free: 1.488 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06074/0.4394, allocations: 48.42 MB / 0.5051 GB, free: 15.87 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01923/0.4586, allocations: 5.558 MB / 0.5106 GB, free: 10.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004303/0.4629, allocations: 3.494 MB / 0.514 GB, free: 6.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006633/0.4636, allocations: 372.5 kB / 0.5143 GB, free: 6.238 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.122e-05/0.4637, allocations: 55.81 kB / 0.5144 GB, free: 6.176 MB / 446.1 MB Notification: Performance of pre-optimization done (n=221): time 5.841e-06/0.4637, allocations: 3.938 kB / 0.5144 GB, free: 6.172 MB / 446.1 MB Notification: Performance of matching and sorting (n=252): time 0.07865/0.5424, allocations: 27.95 MB / 0.5417 GB, free: 10.09 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.398e-05/0.5425, allocations: 154.5 kB / 0.5418 GB, free: 9.906 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006846/0.5493, allocations: 4.607 MB / 0.5463 GB, free: 5.285 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002908/0.5496, allocations: 61.7 kB / 0.5464 GB, free: 5.219 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002428/0.5521, allocations: 3.586 MB / 0.5499 GB, free: 1.582 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001249/0.5533, allocations: 0.9446 MB / 0.5508 GB, free: 0.625 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.1623/0.7157, allocations: 1.499 MB / 0.5523 GB, free: 148 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 3.705e-05/0.7157, allocations: 302.4 kB / 0.5525 GB, free: 147.7 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005128/0.7209, allocations: 3.457 MB / 0.5559 GB, free: 147.5 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006641/0.7275, allocations: 7.522 MB / 0.5633 GB, free: 141 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01207/0.7396, allocations: 11.82 MB / 0.5748 GB, free: 132.3 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001456/0.7398, allocations: 41.09 kB / 0.5749 GB, free: 132.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.01799/0.7578, allocations: 11.9 MB / 0.5865 GB, free: 128.4 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.402e-05/0.7579, allocations: 68.5 kB / 0.5865 GB, free: 128.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001012/0.758, allocations: 145.1 kB / 0.5867 GB, free: 128.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002557/0.7606, allocations: 1.125 MB / 0.5878 GB, free: 128.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005531/0.7661, allocations: 1.804 MB / 0.5895 GB, free: 128 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006563/0.7727, allocations: 6.354 MB / 0.5957 GB, free: 124.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00501/0.7777, allocations: 420.8 kB / 0.5961 GB, free: 123.9 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005447/0.7783, allocations: 469.9 kB / 0.5966 GB, free: 123.5 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.002891/0.7812, allocations: 2.444 MB / 0.599 GB, free: 121.4 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000624/0.7818, allocations: 418.6 kB / 0.5994 GB, free: 121.2 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009241/0.791, allocations: 6.483 MB / 0.6057 GB, free: 115.7 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-05/0.7911, allocations: 11.95 kB / 0.6057 GB, free: 115.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.7911, allocations: 0 / 0.6057 GB, free: 115.7 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001987/0.7931, allocations: 0.9264 MB / 0.6066 GB, free: 115 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006087/0.7937, allocations: 42.69 kB / 0.6067 GB, free: 114.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002225/0.7959, allocations: 175.8 kB / 0.6068 GB, free: 114.8 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004565/0.7964, allocations: 193.6 kB / 0.607 GB, free: 114.6 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01022/0.8066, allocations: 6.905 MB / 0.6138 GB, free: 107.7 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009817/0.8165, allocations: 9.979 MB / 0.6235 GB, free: 97.7 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002585/0.8191, allocations: 2.713 MB / 0.6262 GB, free: 94.98 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003203/0.8223, allocations: 2.895 MB / 0.629 GB, free: 92.09 MB / 478.1 MB Notification: Performance of Backend: time 4.11e-07/0.8223, allocations: 0 / 0.629 GB, free: 92.09 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009024/0.8313, allocations: 5.91 MB / 0.6347 GB, free: 86.24 MB / 478.1 MB Notification: Performance of SimCode: time 0.01359/0.8449, allocations: 10.97 MB / 0.6455 GB, free: 75.26 MB / 478.1 MB Notification: Performance of Templates: time 0.09748/0.9424, allocations: 68.76 MB / 0.7126 GB, free: 6.48 MB / 478.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