Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.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.001808/0.001808, allocations: 113.9 kB / 19.12 MB, free: 3.945 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.001866/0.001866, allocations: 212.9 kB / 22.08 MB, free: 0.9922 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.492/1.492, allocations: 227.4 MB / 252.3 MB, free: 92 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.2367/0.2367, allocations: 46.16 MB / 351.8 MB, free: 14.29 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.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002342/0.002343, allocations: 81.95 kB / 490.9 MB, free: 28.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1187, allocations: 62.45 MB / 0.5404 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01466/0.1335, allocations: 12.26 MB / 0.5523 GB, free: 7.926 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008504/0.142, allocations: 3.859 MB / 0.5561 GB, free: 4.051 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002171/0.1442, allocations: 59.88 kB / 0.5561 GB, free: 3.992 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003208/0.1475, allocations: 1.315 MB / 0.5574 GB, free: 2.672 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004666/0.1522, allocations: 1.724 MB / 0.5591 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001225/0.1535, allocations: 419.2 kB / 0.5595 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005447/0.1589, allocations: 3.601 MB / 0.563 GB, free: 12.93 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003022/0.162, allocations: 2.017 MB / 0.565 GB, free: 10.88 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001938/0.164, allocations: 1.187 MB / 0.5662 GB, free: 9.684 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002444/0.1664, allocations: 1.736 MB / 0.5679 GB, free: 7.941 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006331/0.1671, allocations: 240 kB / 0.5681 GB, free: 7.707 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001772/0.1689, allocations: 0.8113 MB / 0.5689 GB, free: 6.895 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001762/0.1706, allocations: 1.574 MB / 0.5704 GB, free: 5.316 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002395/0.173, allocations: 1.863 MB / 0.5722 GB, free: 3.441 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007973/0.181, allocations: 6.087 MB / 0.5782 GB, free: 13.33 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.477e-06/0.1811, allocations: 4 kB / 0.5782 GB, free: 13.32 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.1811, allocations: 0 / 0.5782 GB, free: 13.32 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001869/0.1813, allocations: 0 / 0.5782 GB, free: 13.32 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1514 * Number of variables: 1514 Notification: Performance of Generate backend data structure: time 0.008256/0.1896, allocations: 4.136 MB / 0.5822 GB, free: 9.113 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.283e-05/0.1896, allocations: 16.02 kB / 0.5822 GB, free: 9.098 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01122/0.2009, allocations: 3.09 MB / 0.5853 GB, free: 6 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004289/0.2052, allocations: 1.91 MB / 0.5871 GB, free: 4.039 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001853/0.2054, allocations: 185 kB / 0.5873 GB, free: 3.855 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009133/0.2063, allocations: 251.8 kB / 0.5875 GB, free: 3.609 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01778/0.2241, allocations: 10.17 MB / 0.5975 GB, free: 9.004 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-05/0.2243, allocations: 27.7 kB / 0.5975 GB, free: 8.977 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004351/0.2247, allocations: 119.8 kB / 0.5976 GB, free: 8.859 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004207/0.2289, allocations: 2.467 MB / 0.6 GB, free: 6.387 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.258/0.487, allocations: 9.35 MB / 0.6092 GB, free: 53.16 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04513/0.5321, allocations: 31.53 MB / 0.6399 GB, free: 33.31 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00551/0.5377, allocations: 3.347 MB / 0.6432 GB, free: 31.1 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001508/0.5392, allocations: 1.079 MB / 0.6443 GB, free: 30.61 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008823/0.5402, allocations: 1.306 MB / 0.6455 GB, free: 29.33 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.5402, allocations: 47.81 kB / 0.6456 GB, free: 29.29 MB / 462.1 MB Notification: Performance of pre-optimization done (n=185): time 4.158e-06/0.5402, allocations: 0 / 0.6456 GB, free: 29.29 MB / 462.1 MB Notification: Performance of matching and sorting (n=191): time 0.01837/0.5586, allocations: 9.172 MB / 0.6545 GB, free: 24.84 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.5587, allocations: 64.72 kB / 0.6546 GB, free: 24.76 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002787/0.5615, allocations: 2.608 MB / 0.6572 GB, free: 22.19 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001383/0.5616, allocations: 45.7 kB / 0.6572 GB, free: 22.14 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001021/0.5626, allocations: 2.779 MB / 0.6599 GB, free: 19.41 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004459/0.5631, allocations: 0.7338 MB / 0.6606 GB, free: 18.68 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009001/0.564, allocations: 0.9729 MB / 0.6616 GB, free: 17.7 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.508e-05/0.5641, allocations: 301.1 kB / 0.6619 GB, free: 17.41 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001878/0.5659, allocations: 1.552 MB / 0.6634 GB, free: 15.85 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003107/0.5691, allocations: 4.384 MB / 0.6677 GB, free: 10.06 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005342/0.5744, allocations: 6.571 MB / 0.6741 GB, free: 2.086 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.568e-05/0.5745, allocations: 28 kB / 0.6741 GB, free: 2.059 MB / 462.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.009546/0.5841, allocations: 5.875 MB / 0.6798 GB, free: 12.19 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.234e-05/0.5842, allocations: 48.03 kB / 0.6799 GB, free: 12.14 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001426/0.5843, allocations: 100 kB / 0.68 GB, free: 12.04 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003899/0.5847, allocations: 172.8 kB / 0.6801 GB, free: 11.87 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003456/0.5882, allocations: 1.072 MB / 0.6812 GB, free: 10.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002017/0.5903, allocations: 1.797 MB / 0.683 GB, free: 8.859 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00292/0.5932, allocations: 207.9 kB / 0.6831 GB, free: 8.656 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007832/0.594, allocations: 292 kB / 0.6834 GB, free: 8.371 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 453 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (596): * Single equations (assignments): 589 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004111/0.5981, allocations: 1.999 MB / 0.6854 GB, free: 6.367 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000544/0.5987, allocations: 258.3 kB / 0.6856 GB, free: 6.113 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00433/0.603, allocations: 2.526 MB / 0.6881 GB, free: 3.559 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.834e-05/0.6031, allocations: 28.66 kB / 0.6881 GB, free: 3.535 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.6031, allocations: 3.938 kB / 0.6881 GB, free: 3.531 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.761e-05/0.6031, allocations: 7.969 kB / 0.6881 GB, free: 3.523 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01545/0.6186, allocations: 7.935 MB / 0.6959 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-05/0.6186, allocations: 8 kB / 0.6959 GB, free: 11.42 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001032/0.6197, allocations: 251.5 kB / 0.6961 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001873/0.6199, allocations: 57.7 kB / 0.6962 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001119/0.62, allocations: 40.56 kB / 0.6962 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001932/0.6219, allocations: 1.637 MB / 0.6978 GB, free: 9.301 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.094e-05/0.622, allocations: 11.94 kB / 0.6978 GB, free: 9.289 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006102/0.6281, allocations: 4.035 MB / 0.7018 GB, free: 5.117 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007747/0.6289, allocations: 307.4 kB / 0.7021 GB, free: 4.797 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000266/0.6292, allocations: 42.72 kB / 0.7021 GB, free: 4.758 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007619/0.6299, allocations: 51.95 kB / 0.7022 GB, free: 4.707 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002428/0.6302, allocations: 120.7 kB / 0.7023 GB, free: 4.586 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001249/0.6303, allocations: 67.89 kB / 0.7023 GB, free: 4.523 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002636/0.633, allocations: 1.595 MB / 0.7039 GB, free: 2.918 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.633, allocations: 0 / 0.7039 GB, free: 2.918 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004709/0.6377, allocations: 0.7773 MB / 0.7047 GB, free: 2.141 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 2 (prismatic.s,prismatic.v) * 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 (139): * Single equations (assignments): 132 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005522/0.6383, allocations: 186.5 kB / 0.7048 GB, free: 1.949 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006975/0.6453, allocations: 3.876 MB / 0.7086 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.918e-06/0.6453, allocations: 0 / 0.7086 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001928/0.6472, allocations: 1.237 MB / 0.7098 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002005/0.6493, allocations: 355 kB / 0.7102 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01696/0.6662, allocations: 8.985 MB / 0.7189 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00437/0.6706, allocations: 3.129 MB / 0.722 GB, free: 200 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008703/0.6715, allocations: 223.5 kB / 0.7222 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of SimCode: time 1.473e-06/0.6716, allocations: 7.938 kB / 0.7222 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of Templates: time 0.1047/0.7763, allocations: 65.27 MB / 0.786 GB, free: 14.79 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.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: 12.48451431596186]