Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009042/0.0009042, allocations: 83.69 kB / 21.43 MB, free: 3.121 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003872/0.003872, allocations: 162.6 kB / 24.7 MB, free: 9.406 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8411/0.8411, allocations: 177.2 MB / 205 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2229/0.2229, allocations: 32.8 MB / 294.2 MB, free: 1.219 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 440.9 MB, free: 3.742 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.298e-05/2.467e-05, allocations: 6.781 kB / 440.9 MB, free: 3.734 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.1664/0.1664, allocations: 10.72 MB / 451.6 MB, free: 40.83 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004412/0.1708, allocations: 3.679 MB / 455.3 MB, free: 38.66 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006977/0.1715, allocations: 69.91 kB / 455.3 MB, free: 38.64 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001287/0.1728, allocations: 1.351 MB / 456.7 MB, free: 38.09 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0017/0.1745, allocations: 1.828 MB / 458.5 MB, free: 37.3 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004768/0.175, allocations: 461.8 kB / 459 MB, free: 37.13 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001842/0.1769, allocations: 3.965 MB / 462.9 MB, free: 35.65 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001204/0.1781, allocations: 2.101 MB / 465 MB, free: 34.74 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001179/0.1792, allocations: 1.838 MB / 466.9 MB, free: 33.99 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001171/0.1804, allocations: 1.96 MB / 468.8 MB, free: 33.51 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001891/0.1806, allocations: 242.5 kB / 469.1 MB, free: 33.51 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007511/0.1813, allocations: 0.7779 MB / 469.8 MB, free: 33.37 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000632/0.182, allocations: 1.666 MB / 471.5 MB, free: 32.67 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005543/0.1825, allocations: 1.003 MB / 472.5 MB, free: 32.18 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002944/0.1855, allocations: 6.039 MB / 478.5 MB, free: 30.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1855, allocations: 2.812 kB / 478.5 MB, free: 30.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1855, allocations: 0 / 478.5 MB, free: 30.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.256e-05/0.1855, allocations: 0 / 478.5 MB, free: 30.07 MB / 410.7 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.003702/0.1892, allocations: 4.062 MB / 482.6 MB, free: 27.67 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.1893, allocations: 10.28 kB / 482.6 MB, free: 27.67 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006103/0.1954, allocations: 3.144 MB / 485.8 MB, free: 27.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002494/0.1979, allocations: 1.852 MB / 487.6 MB, free: 26.31 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.812e-05/0.198, allocations: 189.9 kB / 487.8 MB, free: 26.22 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003354/0.1983, allocations: 245.2 kB / 488 MB, free: 26.13 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009765/0.2081, allocations: 10.19 MB / 498.2 MB, free: 21.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.873e-05/0.2081, allocations: 25.69 kB / 498.3 MB, free: 21.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002559/0.2084, allocations: 114.9 kB / 498.4 MB, free: 21.83 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002276/0.2107, allocations: 2.469 MB / 0.4891 GB, free: 21.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009921/0.2206, allocations: 9.345 MB / 0.4982 GB, free: 14.69 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02026/0.2408, allocations: 28.84 MB / 0.5264 GB, free: 1.066 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003172/0.244, allocations: 2.421 MB / 0.5288 GB, free: 14.63 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009091/0.2449, allocations: 0.9899 MB / 0.5297 GB, free: 13.64 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000472/0.2454, allocations: 448.1 kB / 0.5301 GB, free: 13.21 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.2454, allocations: 47.88 kB / 0.5302 GB, free: 13.15 MB / 442.7 MB Notification: Performance of pre-optimization done (n=185): time 3.387e-06/0.2454, allocations: 3.938 kB / 0.5302 GB, free: 13.15 MB / 442.7 MB Notification: Performance of matching and sorting (n=191): time 0.01161/0.257, allocations: 9.205 MB / 0.5392 GB, free: 3.91 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.2571, allocations: 68.72 kB / 0.5392 GB, free: 3.832 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002137/0.2592, allocations: 2.683 MB / 0.5419 GB, free: 1.117 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.549e-05/0.2593, allocations: 53.69 kB / 0.5419 GB, free: 1.059 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001087/0.2604, allocations: 2.76 MB / 0.5446 GB, free: 14.27 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003558/0.2607, allocations: 0.7208 MB / 0.5453 GB, free: 13.54 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007398/0.2615, allocations: 0.9653 MB / 0.5463 GB, free: 12.56 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.2616, allocations: 357.9 kB / 0.5466 GB, free: 12.21 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00141/0.263, allocations: 1.555 MB / 0.5481 GB, free: 10.64 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00258/0.2656, allocations: 4.383 MB / 0.5524 GB, free: 4.855 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004338/0.2699, allocations: 6.564 MB / 0.5588 GB, free: 12.9 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.7e-05/0.2699, allocations: 31.75 kB / 0.5588 GB, free: 12.87 MB / 474.7 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.005285/0.2752, allocations: 5.859 MB / 0.5646 GB, free: 7.004 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.743e-05/0.2753, allocations: 48 kB / 0.5646 GB, free: 6.957 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.08e-05/0.2753, allocations: 103.9 kB / 0.5647 GB, free: 6.855 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002356/0.2756, allocations: 172.8 kB / 0.5649 GB, free: 6.684 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001594/0.2772, allocations: 1.069 MB / 0.5659 GB, free: 5.613 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001011/0.2782, allocations: 1.681 MB / 0.5676 GB, free: 3.836 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/0.2795, allocations: 231.9 kB / 0.5678 GB, free: 3.609 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000221/0.2797, allocations: 292 kB / 0.5681 GB, free: 3.324 MB / 474.7 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.002273/0.282, allocations: 1.994 MB / 0.57 GB, free: 1.316 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001985/0.2822, allocations: 246.3 kB / 0.5702 GB, free: 1.074 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002226/0.2844, allocations: 2.523 MB / 0.5727 GB, free: 14.52 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.237e-05/0.2845, allocations: 23.98 kB / 0.5727 GB, free: 14.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.2845, allocations: 4 kB / 0.5727 GB, free: 14.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.2845, allocations: 7.922 kB / 0.5727 GB, free: 14.49 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006338/0.2908, allocations: 6.587 MB / 0.5792 GB, free: 7.727 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/0.2908, allocations: 12.03 kB / 0.5792 GB, free: 7.715 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005012/0.2913, allocations: 251.5 kB / 0.5794 GB, free: 7.469 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.633e-05/0.2914, allocations: 56.83 kB / 0.5795 GB, free: 7.41 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.028e-05/0.2915, allocations: 40.88 kB / 0.5795 GB, free: 7.371 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007975/0.2923, allocations: 1.491 MB / 0.581 GB, free: 5.785 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.573e-06/0.2923, allocations: 15.94 kB / 0.581 GB, free: 5.77 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003148/0.2954, allocations: 3.979 MB / 0.5849 GB, free: 1.641 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002356/0.2957, allocations: 246.2 kB / 0.5851 GB, free: 1.398 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001363/0.2958, allocations: 40.05 kB / 0.5851 GB, free: 1.359 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004872/0.2963, allocations: 75.91 kB / 0.5852 GB, free: 1.285 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/0.2964, allocations: 124.6 kB / 0.5853 GB, free: 1.164 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.916e-05/0.2965, allocations: 63.98 kB / 0.5854 GB, free: 1.102 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001274/0.2978, allocations: 1.524 MB / 0.5869 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.81e-07/0.2978, allocations: 0 / 0.5869 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002588/0.3004, allocations: 0.8359 MB / 0.5877 GB, free: 14.73 MB / 0.4948 GB 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.0003297/0.3007, allocations: 194.7 kB / 0.5879 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0036/0.3043, allocations: 3.721 MB / 0.5915 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.3043, allocations: 0 / 0.5915 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009126/0.3052, allocations: 1.17 MB / 0.5927 GB, free: 9.629 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000839/0.306, allocations: 269 kB / 0.5929 GB, free: 9.375 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008848/0.3149, allocations: 8.997 MB / 0.6017 GB, free: 216 kB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00215/0.317, allocations: 2.587 MB / 0.6042 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004321/0.3175, allocations: 220.5 kB / 0.6044 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of SimCode: time 1.022e-06/0.3175, allocations: 0 / 0.6044 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of Templates: time 0.2343/0.5518, allocations: 65.94 MB / 0.6688 GB, free: 144 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 7.878323099575937]