Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.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.ActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001275/0.001275, allocations: 110.9 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001348/0.001348, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.307/1.307, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 67.88 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.2036, allocations: 50.54 MB / 409.9 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01141/0.2151, allocations: 10.99 MB / 420.9 MB, free: 6.551 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006649/0.2217, allocations: 3.82 MB / 424.7 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009731/0.2227, allocations: 63.81 kB / 424.8 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004429/0.2272, allocations: 2.683 MB / 427.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003036/0.2302, allocations: 1.747 MB / 429.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009952/0.2312, allocations: 0.5733 MB / 429.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003303/0.2346, allocations: 3.582 MB / 433.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003261/0.2378, allocations: 3.6 MB / 437 MB, free: 6.379 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001333/0.2392, allocations: 1.437 MB / 438.4 MB, free: 4.938 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001978/0.2412, allocations: 1.998 MB / 440.4 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004537/0.2416, allocations: 316 kB / 440.7 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001503/0.2431, allocations: 1.034 MB / 441.8 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001377/0.2445, allocations: 1.8 MB / 443.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001631/0.2462, allocations: 2.074 MB / 445.6 MB, free: 13.7 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005306/0.2515, allocations: 6.654 MB / 452.3 MB, free: 7.023 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.2515, allocations: 0 / 452.3 MB, free: 7.023 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.2515, allocations: 0 / 452.3 MB, free: 7.023 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.536e-05/0.2516, allocations: 4 kB / 452.3 MB, free: 7.02 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: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.01463/0.2662, allocations: 5.043 MB / 457.3 MB, free: 1.91 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.2663, allocations: 16.02 kB / 457.4 MB, free: 1.895 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006333/0.2726, allocations: 1.852 MB / 459.2 MB, free: 36 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003763/0.2764, allocations: 2.24 MB / 461.4 MB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001465/0.2765, allocations: 221.7 kB / 461.7 MB, free: 13.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005283/0.2771, allocations: 295.8 kB / 462 MB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01469/0.2918, allocations: 10.03 MB / 472 MB, free: 2.516 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.054e-05/0.2919, allocations: 43.59 kB / 472 MB, free: 2.473 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003997/0.2923, allocations: 143.9 kB / 472.2 MB, free: 2.332 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002935/0.2952, allocations: 1.801 MB / 474 MB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01525/0.3105, allocations: 8.959 MB / 482.9 MB, free: 7.562 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03711/0.3476, allocations: 37.74 MB / 0.5085 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01287/0.3605, allocations: 3.59 MB / 0.512 GB, free: 13 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002018/0.3625, allocations: 1.672 MB / 0.5136 GB, free: 11.32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005361/0.3631, allocations: 359.7 kB / 0.5139 GB, free: 10.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.3631, allocations: 51.06 kB / 0.514 GB, free: 10.85 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 4.899e-06/0.3631, allocations: 3.984 kB / 0.514 GB, free: 10.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=133): time 0.03922/0.4024, allocations: 12.67 MB / 0.5264 GB, free: 14.05 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.438e-05/0.4024, allocations: 141.2 kB / 0.5265 GB, free: 13.89 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004535/0.407, allocations: 4.044 MB / 0.5305 GB, free: 9.812 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.192e-05/0.4071, allocations: 49.7 kB / 0.5305 GB, free: 9.758 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001854/0.4089, allocations: 3.008 MB / 0.5334 GB, free: 6.707 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004234/0.4094, allocations: 0.5403 MB / 0.534 GB, free: 6.16 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001309/0.4107, allocations: 1.17 MB / 0.5351 GB, free: 4.977 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.203e-05/0.4108, allocations: 305.2 kB / 0.5354 GB, free: 4.676 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002674/0.4135, allocations: 1.967 MB / 0.5373 GB, free: 2.703 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1546/0.5681, allocations: 5.65 MB / 0.5428 GB, free: 118.4 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006883/0.575, allocations: 8.258 MB / 0.5509 GB, free: 111.7 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.178e-05/0.5751, allocations: 39.22 kB / 0.5509 GB, free: 111.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=738) (initialization): time 0.01027/0.5854, allocations: 8.081 MB / 0.5588 GB, free: 109 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.546e-05/0.5855, allocations: 63.34 kB / 0.5589 GB, free: 109 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.846e-05/0.5856, allocations: 133.6 kB / 0.559 GB, free: 109 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002127/0.5877, allocations: 0.9071 MB / 0.5599 GB, free: 108.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003154/0.5909, allocations: 1.314 MB / 0.5612 GB, free: 108.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005145/0.596, allocations: 5.195 MB / 0.5663 GB, free: 104.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00301/0.599, allocations: 299.4 kB / 0.5665 GB, free: 104.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000321/0.5994, allocations: 375.2 kB / 0.5669 GB, free: 104.2 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 600 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,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 (699): * Single equations (assignments): 695 * 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.001901/0.6013, allocations: 1.985 MB / 0.5688 GB, free: 102.4 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003477/0.6016, allocations: 332.6 kB / 0.5692 GB, free: 102.3 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004233/0.6059, allocations: 2.76 MB / 0.5719 GB, free: 100.1 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.6059, allocations: 3.984 kB / 0.5719 GB, free: 100.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.6059, allocations: 4 kB / 0.5719 GB, free: 100.1 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004508/0.6064, allocations: 392.6 kB / 0.5722 GB, free: 99.86 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003064/0.6067, allocations: 23.09 kB / 0.5723 GB, free: 99.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001097/0.6078, allocations: 73.61 kB / 0.5723 GB, free: 99.77 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002094/0.608, allocations: 100.4 kB / 0.5724 GB, free: 99.67 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004612/0.6126, allocations: 3.237 MB / 0.5756 GB, free: 96.46 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003879/0.6165, allocations: 4.36 MB / 0.5798 GB, free: 92.07 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001031/0.6176, allocations: 1.09 MB / 0.5809 GB, free: 90.98 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002402/0.62, allocations: 2.529 MB / 0.5834 GB, free: 88.44 MB / 462.1 MB Notification: Performance of Backend: time 3.31e-07/0.62, allocations: 0 / 0.5834 GB, free: 88.44 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005223/0.6252, allocations: 3.915 MB / 0.5872 GB, free: 84.57 MB / 462.1 MB Notification: Performance of SimCode: time 0.008768/0.634, allocations: 8.578 MB / 0.5956 GB, free: 75.96 MB / 462.1 MB Notification: Performance of Templates: time 0.0566/0.6906, allocations: 41.49 MB / 0.6361 GB, free: 34.66 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches