Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,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.FrameForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,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.FrameForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001001/0.001001, allocations: 94.53 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001266/0.001266, allocations: 205.5 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.385/1.385, allocations: 227.2 MB / 245.9 MB, free: 12.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2166/0.2166, allocations: 45.92 MB / 344 MB, free: 12.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002881/0.0002881, allocations: 11.98 kB / 417.9 MB, free: 20.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1431, allocations: 63.45 MB / 481.4 MB, free: 5.473 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques): time 0.4046/0.5478, allocations: 81.82 MB / 0.55 GB, free: 12.6 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0531/0.6009, allocations: 18.47 MB / 0.568 GB, free: 14.75 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02701/0.628, allocations: 411 kB / 0.5684 GB, free: 14.35 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01802/0.6461, allocations: 4.157 MB / 0.5725 GB, free: 10.18 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05026/0.6964, allocations: 11.71 MB / 0.5839 GB, free: 14.44 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007023/0.7034, allocations: 0.9128 MB / 0.5848 GB, free: 13.53 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.07372/0.7772, allocations: 49.04 MB / 0.6327 GB, free: 12.45 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01214/0.7894, allocations: 7.149 MB / 0.6397 GB, free: 5.219 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004657/0.7941, allocations: 1.503 MB / 0.6411 GB, free: 3.711 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004051/0.7982, allocations: 1.951 MB / 0.6431 GB, free: 1.754 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002454/0.8006, allocations: 208 kB / 0.6433 GB, free: 1.551 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004781/0.8055, allocations: 1.081 MB / 0.6443 GB, free: 480 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004894/0.8104, allocations: 2.416 MB / 0.6467 GB, free: 14.04 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003017/0.8134, allocations: 1.248 MB / 0.6479 GB, free: 12.79 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01139/0.8249, allocations: 8.362 MB / 0.6561 GB, free: 4.406 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.8249, allocations: 0 / 0.6561 GB, free: 4.406 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.8249, allocations: 0 / 0.6561 GB, free: 4.406 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0004989/0.8254, allocations: 0 / 0.6561 GB, free: 4.406 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2215 * Number of variables: 2215 Notification: Performance of Generate backend data structure: time 0.01713/0.8426, allocations: 6.595 MB / 0.6625 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.8426, allocations: 8.031 kB / 0.6625 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04433/0.887, allocations: 8.23 MB / 0.6705 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01315/0.9002, allocations: 4.304 MB / 0.6747 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005041/0.9007, allocations: 365.3 kB / 0.6751 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002547/0.9033, allocations: 479.7 kB / 0.6755 GB, free: 260 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03457/0.9379, allocations: 15.28 MB / 0.6905 GB, free: 20 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000275/0.9382, allocations: 71.42 kB / 0.6905 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009288/0.9391, allocations: 231.7 kB / 0.6908 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005705/0.9449, allocations: 2.88 MB / 0.6936 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3483/1.293, allocations: 12.91 MB / 0.7062 GB, free: 178.6 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07902/1.372, allocations: 57.08 MB / 0.7619 GB, free: 140 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01444/1.387, allocations: 5.872 MB / 0.7677 GB, free: 136.9 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01265/1.399, allocations: 8.039 MB / 0.7755 GB, free: 130.9 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.898e-05/1.4, allocations: 60.16 kB / 0.7756 GB, free: 130.8 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=227): time 5.922e-06/1.4, allocations: 0 / 0.7756 GB, free: 130.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=269): time 0.07114/1.471, allocations: 30.26 MB / 0.8051 GB, free: 100.3 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.839e-05/1.471, allocations: 239.6 kB / 0.8053 GB, free: 100 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007461/1.478, allocations: 6.659 MB / 0.8118 GB, free: 93.38 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006817/1.479, allocations: 70.95 kB / 0.8119 GB, free: 93.31 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002462/1.482, allocations: 4.406 MB / 0.8162 GB, free: 88.91 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001264/1.483, allocations: 1.027 MB / 0.8172 GB, free: 87.89 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000326/1.483, allocations: 156.7 kB / 0.8174 GB, free: 87.73 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003128/1.483, allocations: 0.6369 MB / 0.818 GB, free: 87.09 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003658/1.487, allocations: 3.209 MB / 0.8211 GB, free: 83.88 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005309/1.492, allocations: 7.867 MB / 0.8288 GB, free: 73.68 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005361/1.498, allocations: 4.898 MB / 0.8336 GB, free: 68.79 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.299e-05/1.498, allocations: 44 kB / 0.8336 GB, free: 68.74 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1037) (initialization): time 0.01849/1.516, allocations: 12.41 MB / 0.8457 GB, free: 56.33 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001079/1.517, allocations: 76 kB / 0.8458 GB, free: 56.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000173/1.517, allocations: 164 kB / 0.846 GB, free: 56.09 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004097/1.521, allocations: 1.798 MB / 0.8477 GB, free: 54.29 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006248/1.527, allocations: 1.821 MB / 0.8495 GB, free: 52.46 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01249/1.54, allocations: 12.31 MB / 0.8615 GB, free: 39.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006749/1.546, allocations: 464.4 kB / 0.862 GB, free: 39.43 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00105/1.547, allocations: 493.1 kB / 0.8624 GB, free: 38.95 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 750 * Number of states: 0 () * Number of discrete variables: 65 (frameTorque2.torqueArrow.arrowLine.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.forceArrow.arrowLine.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque1.torqueArrow.arrowLine.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.forceArrow.arrowLine.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[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 (955): * Single equations (assignments): 948 * 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%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004297/1.552, allocations: 2.995 MB / 0.8654 GB, free: 35.95 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009495/1.553, allocations: 0.5399 MB / 0.8659 GB, free: 35.4 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008843/1.562, allocations: 6.243 MB / 0.872 GB, free: 29.14 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.463e-05/1.562, allocations: 35.98 kB / 0.872 GB, free: 29.11 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.488e-05/1.562, allocations: 12 kB / 0.872 GB, free: 29.09 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.179e-05/1.562, allocations: 11.95 kB / 0.872 GB, free: 29.08 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02271/1.584, allocations: 13.92 MB / 0.8856 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.448e-05/1.584, allocations: 4 kB / 0.8856 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002239/1.587, allocations: 447.2 kB / 0.8861 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003993/1.591, allocations: 1.531 MB / 0.8876 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006669/1.591, allocations: 51.98 kB / 0.8876 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01261/1.604, allocations: 11.52 MB / 0.8989 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/1.604, allocations: 11.89 kB / 0.8989 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01607/1.62, allocations: 10.66 MB / 0.9093 GB, free: 6.465 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002181/1.622, allocations: 0.6305 MB / 0.9099 GB, free: 5.809 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001364/1.624, allocations: 46.19 kB / 0.9099 GB, free: 5.766 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002888/1.627, allocations: 175.8 kB / 0.9101 GB, free: 5.594 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005762/1.627, allocations: 169.7 kB / 0.9103 GB, free: 5.426 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001991/1.627, allocations: 68 kB / 0.9103 GB, free: 5.359 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.007627/1.635, allocations: 4.304 MB / 0.9145 GB, free: 1.062 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.22e-07/1.635, allocations: 0 / 0.9145 GB, free: 1.062 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.3331/1.968, allocations: 1.533 MB / 0.916 GB, free: 181.3 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (211): * Single equations (assignments): 206 * 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 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001356/1.97, allocations: 195.8 kB / 0.9162 GB, free: 181.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01531/1.985, allocations: 7.932 MB / 0.924 GB, free: 180.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/1.985, allocations: 2.094 kB / 0.924 GB, free: 180.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005893/1.991, allocations: 3.148 MB / 0.927 GB, free: 179.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004679/1.996, allocations: 0.6951 MB / 0.9277 GB, free: 179 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02842/2.024, allocations: 16.83 MB / 0.9442 GB, free: 170.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006645/2.031, allocations: 4.741 MB / 0.9488 GB, free: 169.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006847/2.038, allocations: 2.648 MB / 0.9514 GB, free: 168.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001298/2.039, allocations: 374.6 kB / 0.9517 GB, free: 168.9 MB / 0.545 GB Notification: Performance of SimCode: time 1.843e-06/2.039, allocations: 0 / 0.9517 GB, free: 168.9 MB / 0.545 GB Notification: Performance of Templates: time 0.1005/2.139, allocations: 60.42 MB / 1.011 GB, free: 113.1 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques/FrameForcesAndTorques.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches