Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces") translateModel(ModelicaTest.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001309/0.001309, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 225.4 MB / 240.1 MB, free: 15.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001013/0.001013, allocations: 93.44 kB / 292.1 MB, free: 5.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2124/0.2124, allocations: 45.13 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.25e-05/4.262e-05, allocations: 8 kB / 460.4 MB, free: 70.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1297, allocations: 63.25 MB / 0.5114 GB, free: 6.797 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4643/0.5941, allocations: 109 MB / 0.6178 GB, free: 1.207 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002997/0.5944, allocations: 74.16 kB / 0.6179 GB, free: 1.172 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2901/0.8845, allocations: 110.6 MB / 0.7259 GB, free: 10.46 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.423e-06/0.8846, allocations: 4 kB / 0.7259 GB, free: 10.46 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003779/0.885, allocations: 100 kB / 0.726 GB, free: 10.36 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1784 * Number of variables: 1784 Notification: Performance of Generate backend data structure: time 0.01712/0.9021, allocations: 5.191 MB / 0.731 GB, free: 5.102 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.9022, allocations: 8.031 kB / 0.731 GB, free: 5.094 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02675/0.9289, allocations: 6.877 MB / 0.7378 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01633/0.9453, allocations: 5.747 MB / 0.7434 GB, free: 8.395 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004677/0.9458, allocations: 378 kB / 0.7437 GB, free: 8.023 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002987/0.9488, allocations: 0.4998 MB / 0.7442 GB, free: 7.523 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3497/1.299, allocations: 12.31 MB / 0.7562 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003213/1.299, allocations: 81.44 kB / 0.7563 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001248/1.3, allocations: 250.6 kB / 0.7566 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002013/1.302, allocations: 1.127 MB / 0.7577 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02326/1.325, allocations: 9.66 MB / 0.7671 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05816/1.384, allocations: 56.33 MB / 0.8221 GB, free: 79.12 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009479/1.393, allocations: 4.323 MB / 0.8263 GB, free: 77.52 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002113/1.395, allocations: 1.945 MB / 0.8282 GB, free: 76.69 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009293/1.405, allocations: 6.213 MB / 0.8343 GB, free: 73.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/1.405, allocations: 50.91 kB / 0.8343 GB, free: 73.75 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=154): time 3.787e-06/1.405, allocations: 0 / 0.8343 GB, free: 73.75 MB / 0.5261 GB Notification: Performance of matching and sorting (n=166): time 0.03236/1.437, allocations: 12.1 MB / 0.8462 GB, free: 69.12 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.205e-05/1.437, allocations: 198.7 kB / 0.8464 GB, free: 68.89 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007667/1.445, allocations: 4.954 MB / 0.8512 GB, free: 67.21 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003152/1.445, allocations: 49.39 kB / 0.8512 GB, free: 67.17 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002286/1.448, allocations: 3.86 MB / 0.855 GB, free: 64.19 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007562/1.448, allocations: 0.6661 MB / 0.8557 GB, free: 63.71 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003251/1.449, allocations: 130.5 kB / 0.8558 GB, free: 63.61 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002738/1.449, allocations: 0.5808 MB / 0.8564 GB, free: 63.19 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002397/1.451, allocations: 1.949 MB / 0.8583 GB, free: 62.56 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004112/1.455, allocations: 6.236 MB / 0.8643 GB, free: 56.08 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00473/1.46, allocations: 3.485 MB / 0.8677 GB, free: 54.82 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001321/1.46, allocations: 48.47 kB / 0.8678 GB, free: 54.81 MB / 0.5261 GB Notification: Performance of matching and sorting (n=865) (initialization): time 0.0146/1.475, allocations: 8.299 MB / 0.8759 GB, free: 51.73 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002218/1.475, allocations: 67.25 kB / 0.876 GB, free: 51.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002618/1.476, allocations: 156 kB / 0.8761 GB, free: 51.73 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001389/1.477, allocations: 0.5821 MB / 0.8767 GB, free: 51.63 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004454/1.481, allocations: 1.5 MB / 0.8781 GB, free: 51.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005243/1.487, allocations: 5.588 MB / 0.8836 GB, free: 46.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005498/1.492, allocations: 337.6 kB / 0.8839 GB, free: 46.29 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001291/1.494, allocations: 419.2 kB / 0.8843 GB, free: 45.89 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 697 * Number of states: 0 () * Number of discrete variables: 49 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.arrow.arrowLine.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.arrow.arrowLine.twoHeadedArrow,frameForce1.arrow.headAtOrigin,frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (815): * Single equations (assignments): 810 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001939/1.496, allocations: 0.6335 MB / 0.8849 GB, free: 45.26 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001197/1.497, allocations: 458 kB / 0.8854 GB, free: 44.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004999/1.502, allocations: 2.453 MB / 0.8878 GB, free: 42.77 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.091e-05/1.502, allocations: 23.75 kB / 0.8878 GB, free: 42.75 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.715e-05/1.502, allocations: 4 kB / 0.8878 GB, free: 42.75 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.932e-05/1.502, allocations: 6.75 kB / 0.8878 GB, free: 42.75 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01495/1.517, allocations: 7.15 MB / 0.8948 GB, free: 36.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.529e-05/1.517, allocations: 0 / 0.8948 GB, free: 36.92 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001074/1.518, allocations: 241.1 kB / 0.895 GB, free: 36.72 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009239/1.519, allocations: 339.9 kB / 0.8953 GB, free: 36.46 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001357/1.519, allocations: 31 kB / 0.8954 GB, free: 36.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004216/1.523, allocations: 4.933 MB / 0.9002 GB, free: 31.65 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/1.523, allocations: 11.83 kB / 0.9002 GB, free: 31.64 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005901/1.529, allocations: 5.065 MB / 0.9051 GB, free: 27 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001671/1.531, allocations: 0.5217 MB / 0.9057 GB, free: 26.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008035/1.532, allocations: 35.78 kB / 0.9057 GB, free: 26.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001467/1.533, allocations: 71.69 kB / 0.9058 GB, free: 26.39 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002091/1.533, allocations: 97.34 kB / 0.9059 GB, free: 26.33 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.539e-05/1.534, allocations: 51.22 kB / 0.9059 GB, free: 26.29 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005802/1.539, allocations: 3.529 MB / 0.9093 GB, free: 23.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.31e-07/1.539, allocations: 0 / 0.9093 GB, free: 23.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006439/1.546, allocations: 1.119 MB / 0.9104 GB, free: 22.08 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 121 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005949/1.546, allocations: 174.3 kB / 0.9106 GB, free: 21.92 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007153/1.554, allocations: 4.945 MB / 0.9154 GB, free: 17.39 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.207e-06/1.554, allocations: 0 / 0.9154 GB, free: 17.39 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001585/1.555, allocations: 1.401 MB / 0.9168 GB, free: 16.09 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00372/1.559, allocations: 0.5955 MB / 0.9174 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02001/1.579, allocations: 8.7 MB / 0.9259 GB, free: 7.797 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004835/1.584, allocations: 3.961 MB / 0.9298 GB, free: 4.844 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005462/1.589, allocations: 2.16 MB / 0.9319 GB, free: 3.473 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009829/1.59, allocations: 294.3 kB / 0.9321 GB, free: 3.195 MB / 0.5261 GB Notification: Performance of SimCode: time 2.044e-06/1.59, allocations: 4 kB / 0.9321 GB, free: 3.191 MB / 0.5261 GB Notification: Performance of Templates: time 0.3948/1.985, allocations: 39.81 MB / 0.971 GB, free: 108.5 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches