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.001036/0.001036, allocations: 87.67 kB / 21.19 MB, free: 3.367 MB / 18.57 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.001018/0.001018, allocations: 156.5 kB / 24.55 MB, free: 12 kB / 18.57 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.021/1.021, allocations: 177 MB / 204.8 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] 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.2703/0.2703, allocations: 34.86 MB / 296.3 MB, free: 492 kB / 266.7 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 1.613e-06/1.613e-06, allocations: 0 / 378.8 MB, free: 2.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.773e-05/2.935e-05, allocations: 2.312 kB / 378.8 MB, free: 2.066 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.009344/0.009374, allocations: 11.8 MB / 390.6 MB, free: 6.207 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007225/0.0166, allocations: 3.8 MB / 394.4 MB, free: 2.395 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00191/0.01851, allocations: 67.75 kB / 394.4 MB, free: 2.328 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002322/0.02083, allocations: 1.393 MB / 395.8 MB, free: 0.9297 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003503/0.02433, allocations: 1.847 MB / 397.7 MB, free: 15.07 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008138/0.02515, allocations: 463 kB / 398.1 MB, free: 14.62 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003579/0.02873, allocations: 3.969 MB / 402.1 MB, free: 10.65 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002198/0.03092, allocations: 2.161 MB / 404.3 MB, free: 8.445 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002386/0.03331, allocations: 1.847 MB / 406.1 MB, free: 6.594 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002267/0.03558, allocations: 1.968 MB / 408.1 MB, free: 4.621 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004974/0.03607, allocations: 244 kB / 408.3 MB, free: 4.383 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001266/0.03734, allocations: 0.7722 MB / 409.1 MB, free: 3.609 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001169/0.03851, allocations: 1.679 MB / 410.8 MB, free: 1.926 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001027/0.03954, allocations: 1 MB / 411.8 MB, free: 0.9219 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00424/0.04378, allocations: 3.937 MB / 415.7 MB, free: 12.97 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.04378, allocations: 0 / 415.7 MB, free: 12.97 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.04378, allocations: 0 / 415.7 MB, free: 12.97 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001173/0.0439, allocations: 0 / 415.7 MB, free: 12.97 MB / 394.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.005336/0.04924, allocations: 4.487 MB / 420.2 MB, free: 8.418 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.04928, allocations: 8.031 kB / 420.2 MB, free: 8.41 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006254/0.05554, allocations: 3.633 MB / 423.8 MB, free: 4.77 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002691/0.05823, allocations: 1.71 MB / 425.5 MB, free: 3.023 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001188/0.05835, allocations: 193 kB / 425.7 MB, free: 2.832 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004138/0.05876, allocations: 252.1 kB / 426 MB, free: 2.586 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007061/0.06582, allocations: 5.175 MB / 431.1 MB, free: 12.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.604e-05/0.06588, allocations: 23.77 kB / 431.2 MB, free: 12.81 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002362/0.06611, allocations: 115.8 kB / 431.3 MB, free: 12.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002484/0.0686, allocations: 2.467 MB / 433.8 MB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01024/0.07884, allocations: 3.08 MB / 436.8 MB, free: 7.137 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.195/0.2739, allocations: 32.04 MB / 468.9 MB, free: 66.44 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002418/0.2763, allocations: 1.242 MB / 470.1 MB, free: 66.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004636/0.2768, allocations: 352.3 kB / 470.5 MB, free: 66.39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004507/0.2772, allocations: 405.2 kB / 470.9 MB, free: 66.39 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.2772, allocations: 48.02 kB / 470.9 MB, free: 66.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=185): time 4.088e-06/0.2772, allocations: 0 / 470.9 MB, free: 66.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=191): time 0.009651/0.2869, allocations: 5.482 MB / 476.4 MB, free: 65.17 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.2869, allocations: 68.69 kB / 476.5 MB, free: 65.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002441/0.2894, allocations: 2.462 MB / 478.9 MB, free: 64.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.774e-05/0.2894, allocations: 47.73 kB / 479 MB, free: 64.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001065/0.2905, allocations: 2.896 MB / 481.9 MB, free: 62.13 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003974/0.2909, allocations: 0.7579 MB / 482.6 MB, free: 61.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008357/0.2917, allocations: 1.046 MB / 483.7 MB, free: 61.01 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.852e-05/0.2918, allocations: 0.538 MB / 484.2 MB, free: 60.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008288/0.2927, allocations: 0.5062 MB / 484.7 MB, free: 60.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002006/0.2947, allocations: 4.697 MB / 489.4 MB, free: 54.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003907/0.2986, allocations: 5.771 MB / 495.2 MB, free: 48.67 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.358e-05/0.2986, allocations: 27.5 kB / 495.2 MB, free: 48.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.007476/0.3061, allocations: 4.036 MB / 499.2 MB, free: 47.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.057e-05/0.3062, allocations: 47.38 kB / 499.3 MB, free: 47.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001477/0.3063, allocations: 99.88 kB / 499.4 MB, free: 47.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004095/0.3067, allocations: 170.8 kB / 499.5 MB, free: 47.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002141/0.3089, allocations: 1.07 MB / 0.4889 GB, free: 46.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001178/0.3101, allocations: 2.039 MB / 0.4909 GB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001984/0.312, allocations: 232.3 kB / 0.4911 GB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003097/0.3124, allocations: 296.2 kB / 0.4914 GB, free: 45.01 MB / 410.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.001156/0.3135, allocations: 0.5393 MB / 0.4919 GB, free: 44.56 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003297/0.3138, allocations: 296.4 kB / 0.4922 GB, free: 44.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001665/0.3155, allocations: 1.35 MB / 0.4935 GB, free: 43.86 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.656e-05/0.3155, allocations: 25.06 kB / 0.4935 GB, free: 43.86 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.3155, allocations: 0 / 0.4935 GB, free: 43.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/0.3155, allocations: 7.922 kB / 0.4935 GB, free: 43.86 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006819/0.3224, allocations: 4.931 MB / 0.4984 GB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/0.3224, allocations: 11.69 kB / 0.4984 GB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005443/0.3229, allocations: 246.4 kB / 0.4986 GB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001362/0.3231, allocations: 51.95 kB / 0.4986 GB, free: 41.42 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.804e-05/0.3231, allocations: 43.62 kB / 0.4987 GB, free: 41.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007163/0.3238, allocations: 1.878 MB / 0.5005 GB, free: 39.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.794e-06/0.3239, allocations: 14.81 kB / 0.5005 GB, free: 39.59 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002071/0.3259, allocations: 1.942 MB / 0.5024 GB, free: 38.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003828/0.3263, allocations: 232.6 kB / 0.5027 GB, free: 38.24 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001587/0.3265, allocations: 37.27 kB / 0.5027 GB, free: 38.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004608/0.3269, allocations: 76.44 kB / 0.5028 GB, free: 38.21 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001343/0.3271, allocations: 123.6 kB / 0.5029 GB, free: 38.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.146e-05/0.3271, allocations: 67.2 kB / 0.5029 GB, free: 38.17 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001107/0.3282, allocations: 1.044 MB / 0.504 GB, free: 37.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.3282, allocations: 0 / 0.504 GB, free: 37.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002967/0.3312, allocations: 0.8267 MB / 0.5048 GB, free: 37.68 MB / 410.7 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.0003637/0.3316, allocations: 198.8 kB / 0.505 GB, free: 37.53 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003264/0.3348, allocations: 2.344 MB / 0.5073 GB, free: 36.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.256e-06/0.3348, allocations: 0 / 0.5073 GB, free: 36.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000725/0.3356, allocations: 0.6756 MB / 0.5079 GB, free: 36.37 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.3366, allocations: 276.1 kB / 0.5082 GB, free: 36.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009234/0.3458, allocations: 7.121 MB / 0.5151 GB, free: 31.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009781/0.3468, allocations: 1.142 MB / 0.5162 GB, free: 30.67 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002436/0.3493, allocations: 1.437 MB / 0.5176 GB, free: 29.86 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003548/0.3496, allocations: 180.9 kB / 0.5178 GB, free: 29.69 MB / 410.7 MB Notification: Performance of SimCode: time 2.595e-06/0.3496, allocations: 0 / 0.5178 GB, free: 29.69 MB / 410.7 MB Notification: Performance of Templates: time 0.02844/0.3781, allocations: 16.64 MB / 0.5341 GB, free: 17.53 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.2374178119935095]