Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.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.FrameForces2,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.FrameForces2") translateModel(ModelicaTest.MultiBody.Forces.FrameForces2,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.FrameForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009767/0.0009767, allocations: 200.7 kB / 18.1 MB, free: 3.609 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 226.5 MB / 245.4 MB, free: 8.215 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000798/0.0007979, allocations: 104.8 kB / 297.5 MB, free: 6.875 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3518/0.3518, allocations: 44.82 MB / 394.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002767/0.0002767, allocations: 8 kB / 467.9 MB, free: 12.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3867/0.387, allocations: 62.95 MB / 0.5184 GB, free: 37.39 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1473/0.5343, allocations: 107.8 MB / 0.6237 GB, free: 13.46 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/0.5347, allocations: 83.94 kB / 0.6238 GB, free: 13.38 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7352/1.27, allocations: 156.2 MB / 0.7763 GB, free: 68.25 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.647e-06/1.27, allocations: 0 / 0.7763 GB, free: 68.25 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0006582/1.271, allocations: 155.9 kB / 0.7764 GB, free: 68.1 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2601 * Number of variables: 2601 Notification: Performance of Generate backend data structure: time 0.02857/1.299, allocations: 8.161 MB / 0.7844 GB, free: 59.84 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/1.299, allocations: 8.031 kB / 0.7844 GB, free: 59.83 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03343/1.333, allocations: 8.628 MB / 0.7928 GB, free: 51.18 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0218/1.355, allocations: 8.293 MB / 0.8009 GB, free: 42.81 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007392/1.355, allocations: 0.5739 MB / 0.8015 GB, free: 42.23 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004365/1.36, allocations: 0.7695 MB / 0.8022 GB, free: 41.46 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04708/1.407, allocations: 17.94 MB / 0.8198 GB, free: 22.05 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008016/1.408, allocations: 107.2 kB / 0.8199 GB, free: 21.95 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00453/1.412, allocations: 367.8 kB / 0.8202 GB, free: 21.59 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00248/1.415, allocations: 1.571 MB / 0.8217 GB, free: 20.01 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03206/1.447, allocations: 14.35 MB / 0.8358 GB, free: 5.625 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7175/2.164, allocations: 75.31 MB / 0.9093 GB, free: 61.98 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01671/2.181, allocations: 7.483 MB / 0.9166 GB, free: 61.29 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004132/2.185, allocations: 3.57 MB / 0.9201 GB, free: 61.24 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005583/2.186, allocations: 0.6557 MB / 0.9207 GB, free: 60.68 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.892e-05/2.186, allocations: 64.41 kB / 0.9208 GB, free: 60.64 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=239): time 4.93e-06/2.186, allocations: 0 / 0.9208 GB, free: 60.64 MB / 0.5262 GB Notification: Performance of matching and sorting (n=263): time 0.06847/2.254, allocations: 26.65 MB / 0.9468 GB, free: 54.87 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.498e-05/2.255, allocations: 283.8 kB / 0.9471 GB, free: 54.55 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01286/2.267, allocations: 7.29 MB / 0.9542 GB, free: 54.02 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.0006775/2.268, allocations: 65.17 kB / 0.9543 GB, free: 53.98 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.00492/2.273, allocations: 5.335 MB / 0.9595 GB, free: 51.32 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001272/2.274, allocations: 1.025 MB / 0.9605 GB, free: 50.75 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004498/2.275, allocations: 171.3 kB / 0.9607 GB, free: 50.75 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.0004469/2.275, allocations: 0.666 MB / 0.9613 GB, free: 50.42 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003619/2.279, allocations: 2.902 MB / 0.9641 GB, free: 50.4 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00561/2.285, allocations: 8.164 MB / 0.9721 GB, free: 42.67 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01149/2.296, allocations: 12.06 MB / 0.9839 GB, free: 33.51 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001931/2.296, allocations: 64 kB / 0.9839 GB, free: 33.5 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1116) (initialization): time 0.02144/2.318, allocations: 11.59 MB / 0.9953 GB, free: 29.36 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.000242/2.318, allocations: 84.62 kB / 0.9953 GB, free: 29.36 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003542/2.318, allocations: 185 kB / 0.9955 GB, free: 29.36 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002365/2.321, allocations: 0.9707 MB / 0.9965 GB, free: 29.16 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005951/2.327, allocations: 1.926 MB / 0.9983 GB, free: 28.92 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009843/2.337, allocations: 11.01 MB / 1.009 GB, free: 19.78 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00735/2.344, allocations: 456.5 kB / 1.01 GB, free: 19.37 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002276/2.346, allocations: 0.5095 MB / 1.01 GB, free: 18.87 MB / 0.5262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 845 * Number of states: 0 () * Number of discrete variables: 74 (frameForce4.arrow.arrowLine.twoHeadedArrow,frameForce4.arrow.headAtOrigin,frameForce4.color[3],frameForce4.color[2],frameForce4.color[1],BodyCylinder4.color[3],BodyCylinder4.color[2],BodyCylinder4.color[1],BodyCylinder4.body.sphereColor[3],BodyCylinder4.body.sphereColor[2],BodyCylinder4.body.sphereColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameForce3.arrow.arrowLine.twoHeadedArrow,frameForce3.arrow.headAtOrigin,frameForce3.color[3],frameForce3.color[2],frameForce3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1040): * Single equations (assignments): 1033 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008411/2.355, allocations: 3.527 MB / 1.013 GB, free: 15.78 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001813/2.357, allocations: 0.6246 MB / 1.014 GB, free: 15.15 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009163/2.366, allocations: 4.593 MB / 1.019 GB, free: 11.36 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.815e-05/2.366, allocations: 35.8 kB / 1.019 GB, free: 11.33 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-05/2.366, allocations: 12 kB / 1.019 GB, free: 11.32 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-05/2.366, allocations: 11.11 kB / 1.019 GB, free: 11.32 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02611/2.392, allocations: 12.44 MB / 1.031 GB, free: 1.234 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.466e-05/2.392, allocations: 0 / 1.031 GB, free: 1.234 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001733/2.394, allocations: 388.3 kB / 1.031 GB, free: 0.918 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001701/2.396, allocations: 0.669 MB / 1.032 GB, free: 424 kB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002071/2.396, allocations: 40 kB / 1.032 GB, free: 384 kB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01123/2.407, allocations: 9.897 MB / 1.042 GB, free: 6.82 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.269e-06/2.407, allocations: 4.031 kB / 1.042 GB, free: 6.816 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0162/2.423, allocations: 7.796 MB / 1.049 GB, free: 15.95 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003143/2.426, allocations: 0.6684 MB / 1.05 GB, free: 15.28 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002114/2.429, allocations: 50.95 kB / 1.05 GB, free: 15.23 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003506/2.432, allocations: 139.8 kB / 1.05 GB, free: 15.14 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005989/2.433, allocations: 154.6 kB / 1.05 GB, free: 15.04 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003018/2.433, allocations: 71.7 kB / 1.05 GB, free: 14.97 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.01081/2.444, allocations: 4.629 MB / 1.055 GB, free: 11.2 MB / 0.5574 GB Notification: Performance of sort global known variables: time 5.21e-07/2.444, allocations: 4 kB / 1.055 GB, free: 11.2 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.01139/2.455, allocations: 1.648 MB / 1.056 GB, free: 9.559 MB / 0.5574 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 (207): * Single equations (assignments): 200 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 10,(1,100.0%) 10,(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.000886/2.456, allocations: 190.9 kB / 1.056 GB, free: 9.375 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.01452/2.471, allocations: 7.497 MB / 1.064 GB, free: 2.773 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-05/2.471, allocations: 4 kB / 1.064 GB, free: 2.77 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.004529/2.475, allocations: 2.605 MB / 1.066 GB, free: 436 kB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01235/2.488, allocations: 1.038 MB / 1.067 GB, free: 15.91 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04335/2.531, allocations: 19.01 MB / 1.086 GB, free: 15.05 MB / 0.5887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01392/2.545, allocations: 5.393 MB / 1.091 GB, free: 9.773 MB / 0.5887 GB Notification: Performance of simCode: alias equations: time 0.01091/2.556, allocations: 2.758 MB / 1.094 GB, free: 7.031 MB / 0.5887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002086/2.558, allocations: 403.4 kB / 1.094 GB, free: 6.641 MB / 0.5887 GB Notification: Performance of SimCode: time 1.102e-06/2.558, allocations: 0 / 1.094 GB, free: 6.641 MB / 0.5887 GB Notification: Performance of Templates: time 0.471/3.029, allocations: 62.27 MB / 1.155 GB, free: 168.5 MB / 0.6043 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForces2/FrameForces2.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches