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.001051/0.001051, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.366/1.366, allocations: 225.6 MB / 234.8 MB, free: 3.234 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009208/0.0009206, allocations: 98.73 kB / 286.7 MB, free: 5.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1992/0.1992, allocations: 45.15 MB / 383.8 MB, free: 284 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.67e-05/1.673e-05, allocations: 4 kB / 453.2 MB, free: 75.84 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1202, allocations: 63.25 MB / 0.5044 GB, free: 12.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4711/0.5914, allocations: 108.3 MB / 0.6102 GB, free: 10.57 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/0.5917, allocations: 81.27 kB / 0.6102 GB, free: 10.53 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2735/0.8652, allocations: 108.4 MB / 0.7161 GB, free: 6.117 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.445e-06/0.8653, allocations: 4 kB / 0.7161 GB, free: 6.113 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003917/0.8657, allocations: 104 kB / 0.7162 GB, free: 6.012 MB / 0.4948 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.01731/0.883, allocations: 5.179 MB / 0.7213 GB, free: 0.7656 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.883, allocations: 8.031 kB / 0.7213 GB, free: 0.7578 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0285/0.9115, allocations: 6.88 MB / 0.728 GB, free: 9.859 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01737/0.9289, allocations: 5.735 MB / 0.7336 GB, free: 4.066 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003841/0.9294, allocations: 164 kB / 0.7338 GB, free: 3.906 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002657/0.9321, allocations: 299.9 kB / 0.734 GB, free: 3.613 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01524/0.9473, allocations: 6.795 MB / 0.7407 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02519/0.9725, allocations: 10.86 MB / 0.7513 GB, free: 0.7188 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000374/0.973, allocations: 83.23 kB / 0.7514 GB, free: 0.6367 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001885/0.9749, allocations: 40 kB / 0.7514 GB, free: 0.5977 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.322/1.297, allocations: 1.12 MB / 0.7525 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06232/1.359, allocations: 54.38 MB / 0.8056 GB, free: 89.02 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003817/1.363, allocations: 3.148 MB / 0.8087 GB, free: 88.35 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002092/1.365, allocations: 1.836 MB / 0.8105 GB, free: 88.31 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 9.224e-05/1.365, allocations: 27.34 kB / 0.8105 GB, free: 88.31 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/1.365, allocations: 48.81 kB / 0.8105 GB, free: 88.27 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=151): time 3.857e-06/1.365, allocations: 2.297 kB / 0.8105 GB, free: 88.27 MB / 0.5261 GB Notification: Performance of matching and sorting (n=165): time 0.02981/1.395, allocations: 15.85 MB / 0.826 GB, free: 83.84 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.918e-05/1.395, allocations: 197 kB / 0.8262 GB, free: 83.62 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004791/1.4, allocations: 3.936 MB / 0.83 GB, free: 82.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002237/1.4, allocations: 25.7 kB / 0.8301 GB, free: 82.17 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001775/1.402, allocations: 3.923 MB / 0.8339 GB, free: 79.29 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005468/1.403, allocations: 0.6527 MB / 0.8345 GB, free: 78.82 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002055/1.403, allocations: 0 / 0.8345 GB, free: 78.82 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003621/1.403, allocations: 0.6039 MB / 0.8351 GB, free: 78.39 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002385/1.406, allocations: 1.9 MB / 0.837 GB, free: 77.73 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003875/1.41, allocations: 6.284 MB / 0.8431 GB, free: 71.11 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003751/1.413, allocations: 3.451 MB / 0.8465 GB, free: 70.14 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.197e-05/1.413, allocations: 52.31 kB / 0.8465 GB, free: 70.14 MB / 0.5261 GB Notification: Performance of matching and sorting (n=897) (initialization): time 0.01039/1.424, allocations: 7.536 MB / 0.8539 GB, free: 67.68 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.912e-05/1.424, allocations: 74.22 kB / 0.854 GB, free: 67.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001357/1.424, allocations: 162 kB / 0.8541 GB, free: 67.68 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001116/1.425, allocations: 0.5812 MB / 0.8547 GB, free: 67.59 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004013/1.429, allocations: 1.559 MB / 0.8562 GB, free: 67.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004998/1.434, allocations: 5.41 MB / 0.8615 GB, free: 63.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005134/1.439, allocations: 217 kB / 0.8617 GB, free: 63.64 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001211/1.441, allocations: 435.9 kB / 0.8621 GB, free: 63.58 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 721 * 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 (847): * Single equations (assignments): 842 * 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.0009905/1.442, allocations: 497.8 kB / 0.8626 GB, free: 63.18 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008114/1.442, allocations: 401.2 kB / 0.863 GB, free: 62.96 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003488/1.446, allocations: 2.286 MB / 0.8652 GB, free: 62.12 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.994e-05/1.446, allocations: 25.19 kB / 0.8652 GB, free: 62.11 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/1.446, allocations: 3.688 kB / 0.8652 GB, free: 62.11 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.525e-05/1.446, allocations: 14.44 kB / 0.8653 GB, free: 62.11 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0107/1.457, allocations: 6.36 MB / 0.8715 GB, free: 59.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/1.457, allocations: 0 / 0.8715 GB, free: 59.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/1.458, allocations: 226.4 kB / 0.8717 GB, free: 59.71 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000847/1.459, allocations: 333.5 kB / 0.872 GB, free: 59.62 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.767e-05/1.459, allocations: 11.02 kB / 0.872 GB, free: 59.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004013/1.463, allocations: 4.726 MB / 0.8766 GB, free: 56.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/1.463, allocations: 3.828 kB / 0.8766 GB, free: 56.12 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00508/1.468, allocations: 4.563 MB / 0.8811 GB, free: 52.41 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009881/1.469, allocations: 434.6 kB / 0.8815 GB, free: 51.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003801/1.469, allocations: 4 kB / 0.8815 GB, free: 51.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001199/1.471, allocations: 49.5 kB / 0.8815 GB, free: 51.95 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001735/1.471, allocations: 91.91 kB / 0.8816 GB, free: 51.88 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.4e-05/1.471, allocations: 43.09 kB / 0.8817 GB, free: 51.84 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003491/1.474, allocations: 2.656 MB / 0.8843 GB, free: 49.54 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.2e-07/1.474, allocations: 3.938 kB / 0.8843 GB, free: 49.53 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006379/1.481, allocations: 0.9666 MB / 0.8852 GB, free: 48.57 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (125): * Single equations (assignments): 120 * 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.0004947/1.481, allocations: 137.1 kB / 0.8853 GB, free: 48.45 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007117/1.488, allocations: 4.741 MB / 0.89 GB, free: 44.16 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/1.488, allocations: 0 / 0.89 GB, free: 44.16 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001914/1.49, allocations: 1.386 MB / 0.8913 GB, free: 42.89 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004346/1.495, allocations: 0.4884 MB / 0.8918 GB, free: 42.48 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01955/1.514, allocations: 8.519 MB / 0.9001 GB, free: 34.88 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004388/1.519, allocations: 3.967 MB / 0.904 GB, free: 31.91 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005087/1.524, allocations: 2.185 MB / 0.9061 GB, free: 30.55 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007181/1.525, allocations: 273.9 kB / 0.9064 GB, free: 30.29 MB / 0.5261 GB Notification: Performance of SimCode: time 1.874e-06/1.525, allocations: 0 / 0.9064 GB, free: 30.29 MB / 0.5261 GB Notification: Performance of Templates: time 0.05908/1.584, allocations: 32.7 MB / 0.9383 GB, free: 4.355 MB / 0.5261 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