Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.MultiBody.Forces.Torque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w|Revolute7.phi|Revolute7.w|Revolute8.phi|Revolute8.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque2") translateModel(ModelicaTest.MultiBody.Forces.Torque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w|Revolute7.phi|Revolute7.w|Revolute8.phi|Revolute8.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00133/0.00133, allocations: 114.9 kB / 18.46 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001355/0.001355, allocations: 206.8 kB / 19.41 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.364/1.364, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2104/0.2104, allocations: 46.1 MB / 345 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001664/0.001664, allocations: 71.89 kB / 482 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3852/0.3869, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque2): time 0.02959/0.4165, allocations: 26.01 MB / 0.5571 GB, free: 7.652 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01645/0.433, allocations: 7.203 MB / 0.5641 GB, free: 436 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005582/0.4386, allocations: 191.5 kB / 0.5643 GB, free: 244 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01854/0.4572, allocations: 10.37 MB / 0.5744 GB, free: 5.836 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01063/0.4679, allocations: 3.916 MB / 0.5783 GB, free: 1.906 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004588/0.4725, allocations: 2.005 MB / 0.5802 GB, free: 15.9 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01687/0.4894, allocations: 12.65 MB / 0.5926 GB, free: 3.223 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01713/0.5066, allocations: 12.98 MB / 0.6053 GB, free: 6.125 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008933/0.5155, allocations: 4.604 MB / 0.6097 GB, free: 1.508 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01056/0.5261, allocations: 6.111 MB / 0.6157 GB, free: 11.38 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003684/0.5299, allocations: 1.012 MB / 0.6167 GB, free: 10.37 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005503/0.5354, allocations: 1.877 MB / 0.6185 GB, free: 8.488 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00699/0.5424, allocations: 5.685 MB / 0.6241 GB, free: 2.789 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0104/0.5528, allocations: 6.25 MB / 0.6302 GB, free: 12.5 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0231/0.576, allocations: 18.8 MB / 0.6486 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.576, allocations: 0 / 0.6486 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.432e-06/0.576, allocations: 0 / 0.6486 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0007338/0.5767, allocations: 0 / 0.6486 GB, free: 9.633 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3835 * Number of variables: 3835 Notification: Performance of Generate backend data structure: time 0.03787/0.6146, allocations: 13.46 MB / 0.6617 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.656e-05/0.6147, allocations: 12.03 kB / 0.6617 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02111/0.6358, allocations: 4.022 MB / 0.6656 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01885/0.6547, allocations: 7.962 MB / 0.6734 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000751/0.6555, allocations: 0.6818 MB / 0.6741 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003418/0.6589, allocations: 0.9095 MB / 0.675 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05503/0.714, allocations: 25.76 MB / 0.7001 GB, free: 3.055 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006113/0.7146, allocations: 111 kB / 0.7002 GB, free: 2.945 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003483/0.7181, allocations: 427.7 kB / 0.7006 GB, free: 2.527 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008537/0.7267, allocations: 4.534 MB / 0.7051 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3235/1.05, allocations: 21.64 MB / 0.7262 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.113/1.163, allocations: 101 MB / 0.8248 GB, free: 59.93 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02978/1.193, allocations: 12.36 MB / 0.8369 GB, free: 47.38 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008568/1.202, allocations: 7.763 MB / 0.8445 GB, free: 39.6 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02558/1.227, allocations: 17.65 MB / 0.8617 GB, free: 21.71 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.204e-05/1.227, allocations: 90.16 kB / 0.8618 GB, free: 21.62 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=459): time 7.544e-06/1.227, allocations: 0 / 0.8618 GB, free: 21.62 MB / 0.5606 GB Notification: Performance of matching and sorting (n=543): time 0.1751/1.402, allocations: 66.37 MB / 0.9266 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002216/1.403, allocations: 360.8 kB / 0.9269 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02356/1.426, allocations: 11.44 MB / 0.9381 GB, free: 6.914 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.001415/1.428, allocations: 105.7 kB / 0.9382 GB, free: 6.805 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.007048/1.435, allocations: 7.496 MB / 0.9455 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.003269/1.438, allocations: 2.024 MB / 0.9475 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00879/1.447, allocations: 2.95 MB / 0.9504 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000103/1.447, allocations: 303 kB / 0.9507 GB, free: 9.91 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01138/1.458, allocations: 6.474 MB / 0.957 GB, free: 3.43 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2998/1.758, allocations: 14.27 MB / 0.9709 GB, free: 204.3 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02302/1.781, allocations: 22.24 MB / 0.9927 GB, free: 188.3 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003645/1.782, allocations: 78.53 kB / 0.9927 GB, free: 188.3 MB / 0.6387 GB Notification: Performance of matching and sorting (n=1880) (initialization): time 0.04566/1.827, allocations: 24.65 MB / 1.017 GB, free: 180.1 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005931/1.828, allocations: 117.8 kB / 1.017 GB, free: 180.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006683/1.829, allocations: 276.1 kB / 1.017 GB, free: 179.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01118/1.84, allocations: 4.462 MB / 1.022 GB, free: 176.7 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0118/1.852, allocations: 3.332 MB / 1.025 GB, free: 173.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02992/1.882, allocations: 28.6 MB / 1.053 GB, free: 146 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01286/1.895, allocations: 0.849 MB / 1.054 GB, free: 145.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00301/1.898, allocations: 0.8238 MB / 1.054 GB, free: 144.3 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1230 * Number of states: 0 () * Number of discrete variables: 132 (torque4.torqueArrow.twoHeadedArrow,torque4.torqueArrow.headAtOrigin,torque4.forceArrow.twoHeadedArrow,torque4.forceArrow.headAtOrigin,torque3.torqueArrow.twoHeadedArrow,torque3.torqueArrow.headAtOrigin,torque3.forceArrow.twoHeadedArrow,torque3.forceArrow.headAtOrigin,torque2.torqueArrow.twoHeadedArrow,torque2.torqueArrow.headAtOrigin,torque1.torqueArrow.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],torque4.connectionLineColor[3],torque4.connectionLineColor[2],torque4.connectionLineColor[1],torque4.torqueColor[3],torque4.torqueColor[2],torque4.torqueColor[1],torque4.forceColor[3],torque4.forceColor[2],torque4.forceColor[1],torque3.connectionLineColor[3],torque3.connectionLineColor[2],torque3.connectionLineColor[1],torque3.torqueColor[3],torque3.torqueColor[2],torque3.torqueColor[1],torque3.forceColor[3],torque3.forceColor[2],torque3.forceColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixed6.color[3],fixed6.color[2],fixed6.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],fixed5.color[3],fixed5.color[2],fixed5.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1740): * Single equations (assignments): 1729 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,23,100.0%), (2,23,100.0%), (2,23,100.0%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01067/1.908, allocations: 5.106 MB / 1.059 GB, free: 139.4 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002913/1.911, allocations: 0.9789 MB / 1.06 GB, free: 138.9 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0259/1.937, allocations: 14.52 MB / 1.074 GB, free: 124.4 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001444/1.937, allocations: 27.91 kB / 1.075 GB, free: 124.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-05/1.937, allocations: 0 / 1.075 GB, free: 124.4 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002543/1.94, allocations: 1.059 MB / 1.076 GB, free: 123.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00347/1.943, allocations: 91.94 kB / 1.076 GB, free: 123.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006406/1.95, allocations: 391.4 kB / 1.076 GB, free: 123.3 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001867/1.952, allocations: 379.7 kB / 1.076 GB, free: 123 MB / 0.6387 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02487/1.977, allocations: 14.67 MB / 1.091 GB, free: 108.4 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02193/1.999, allocations: 18.04 MB / 1.108 GB, free: 90.18 MB / 0.6387 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005591/2.004, allocations: 5.008 MB / 1.113 GB, free: 85.18 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.01258/2.017, allocations: 7.322 MB / 1.12 GB, free: 77.9 MB / 0.6387 GB Notification: Performance of Backend: time 1.152e-06/2.017, allocations: 0 / 1.12 GB, free: 77.9 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.02401/2.041, allocations: 11.74 MB / 1.132 GB, free: 66.19 MB / 0.6387 GB Notification: Performance of SimCode: time 0.04283/2.084, allocations: 24.84 MB / 1.156 GB, free: 41.34 MB / 0.6387 GB Notification: Performance of Templates: time 0.4741/2.558, allocations: 139.5 MB / 1.292 GB, free: 155.2 MB / 0.6544 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Torque2/Torque2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches