Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.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.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001049/0.001049, allocations: 202.1 kB / 15.8 MB, free: 6.332 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.251/1.251, allocations: 226.6 MB / 243.1 MB, free: 12.54 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007384/0.0007386, allocations: 100.4 kB / 295.1 MB, free: 4.395 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1773/0.1773, allocations: 44.83 MB / 392 MB, free: 11.37 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002447/0.0002448, allocations: 8 kB / 464.7 MB, free: 68.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0875/0.08777, allocations: 62.96 MB / 0.5153 GB, free: 5.094 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.2337/0.3215, allocations: 65.68 MB / 0.5795 GB, free: 7.684 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02742/0.349, allocations: 13.74 MB / 0.5929 GB, free: 14.31 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01454/0.3636, allocations: 312.6 kB / 0.5932 GB, free: 14.27 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01101/0.3746, allocations: 3.474 MB / 0.5966 GB, free: 11.98 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.026/0.4006, allocations: 10.2 MB / 0.6065 GB, free: 5.027 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004129/0.4048, allocations: 0.7937 MB / 0.6073 GB, free: 4.52 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.06915/0.474, allocations: 62.07 MB / 0.6679 GB, free: 6.43 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008721/0.4827, allocations: 5.604 MB / 0.6734 GB, free: 0.7617 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003123/0.4859, allocations: 1.603 MB / 0.675 GB, free: 15.15 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003593/0.4895, allocations: 2.473 MB / 0.6774 GB, free: 12.67 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008367/0.4904, allocations: 175.9 kB / 0.6775 GB, free: 12.5 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003065/0.4934, allocations: 1.077 MB / 0.6786 GB, free: 11.42 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003194/0.4966, allocations: 2.19 MB / 0.6807 GB, free: 9.223 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002033/0.4987, allocations: 1.03 MB / 0.6817 GB, free: 8.184 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007862/0.5066, allocations: 6.827 MB / 0.6884 GB, free: 1.344 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.5066, allocations: 0 / 0.6884 GB, free: 1.344 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5066, allocations: 0 / 0.6884 GB, free: 1.344 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002519/0.5069, allocations: 0 / 0.6884 GB, free: 1.344 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1787 * Number of variables: 1787 Notification: Performance of Generate backend data structure: time 0.009968/0.5168, allocations: 5.148 MB / 0.6934 GB, free: 12.12 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.083e-05/0.5169, allocations: 12.03 kB / 0.6934 GB, free: 12.11 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01106/0.528, allocations: 2.656 MB / 0.696 GB, free: 9.445 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007955/0.5359, allocations: 3.641 MB / 0.6996 GB, free: 5.75 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002501/0.5362, allocations: 287.3 kB / 0.6999 GB, free: 5.469 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001217/0.5375, allocations: 391.6 kB / 0.7002 GB, free: 5.086 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02069/0.5582, allocations: 11.98 MB / 0.7119 GB, free: 8.262 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001941/0.5584, allocations: 55.53 kB / 0.712 GB, free: 8.207 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008906/0.5593, allocations: 183.8 kB / 0.7122 GB, free: 8.027 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003636/0.5629, allocations: 2.268 MB / 0.7144 GB, free: 5.754 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01745/0.5804, allocations: 9.908 MB / 0.7241 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2434/0.8238, allocations: 46.83 MB / 0.7698 GB, free: 155.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009607/0.8335, allocations: 3.917 MB / 0.7736 GB, free: 154.8 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002579/0.8361, allocations: 2.133 MB / 0.7757 GB, free: 154.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007923/0.844, allocations: 5.895 MB / 0.7815 GB, free: 151.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/0.8441, allocations: 54.11 kB / 0.7815 GB, free: 151.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=150): time 3.697e-06/0.8441, allocations: 0 / 0.7815 GB, free: 151.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=162): time 0.03986/0.884, allocations: 17.46 MB / 0.7986 GB, free: 143.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.901e-05/0.8841, allocations: 227.4 kB / 0.7988 GB, free: 143.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005877/0.89, allocations: 5.644 MB / 0.8043 GB, free: 140.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002294/0.8902, allocations: 53.48 kB / 0.8043 GB, free: 140.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00154/0.8918, allocations: 3.801 MB / 0.8081 GB, free: 136.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004497/0.8922, allocations: 0.6583 MB / 0.8087 GB, free: 135.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002085/0.8924, allocations: 132 kB / 0.8088 GB, free: 135.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002347/0.8927, allocations: 0.5955 MB / 0.8094 GB, free: 135.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002485/0.8952, allocations: 2.274 MB / 0.8116 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003606/0.8988, allocations: 6.57 MB / 0.818 GB, free: 124.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004/0.9028, allocations: 3.771 MB / 0.8217 GB, free: 120.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.396e-05/0.9029, allocations: 44 kB / 0.8218 GB, free: 120.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=904) (initialization): time 0.01332/0.9162, allocations: 9.58 MB / 0.8311 GB, free: 111 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.358e-05/0.9163, allocations: 68 kB / 0.8312 GB, free: 111 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001123/0.9164, allocations: 152.2 kB / 0.8313 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002694/0.9191, allocations: 1.261 MB / 0.8326 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004374/0.9235, allocations: 1.571 MB / 0.8341 GB, free: 108 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007515/0.931, allocations: 7.892 MB / 0.8418 GB, free: 99.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004835/0.9359, allocations: 368.9 kB / 0.8422 GB, free: 99.45 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008841/0.9368, allocations: 428.5 kB / 0.8426 GB, free: 99.04 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 692 * Number of states: 0 () * Number of discrete variables: 49 (frameTorque2.arrow.arrowLine.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque1.arrow.arrowLine.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,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],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.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 (842): * Single equations (assignments): 835 * Array equations: 5 * 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 {(2,100.0%) 13,(2,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003983/0.9408, allocations: 2.523 MB / 0.845 GB, free: 96.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008603/0.9417, allocations: 458 kB / 0.8455 GB, free: 96.05 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005455/0.9472, allocations: 3.384 MB / 0.8488 GB, free: 92.64 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.861e-05/0.9472, allocations: 16 kB / 0.8488 GB, free: 92.62 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.987e-05/0.9472, allocations: 11.95 kB / 0.8488 GB, free: 92.61 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.567e-05/0.9473, allocations: 7.969 kB / 0.8488 GB, free: 92.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01624/0.9635, allocations: 8.313 MB / 0.8569 GB, free: 84.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.105e-05/0.9636, allocations: 0 / 0.8569 GB, free: 84.23 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001178/0.9648, allocations: 259.6 kB / 0.8572 GB, free: 83.98 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002562/0.9673, allocations: 0.9994 MB / 0.8581 GB, free: 82.98 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002022/0.9676, allocations: 35.98 kB / 0.8582 GB, free: 82.94 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007393/0.975, allocations: 7.218 MB / 0.8652 GB, free: 75.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.975, allocations: 0 / 0.8652 GB, free: 75.46 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007554/0.9826, allocations: 5.847 MB / 0.8709 GB, free: 69.55 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001422/0.984, allocations: 0.5306 MB / 0.8715 GB, free: 69 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001029/0.9851, allocations: 35.95 kB / 0.8715 GB, free: 68.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002153/0.9872, allocations: 92.89 kB / 0.8716 GB, free: 68.88 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002096/0.9875, allocations: 96.81 kB / 0.8717 GB, free: 68.78 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/0.9876, allocations: 48.8 kB / 0.8717 GB, free: 68.73 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005331/0.9929, allocations: 3.601 MB / 0.8752 GB, free: 65.16 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.02e-07/0.993, allocations: 0 / 0.8752 GB, free: 65.16 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006312/0.9993, allocations: 1.178 MB / 0.8764 GB, free: 63.98 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (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 (120): * Single equations (assignments): 115 * 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%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007127/1, allocations: 164.2 kB / 0.8765 GB, free: 63.82 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008715/1.009, allocations: 5.532 MB / 0.8819 GB, free: 58.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/1.009, allocations: 8.188 kB / 0.882 GB, free: 58.29 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002042/1.011, allocations: 1.615 MB / 0.8835 GB, free: 56.65 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004995/1.016, allocations: 0.5901 MB / 0.8841 GB, free: 56.07 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0214/1.037, allocations: 13.38 MB / 0.8972 GB, free: 42.61 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005073/1.042, allocations: 3.838 MB / 0.9009 GB, free: 38.75 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001295/1.044, allocations: 343.4 kB / 0.9013 GB, free: 38.41 MB / 0.5261 GB Notification: Performance of SimCode: time 9.01e-07/1.044, allocations: 0 / 0.9013 GB, free: 38.41 MB / 0.5261 GB Notification: Performance of Templates: time 0.3179/1.362, allocations: 113.6 MB / 1.012 GB, free: 149.4 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameTorques --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches