Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_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_cpp_ModelicaTest.MultiBody.Forces.FrameForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001789/0.001789, allocations: 199.8 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, allocations: 226.5 MB / 243.4 MB, free: 6.492 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008407/0.0008407, allocations: 98.17 kB / 295.5 MB, free: 6.691 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3013/0.3013, allocations: 44.81 MB / 392.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003247/0.000325, allocations: 8 kB / 465.3 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3097, allocations: 62.97 MB / 0.5159 GB, free: 37.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces2): time 0.1/0.4098, allocations: 111.9 MB / 0.6252 GB, free: 9.297 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.06028/0.4702, allocations: 22.23 MB / 0.6469 GB, free: 2.984 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0227/0.4929, allocations: 0.5222 MB / 0.6474 GB, free: 2.461 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0197/0.5126, allocations: 5.968 MB / 0.6532 GB, free: 12.46 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04711/0.5598, allocations: 17.17 MB / 0.67 GB, free: 11.23 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008949/0.5688, allocations: 1.287 MB / 0.6713 GB, free: 9.938 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.4237/0.9925, allocations: 121.6 MB / 0.79 GB, free: 9.609 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01422/1.007, allocations: 10.5 MB / 0.8002 GB, free: 2.027 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004495/1.011, allocations: 2.436 MB / 0.8026 GB, free: 404 kB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005964/1.017, allocations: 3.853 MB / 0.8064 GB, free: 13.65 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.001554/1.019, allocations: 268 kB / 0.8066 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003608/1.022, allocations: 1.334 MB / 0.8079 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.004497/1.027, allocations: 3.402 MB / 0.8113 GB, free: 9.844 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.006652/1.034, allocations: 3.525 MB / 0.8147 GB, free: 8.605 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.01229/1.046, allocations: 10.43 MB / 0.8249 GB, free: 15.55 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 1.224e-05/1.046, allocations: 4 kB / 0.8249 GB, free: 15.55 MB / 0.5573 GB Notification: Performance of FrontEnd: time 3.066e-06/1.046, allocations: 0 / 0.8249 GB, free: 15.55 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0005767/1.047, allocations: 0 / 0.8249 GB, free: 15.55 MB / 0.5573 GB 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.02181/1.068, allocations: 7.613 MB / 0.8323 GB, free: 8.523 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/1.069, allocations: 12.03 kB / 0.8323 GB, free: 8.512 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0177/1.086, allocations: 3.663 MB / 0.8359 GB, free: 5 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01395/1.1, allocations: 5.987 MB / 0.8418 GB, free: 0.6133 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004454/1.101, allocations: 453.4 kB / 0.8422 GB, free: 376 kB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002393/1.103, allocations: 0.6077 MB / 0.8428 GB, free: 15.96 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03829/1.141, allocations: 17.85 MB / 0.8602 GB, free: 2.059 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005872/1.142, allocations: 81 kB / 0.8603 GB, free: 2.016 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002418/1.145, allocations: 282 kB / 0.8606 GB, free: 1.938 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005643/1.15, allocations: 3.137 MB / 0.8636 GB, free: 15.34 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03149/1.182, allocations: 14.92 MB / 0.8782 GB, free: 4.871 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5061/1.688, allocations: 66.33 MB / 0.943 GB, free: 204.6 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0167/1.705, allocations: 6.68 MB / 0.9495 GB, free: 203.9 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005283/1.71, allocations: 3.953 MB / 0.9534 GB, free: 202.2 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006403/1.711, allocations: 0.6512 MB / 0.954 GB, free: 201.6 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.48e-05/1.711, allocations: 62.42 kB / 0.9541 GB, free: 201.6 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=239): time 5.511e-06/1.711, allocations: 1.812 kB / 0.9541 GB, free: 201.6 MB / 0.6043 GB Notification: Performance of matching and sorting (n=263): time 0.08193/1.793, allocations: 31.65 MB / 0.985 GB, free: 189.6 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.014e-05/1.793, allocations: 292.6 kB / 0.9853 GB, free: 189.2 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01041/1.803, allocations: 7.326 MB / 0.9924 GB, free: 185.4 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.0005555/1.804, allocations: 74.61 kB / 0.9925 GB, free: 185.3 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.002598/1.806, allocations: 5.228 MB / 0.9976 GB, free: 180.1 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.001072/1.807, allocations: 1.029 MB / 0.9986 GB, free: 179.1 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000423/1.808, allocations: 185.9 kB / 0.9988 GB, free: 178.9 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.0003463/1.808, allocations: 0.6864 MB / 0.9994 GB, free: 178.2 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004259/1.812, allocations: 3.445 MB / 1.003 GB, free: 174.8 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006029/1.819, allocations: 8.711 MB / 1.011 GB, free: 163.7 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0113/1.83, allocations: 12.99 MB / 1.024 GB, free: 148.3 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001203/1.83, allocations: 52 kB / 1.024 GB, free: 148.2 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1184) (initialization): time 0.02365/1.854, allocations: 13.91 MB / 1.038 GB, free: 134.3 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001938/1.854, allocations: 84.97 kB / 1.038 GB, free: 134.2 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000261/1.854, allocations: 184 kB / 1.038 GB, free: 134 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005505/1.86, allocations: 2.287 MB / 1.04 GB, free: 131.7 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006284/1.866, allocations: 2.098 MB / 1.042 GB, free: 129.6 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01515/1.881, allocations: 15.31 MB / 1.057 GB, free: 113.8 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006862/1.888, allocations: 0.5109 MB / 1.058 GB, free: 113.3 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001422/1.89, allocations: 0.5311 MB / 1.058 GB, free: 112.8 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 837 * Number of states: 0 () * Number of discrete variables: 74 (frameForce4.arrow.arrowLine.twoHeadedArrow,frameForce4.arrow.headAtOrigin,frameForce3.arrow.arrowLine.twoHeadedArrow,frameForce3.arrow.headAtOrigin,frameForce2.arrow.arrowLine.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce1.arrow.arrowLine.twoHeadedArrow,frameForce1.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.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.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.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 (1108): * Single equations (assignments): 1101 * 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 {(2,100.0%) 12,(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006767/1.896, allocations: 3.513 MB / 1.062 GB, free: 109.3 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001428/1.898, allocations: 0.6171 MB / 1.062 GB, free: 108.6 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01115/1.909, allocations: 6.523 MB / 1.069 GB, free: 102.1 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.654e-05/1.909, allocations: 34.16 kB / 1.069 GB, free: 102.1 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.17e-05/1.909, allocations: 19.94 kB / 1.069 GB, free: 102 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-05/1.909, allocations: 11.95 kB / 1.069 GB, free: 102 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02504/1.934, allocations: 14.66 MB / 1.083 GB, free: 87.34 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.539e-05/1.934, allocations: 0 / 1.083 GB, free: 87.34 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002039/1.936, allocations: 459.3 kB / 1.083 GB, free: 86.89 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004661/1.941, allocations: 1.966 MB / 1.085 GB, free: 84.91 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003599/1.941, allocations: 43.98 kB / 1.085 GB, free: 84.87 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01321/1.954, allocations: 14.14 MB / 1.099 GB, free: 70.2 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/1.954, allocations: 96 / 1.099 GB, free: 70.2 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01417/1.969, allocations: 10.28 MB / 1.109 GB, free: 59.82 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001856/1.971, allocations: 0.696 MB / 1.11 GB, free: 59.1 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001491/1.972, allocations: 44 kB / 1.11 GB, free: 59.06 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002936/1.975, allocations: 191.7 kB / 1.11 GB, free: 58.87 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004746/1.976, allocations: 161.7 kB / 1.11 GB, free: 58.71 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002097/1.976, allocations: 65.64 kB / 1.11 GB, free: 58.65 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 0.006686/1.982, allocations: 4.653 MB / 1.115 GB, free: 54.02 MB / 0.6043 GB Notification: Performance of sort global known variables: time 3.31e-07/1.982, allocations: 0 / 1.115 GB, free: 54.02 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.007682/1.99, allocations: 1.786 MB / 1.117 GB, free: 52.24 MB / 0.6043 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.0004925/1.991, allocations: 185.9 kB / 1.117 GB, free: 52.05 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.01106/2.002, allocations: 8.523 MB / 1.125 GB, free: 43.52 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/2.002, allocations: 0 / 1.125 GB, free: 43.52 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 0.003973/2.006, allocations: 2.993 MB / 1.128 GB, free: 40.48 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006329/2.012, allocations: 0.8825 MB / 1.129 GB, free: 39.6 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02614/2.038, allocations: 20.21 MB / 1.149 GB, free: 19.36 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006317/2.045, allocations: 5.339 MB / 1.154 GB, free: 13.99 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001669/2.046, allocations: 467.4 kB / 1.154 GB, free: 13.53 MB / 0.6043 GB Notification: Performance of SimCode: time 1.472e-06/2.046, allocations: 0 / 1.154 GB, free: 13.53 MB / 0.6043 GB Notification: Performance of Templates: time 0.5172/2.564, allocations: 230.2 MB / 1.379 GB, free: 42.07 MB / 0.6043 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForces2 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForces2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForces2/FrameForces2.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches