Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001879/0.001879, allocations: 114.9 kB / 19.13 MB, free: 3.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002302/0.002302, allocations: 214.5 kB / 22.08 MB, free: 0.9727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.501/1.501, allocations: 227.4 MB / 252.3 MB, free: 64 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2328/0.2328, allocations: 46.17 MB / 351.8 MB, free: 14.28 MB / 286.1 MB " [Timeout remaining time 180] 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.Force,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force") translateModel(ModelicaTest.MultiBody.Forces.Force,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00236/0.00236, allocations: 85.59 kB / 490.9 MB, free: 28.11 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1127, allocations: 62.44 MB / 0.5404 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01771/0.1304, allocations: 15.53 MB / 0.5555 GB, free: 4.648 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01066/0.1411, allocations: 4.929 MB / 0.5603 GB, free: 15.7 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002639/0.1438, allocations: 103.8 kB / 0.5604 GB, free: 15.6 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009883/0.1537, allocations: 4.988 MB / 0.5653 GB, free: 10.59 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007258/0.1611, allocations: 2.473 MB / 0.5677 GB, free: 8.113 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002932/0.164, allocations: 1.107 MB / 0.5688 GB, free: 7.004 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01119/0.1752, allocations: 6.894 MB / 0.5755 GB, free: 96 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008499/0.1838, allocations: 5.762 MB / 0.5812 GB, free: 10.25 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004685/0.1885, allocations: 2.391 MB / 0.5835 GB, free: 7.855 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005352/0.1939, allocations: 3.224 MB / 0.5866 GB, free: 4.621 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001628/0.1956, allocations: 0.5039 MB / 0.5871 GB, free: 4.117 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003557/0.1991, allocations: 1.397 MB / 0.5885 GB, free: 2.719 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004065/0.2032, allocations: 2.969 MB / 0.5914 GB, free: 15.74 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006015/0.2093, allocations: 3.348 MB / 0.5947 GB, free: 12.38 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01463/0.224, allocations: 10.41 MB / 0.6048 GB, free: 1.926 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.033e-05/0.224, allocations: 0 / 0.6048 GB, free: 1.926 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.308e-06/0.224, allocations: 4 kB / 0.6048 GB, free: 1.922 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003462/0.2244, allocations: 0 / 0.6048 GB, free: 1.922 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2161 * Number of variables: 2161 Notification: Performance of Generate backend data structure: time 0.266/0.4904, allocations: 7.594 MB / 0.6123 GB, free: 55.68 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.4904, allocations: 9.906 kB / 0.6123 GB, free: 55.68 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01431/0.5048, allocations: 2.747 MB / 0.6149 GB, free: 55.12 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0102/0.515, allocations: 4.294 MB / 0.6191 GB, free: 53.41 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003258/0.5154, allocations: 358.1 kB / 0.6195 GB, free: 53.29 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001665/0.517, allocations: 482.9 kB / 0.6199 GB, free: 53.17 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02595/0.543, allocations: 14.69 MB / 0.6343 GB, free: 44.63 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001976/0.5433, allocations: 70.98 kB / 0.6344 GB, free: 44.59 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008556/0.5441, allocations: 222.6 kB / 0.6346 GB, free: 44.44 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003861/0.548, allocations: 2.743 MB / 0.6372 GB, free: 42.42 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02108/0.5691, allocations: 12.5 MB / 0.6495 GB, free: 29.9 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06521/0.6343, allocations: 58.11 MB / 0.7062 GB, free: 2.402 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01963/0.654, allocations: 7.287 MB / 0.7133 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005634/0.6597, allocations: 3.887 MB / 0.7171 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01639/0.6761, allocations: 9.007 MB / 0.7259 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.734e-05/0.6762, allocations: 68.5 kB / 0.726 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=246): time 5.48e-06/0.6762, allocations: 0 / 0.726 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of matching and sorting (n=288): time 0.09668/0.7729, allocations: 33.14 MB / 0.7583 GB, free: 12.48 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001815/0.7731, allocations: 239.6 kB / 0.7586 GB, free: 12.19 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01282/0.786, allocations: 6.658 MB / 0.7651 GB, free: 5.535 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0008279/0.7868, allocations: 73.7 kB / 0.7651 GB, free: 5.457 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004402/0.7913, allocations: 4.54 MB / 0.7696 GB, free: 0.875 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001933/0.7932, allocations: 1.151 MB / 0.7707 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005325/0.7986, allocations: 1.794 MB / 0.7724 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.7987, allocations: 301.1 kB / 0.7727 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00658/0.8053, allocations: 3.616 MB / 0.7763 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01184/0.8172, allocations: 8.615 MB / 0.7847 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01904/0.8363, allocations: 13.15 MB / 0.7975 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002001/0.8365, allocations: 52 kB / 0.7976 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1138) (initialization): time 0.03106/0.8676, allocations: 14.07 MB / 0.8113 GB, free: 1.168 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002619/0.8679, allocations: 86.44 kB / 0.8114 GB, free: 1.086 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003556/0.8682, allocations: 175.9 kB / 0.8116 GB, free: 0.9141 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006786/0.875, allocations: 2.265 MB / 0.8138 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007465/0.8826, allocations: 2.012 MB / 0.8157 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02068/0.9033, allocations: 14.23 MB / 0.8296 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007355/0.9107, allocations: 0.5034 MB / 0.8301 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001724/0.9124, allocations: 0.5121 MB / 0.8306 GB, free: 13.1 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 796 * Number of states: 0 () * Number of discrete variables: 67 (force2.forceArrow.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.twoHeadedArrow,force1.forceArrow.headAtOrigin,fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1058): * Single equations (assignments): 1051 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,22,100.0%), (2,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006771/0.9192, allocations: 2.988 MB / 0.8335 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001628/0.9208, allocations: 0.5898 MB / 0.8341 GB, free: 9.5 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01541/0.9363, allocations: 7.216 MB / 0.8412 GB, free: 2.27 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.569e-05/0.9364, allocations: 36 kB / 0.8412 GB, free: 2.234 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.628e-05/0.9364, allocations: 11.94 kB / 0.8412 GB, free: 2.223 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.636e-05/0.9365, allocations: 15.95 kB / 0.8412 GB, free: 2.207 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3238/1.26, allocations: 14.95 MB / 0.8558 GB, free: 203.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-05/1.26, allocations: 5.312 kB / 0.8558 GB, free: 203.1 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002586/1.263, allocations: 496.9 kB / 0.8563 GB, free: 203.1 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005363/1.268, allocations: 2.021 MB / 0.8583 GB, free: 202.7 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006559/1.269, allocations: 60.84 kB / 0.8583 GB, free: 202.7 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01584/1.285, allocations: 13.59 MB / 0.8716 GB, free: 195.8 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/1.285, allocations: 9.109 kB / 0.8716 GB, free: 195.8 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01708/1.302, allocations: 11.52 MB / 0.8829 GB, free: 191.6 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001976/1.304, allocations: 0.6629 MB / 0.8835 GB, free: 191.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001846/1.306, allocations: 49.98 kB / 0.8835 GB, free: 191.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003595/1.309, allocations: 206.5 kB / 0.8837 GB, free: 191.4 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008557/1.31, allocations: 178.6 kB / 0.8839 GB, free: 191.4 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004384/1.311, allocations: 80.58 kB / 0.884 GB, free: 191.3 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.006902/1.318, allocations: 4.264 MB / 0.8882 GB, free: 189.6 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/1.318, allocations: 0 / 0.8882 GB, free: 189.6 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.007957/1.326, allocations: 1.585 MB / 0.8897 GB, free: 188.9 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (232): * Single equations (assignments): 227 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,17,75.0%), (4,17,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001018/1.327, allocations: 194.2 kB / 0.8899 GB, free: 188.7 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01227/1.339, allocations: 8.784 MB / 0.8985 GB, free: 180 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 9.919e-06/1.339, allocations: 0 / 0.8985 GB, free: 180 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.005614/1.345, allocations: 3.485 MB / 0.9019 GB, free: 176.5 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006494/1.351, allocations: 0.7299 MB / 0.9026 GB, free: 175.8 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02663/1.378, allocations: 15.71 MB / 0.9179 GB, free: 160.1 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00645/1.384, allocations: 4.513 MB / 0.9223 GB, free: 155.6 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002211/1.387, allocations: 447.3 kB / 0.9228 GB, free: 155.1 MB / 0.6231 GB Notification: Performance of SimCode: time 1.774e-06/1.387, allocations: 0 / 0.9228 GB, free: 155.1 MB / 0.6231 GB Notification: Performance of Templates: time 0.1635/1.55, allocations: 143.8 MB / 1.063 GB, free: 11.29 MB / 0.6231 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Force/Force.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.77515630691778]