Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.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.FrameForcesAndTorques2,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.FrameForcesAndTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,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.FrameForcesAndTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001298/0.001298, allocations: 96.47 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001552/0.001552, allocations: 208.2 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, 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.2259/0.2259, allocations: 45.92 MB / 344 MB, free: 12.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002973/0.0002973, allocations: 8 kB / 417.9 MB, free: 20.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1546, allocations: 63.47 MB / 481.4 MB, free: 5.473 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2): time 0.3869/0.5415, allocations: 78.33 MB / 0.5466 GB, free: 15.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05337/0.5949, allocations: 17.73 MB / 0.5639 GB, free: 2.422 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02348/0.6185, allocations: 393.2 kB / 0.5643 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01789/0.6364, allocations: 3.99 MB / 0.5682 GB, free: 14.61 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04452/0.6809, allocations: 11.16 MB / 0.5791 GB, free: 3.426 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006762/0.6877, allocations: 0.9019 MB / 0.58 GB, free: 2.523 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.07215/0.7599, allocations: 48.47 MB / 0.6273 GB, free: 2 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01031/0.7702, allocations: 6.777 MB / 0.6339 GB, free: 11.16 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002844/0.7731, allocations: 1.421 MB / 0.6353 GB, free: 9.738 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003238/0.7764, allocations: 1.881 MB / 0.6372 GB, free: 7.852 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001131/0.7775, allocations: 204 kB / 0.6374 GB, free: 7.652 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002765/0.7803, allocations: 1.065 MB / 0.6384 GB, free: 6.586 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002821/0.7831, allocations: 2.311 MB / 0.6406 GB, free: 4.27 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001911/0.7851, allocations: 1.197 MB / 0.6418 GB, free: 3.062 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01001/0.7951, allocations: 8.043 MB / 0.6497 GB, free: 11 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.7951, allocations: 0 / 0.6497 GB, free: 11 MB / 494.1 MB Notification: Performance of FrontEnd: time 5.441e-06/0.7951, allocations: 0 / 0.6497 GB, free: 11 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0003913/0.7955, allocations: 3.938 kB / 0.6497 GB, free: 11 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: 2137 * Number of variables: 2137 Notification: Performance of Generate backend data structure: time 0.01645/0.812, allocations: 6.23 MB / 0.6558 GB, free: 4.688 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.261e-05/0.8121, allocations: 12.03 kB / 0.6558 GB, free: 4.676 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04456/0.8567, allocations: 8.187 MB / 0.6638 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01184/0.8686, allocations: 4.056 MB / 0.6677 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003725/0.869, allocations: 345 kB / 0.6681 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002583/0.8716, allocations: 471.7 kB / 0.6685 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03298/0.9046, allocations: 14.76 MB / 0.6829 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000248/0.9049, allocations: 59.42 kB / 0.683 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009816/0.9059, allocations: 219.8 kB / 0.6832 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005199/0.9111, allocations: 2.793 MB / 0.6859 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03044/0.9415, allocations: 12.53 MB / 0.6981 GB, free: 8.23 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4003/1.342, allocations: 54.94 MB / 0.7518 GB, free: 146.7 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01717/1.359, allocations: 6.593 MB / 0.7582 GB, free: 143.5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003067/1.359, allocations: 39.41 kB / 0.7583 GB, free: 143.5 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.083e-05/1.36, allocations: 59.31 kB / 0.7583 GB, free: 143.4 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=218): time 6.763e-06/1.36, allocations: 3.938 kB / 0.7583 GB, free: 143.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=260): time 0.08402/1.444, allocations: 30.8 MB / 0.7884 GB, free: 117.9 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.251e-05/1.444, allocations: 205.9 kB / 0.7886 GB, free: 117.6 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01083/1.455, allocations: 6.297 MB / 0.7948 GB, free: 111.3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0009024/1.456, allocations: 65.7 kB / 0.7948 GB, free: 111.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002695/1.458, allocations: 4.21 MB / 0.7989 GB, free: 107 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001615/1.46, allocations: 0.9803 MB / 0.7999 GB, free: 106 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001104/1.461, allocations: 153.2 kB / 0.8 GB, free: 105.9 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0006033/1.462, allocations: 0.6282 MB / 0.8007 GB, free: 105.3 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004947/1.467, allocations: 3.243 MB / 0.8038 GB, free: 102 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00684/1.473, allocations: 7.685 MB / 0.8113 GB, free: 92.12 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006946/1.48, allocations: 4.887 MB / 0.8161 GB, free: 87.23 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001586/1.481, allocations: 44 kB / 0.8161 GB, free: 87.19 MB / 0.5294 GB Notification: Performance of matching and sorting (n=986) (initialization): time 0.02527/1.506, allocations: 12.26 MB / 0.8281 GB, free: 74.91 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002476/1.506, allocations: 74.34 kB / 0.8282 GB, free: 74.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003448/1.507, allocations: 156.1 kB / 0.8283 GB, free: 74.69 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004582/1.511, allocations: 1.785 MB / 0.8301 GB, free: 72.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006487/1.518, allocations: 1.766 MB / 0.8318 GB, free: 71.13 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01413/1.532, allocations: 12.3 MB / 0.8438 GB, free: 58.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007731/1.54, allocations: 476.2 kB / 0.8443 GB, free: 58.11 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002143/1.542, allocations: 460.7 kB / 0.8447 GB, free: 57.66 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 715 * Number of states: 0 () * Number of discrete variables: 62 (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,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 (914): * Single equations (assignments): 909 * 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 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007545/1.549, allocations: 2.872 MB / 0.8475 GB, free: 54.77 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001894/1.551, allocations: 0.509 MB / 0.848 GB, free: 54.26 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01267/1.564, allocations: 6.384 MB / 0.8542 GB, free: 47.85 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.512e-05/1.564, allocations: 24 kB / 0.8543 GB, free: 47.82 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.795e-05/1.564, allocations: 12 kB / 0.8543 GB, free: 47.81 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.047e-05/1.564, allocations: 15.94 kB / 0.8543 GB, free: 47.8 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03114/1.595, allocations: 14.08 MB / 0.868 GB, free: 33.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.174e-05/1.595, allocations: 0 / 0.868 GB, free: 33.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002754/1.598, allocations: 447.2 kB / 0.8685 GB, free: 33.27 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004018/1.602, allocations: 1.521 MB / 0.87 GB, free: 31.74 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008202/1.603, allocations: 47.98 kB / 0.87 GB, free: 31.69 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01381/1.617, allocations: 11.57 MB / 0.8813 GB, free: 19.86 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.617, allocations: 3.938 kB / 0.8813 GB, free: 19.86 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01615/1.633, allocations: 10.47 MB / 0.8915 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002156/1.635, allocations: 0.6035 MB / 0.8921 GB, free: 8.656 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002346/1.638, allocations: 45.72 kB / 0.8922 GB, free: 8.613 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005012/1.643, allocations: 211.7 kB / 0.8924 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001137/1.644, allocations: 157.7 kB / 0.8925 GB, free: 8.25 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006599/1.644, allocations: 73.11 kB / 0.8926 GB, free: 8.18 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.008483/1.653, allocations: 4.044 MB / 0.8965 GB, free: 4.133 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.7e-07/1.653, allocations: 0 / 0.8965 GB, free: 4.133 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.009797/1.663, allocations: 1.5 MB / 0.898 GB, free: 2.641 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.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 (202): * Single equations (assignments): 197 * 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.00145/1.664, allocations: 196.3 kB / 0.8982 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01515/1.679, allocations: 8.006 MB / 0.906 GB, free: 10.45 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.11e-05/1.68, allocations: 4 kB / 0.906 GB, free: 10.45 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006841/1.686, allocations: 3.302 MB / 0.9092 GB, free: 7.125 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004733/1.691, allocations: 0.6641 MB / 0.9099 GB, free: 6.465 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3056/1.997, allocations: 16.25 MB / 0.9257 GB, free: 178.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008547/2.005, allocations: 4.546 MB / 0.9302 GB, free: 178.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.008216/2.014, allocations: 2.59 MB / 0.9327 GB, free: 178 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00186/2.016, allocations: 353.3 kB / 0.933 GB, free: 178 MB / 0.545 GB Notification: Performance of SimCode: time 1.402e-06/2.016, allocations: 1.281 kB / 0.9331 GB, free: 178 MB / 0.545 GB Notification: Performance of Templates: time 0.09894/2.114, allocations: 59.24 MB / 0.9909 GB, free: 133.9 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques2/FrameForcesAndTorques2.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches