Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.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.FrameTorques2,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",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques2,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",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001244/0.001244, allocations: 115.7 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001382/0.001383, allocations: 217.9 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.281/1.281, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1946/0.1946, allocations: 46.1 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 75.88 kB / 482 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2825/0.2838, allocations: 62.43 MB / 0.5317 GB, free: 13.83 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques2): time 0.01738/0.3012, allocations: 17.85 MB / 0.5491 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01224/0.3135, allocations: 5.625 MB / 0.5546 GB, free: 10.34 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003642/0.3172, allocations: 135.6 kB / 0.5547 GB, free: 10.21 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.011/0.3282, allocations: 6.273 MB / 0.5608 GB, free: 3.914 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007354/0.3357, allocations: 2.972 MB / 0.5637 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003463/0.3392, allocations: 1.591 MB / 0.5653 GB, free: 15.34 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01285/0.352, allocations: 9.886 MB / 0.575 GB, free: 5.43 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008639/0.3607, allocations: 7.981 MB / 0.5828 GB, free: 13.35 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004608/0.3654, allocations: 3.127 MB / 0.5858 GB, free: 10.21 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00553/0.3709, allocations: 4.234 MB / 0.5899 GB, free: 5.965 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001561/0.3725, allocations: 0.6797 MB / 0.5906 GB, free: 5.285 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003249/0.3757, allocations: 1.693 MB / 0.5923 GB, free: 3.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00414/0.3799, allocations: 3.854 MB / 0.596 GB, free: 15.73 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006203/0.3861, allocations: 4.203 MB / 0.6001 GB, free: 11.5 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01412/0.4003, allocations: 12.97 MB / 0.6128 GB, free: 14.48 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.177e-06/0.4003, allocations: 8 kB / 0.6128 GB, free: 14.47 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4003, allocations: 0 / 0.6128 GB, free: 14.47 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0004169/0.4008, allocations: 0 / 0.6128 GB, free: 14.47 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2491 * Number of variables: 2491 Notification: Performance of Generate backend data structure: time 0.02168/0.4225, allocations: 9.034 MB / 0.6216 GB, free: 5.355 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.4225, allocations: 8.031 kB / 0.6216 GB, free: 5.348 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01622/0.4387, allocations: 3.489 MB / 0.625 GB, free: 1.844 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01277/0.4516, allocations: 6.026 MB / 0.6309 GB, free: 11.74 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004162/0.452, allocations: 451.7 kB / 0.6314 GB, free: 11.3 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00214/0.4542, allocations: 0.5933 MB / 0.6319 GB, free: 10.71 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03395/0.4881, allocations: 17.11 MB / 0.6486 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003953/0.4886, allocations: 83.27 kB / 0.6487 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001714/0.4903, allocations: 279.8 kB / 0.649 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004786/0.4951, allocations: 2.893 MB / 0.6518 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02783/0.5229, allocations: 14.33 MB / 0.6658 GB, free: 6.934 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5101/1.033, allocations: 64.41 MB / 0.7287 GB, free: 121.3 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0158/1.049, allocations: 6.619 MB / 0.7352 GB, free: 120.6 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004016/1.053, allocations: 3.881 MB / 0.739 GB, free: 120.3 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005421/1.054, allocations: 0.6508 MB / 0.7396 GB, free: 119.7 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.021e-05/1.054, allocations: 60.44 kB / 0.7397 GB, free: 119.6 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=231): time 6.002e-06/1.054, allocations: 0 / 0.7397 GB, free: 119.6 MB / 0.5607 GB Notification: Performance of matching and sorting (n=255): time 0.06959/1.123, allocations: 31.31 MB / 0.7702 GB, free: 99.49 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.031e-05/1.123, allocations: 282 kB / 0.7705 GB, free: 99.16 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007903/1.131, allocations: 7.326 MB / 0.7777 GB, free: 91.85 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0004975/1.132, allocations: 61.7 kB / 0.7777 GB, free: 91.78 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.001982/1.134, allocations: 5.081 MB / 0.7827 GB, free: 86.71 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008252/1.135, allocations: 0.9981 MB / 0.7836 GB, free: 85.72 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001805/1.136, allocations: 1.853 MB / 0.7855 GB, free: 83.86 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.795e-05/1.136, allocations: 301.1 kB / 0.7857 GB, free: 83.56 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003535/1.14, allocations: 3.426 MB / 0.7891 GB, free: 80.12 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005238/1.145, allocations: 8.619 MB / 0.7975 GB, free: 69.15 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009749/1.155, allocations: 12.85 MB / 0.8101 GB, free: 54.02 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001076/1.155, allocations: 55.94 kB / 0.8101 GB, free: 53.97 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1166) (initialization): time 0.02001/1.175, allocations: 13.84 MB / 0.8236 GB, free: 40.11 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 9.386e-05/1.175, allocations: 80 kB / 0.8237 GB, free: 40.03 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001653/1.175, allocations: 188.4 kB / 0.8239 GB, free: 39.84 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005084/1.181, allocations: 2.301 MB / 0.8261 GB, free: 37.53 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005551/1.186, allocations: 2.027 MB / 0.8281 GB, free: 35.5 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01444/1.201, allocations: 16.7 MB / 0.8444 GB, free: 18.25 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006614/1.207, allocations: 0.5033 MB / 0.8449 GB, free: 17.75 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001281/1.209, allocations: 0.5231 MB / 0.8454 GB, free: 17.23 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 827 * Number of states: 0 () * Number of discrete variables: 74 (frameTorque4.arrow.twoHeadedArrow,frameTorque4.arrow.headAtOrigin,frameTorque3.arrow.twoHeadedArrow,frameTorque3.arrow.headAtOrigin,frameTorque2.arrow.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque1.arrow.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.color[3],frameTorque3.color[2],frameTorque3.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],fixed2.color[3],fixed2.color[2],fixed2.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 (1086): * Single equations (assignments): 1079 * Array equations: 3 * 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 {(1,14,100.0%), (1,14,100.0%), (1,14,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004868/1.213, allocations: 3.399 MB / 0.8487 GB, free: 13.82 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001087/1.215, allocations: 0.6016 MB / 0.8493 GB, free: 13.21 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00957/1.224, allocations: 6.457 MB / 0.8556 GB, free: 6.723 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.667e-05/1.224, allocations: 31.94 kB / 0.8557 GB, free: 6.691 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.662e-05/1.224, allocations: 12 kB / 0.8557 GB, free: 6.68 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.874e-05/1.224, allocations: 11.95 kB / 0.8557 GB, free: 6.668 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02503/1.249, allocations: 14.29 MB / 0.8696 GB, free: 8.336 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.654e-05/1.249, allocations: 11.92 kB / 0.8697 GB, free: 8.324 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001957/1.251, allocations: 399.4 kB / 0.87 GB, free: 7.934 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00512/1.256, allocations: 1.994 MB / 0.872 GB, free: 5.926 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004483/1.257, allocations: 47.98 kB / 0.872 GB, free: 5.879 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01687/1.274, allocations: 15.63 MB / 0.8873 GB, free: 5.707 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/1.274, allocations: 4.062 kB / 0.8873 GB, free: 5.703 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01553/1.289, allocations: 10.13 MB / 0.8972 GB, free: 11.47 MB / 0.6076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001976/1.291, allocations: 0.6766 MB / 0.8978 GB, free: 10.77 MB / 0.6076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001283/1.293, allocations: 47.84 kB / 0.8979 GB, free: 10.73 MB / 0.6076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002733/1.295, allocations: 179.8 kB / 0.8981 GB, free: 10.55 MB / 0.6076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004831/1.296, allocations: 153.7 kB / 0.8982 GB, free: 10.4 MB / 0.6076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001945/1.296, allocations: 67.98 kB / 0.8983 GB, free: 10.34 MB / 0.6076 GB Notification: Performance of sorting global known variables: time 0.007267/1.303, allocations: 4.663 MB / 0.9028 GB, free: 5.699 MB / 0.6076 GB Notification: Performance of sort global known variables: time 6.02e-07/1.303, allocations: 0 / 0.9028 GB, free: 5.699 MB / 0.6076 GB Notification: Performance of remove unused functions: time 0.008252/1.312, allocations: 1.733 MB / 0.9045 GB, free: 3.969 MB / 0.6076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (195): * Single equations (assignments): 188 * Array equations: 3 * 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 {(1,11,100.0%), (1,11,100.0%), (1,11,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007094/1.312, allocations: 188.1 kB / 0.9047 GB, free: 3.785 MB / 0.6076 GB Notification: Performance of simCode: created initialization part: time 0.01271/1.325, allocations: 8.5 MB / 0.913 GB, free: 11.27 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/1.325, allocations: 0 / 0.913 GB, free: 11.27 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.003917/1.329, allocations: 2.939 MB / 0.9159 GB, free: 8.293 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005125/1.334, allocations: 0.9099 MB / 0.9168 GB, free: 7.395 MB / 0.6232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02966/1.364, allocations: 16.77 MB / 0.9331 GB, free: 6.594 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008459/1.372, allocations: 5.188 MB / 0.9382 GB, free: 1.371 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001815/1.374, allocations: 447.4 kB / 0.9386 GB, free: 0.9336 MB / 0.6388 GB Notification: Performance of SimCode: time 1.102e-06/1.374, allocations: 3.938 kB / 0.9386 GB, free: 0.9297 MB / 0.6388 GB Notification: Performance of Templates: time 0.4597/1.834, allocations: 225 MB / 1.158 GB, free: 78.79 MB / 0.6701 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameTorques2/FrameTorques2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches