Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001208/0.001208, allocations: 87.33 kB / 20.42 MB, free: 4.141 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.001192/0.001192, allocations: 169 kB / 23.8 MB, free: 0.7695 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.916/0.916, allocations: 158.6 MB / 185.7 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1239/0.1239, allocations: 32.37 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 347.7 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.993e-05/2.186e-05, allocations: 6.25 kB / 347.7 MB, free: 9.434 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.007933/0.007955, allocations: 12.19 MB / 359.9 MB, free: 13.19 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005826/0.01378, allocations: 3.824 MB / 363.7 MB, free: 9.352 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008287/0.01461, allocations: 71.75 kB / 363.8 MB, free: 9.281 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001617/0.01623, allocations: 1.409 MB / 365.2 MB, free: 7.867 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002315/0.01854, allocations: 1.906 MB / 367.1 MB, free: 5.953 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000597/0.01914, allocations: 474.9 kB / 367.5 MB, free: 5.488 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002787/0.02193, allocations: 4.001 MB / 371.5 MB, free: 1.477 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001927/0.02385, allocations: 2.204 MB / 373.8 MB, free: 15.23 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001608/0.02546, allocations: 1.913 MB / 375.7 MB, free: 13.31 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001897/0.02736, allocations: 1.995 MB / 377.7 MB, free: 11.31 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003907/0.02775, allocations: 248 kB / 377.9 MB, free: 11.07 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000998/0.02875, allocations: 0.7956 MB / 378.7 MB, free: 10.27 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009816/0.02973, allocations: 1.741 MB / 380.4 MB, free: 8.527 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009101/0.03064, allocations: 1.047 MB / 381.5 MB, free: 7.477 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003057/0.0337, allocations: 4.073 MB / 385.6 MB, free: 3.387 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.0337, allocations: 4 kB / 385.6 MB, free: 3.383 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.0337, allocations: 0 / 385.6 MB, free: 3.383 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.598e-05/0.0338, allocations: 0 / 385.6 MB, free: 3.383 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1557 * Number of variables: 1557 Notification: Performance of Generate backend data structure: time 0.004438/0.03824, allocations: 4.628 MB / 390.2 MB, free: 14.69 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.03829, allocations: 12.03 kB / 390.2 MB, free: 14.68 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005919/0.04421, allocations: 3.656 MB / 393.9 MB, free: 11.01 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002058/0.04626, allocations: 1.76 MB / 395.6 MB, free: 9.211 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-05/0.04636, allocations: 197.2 kB / 395.8 MB, free: 9.016 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003042/0.04666, allocations: 256.2 kB / 396.1 MB, free: 8.766 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005868/0.05253, allocations: 5.283 MB / 401.3 MB, free: 2.871 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.089e-05/0.05258, allocations: 23.75 kB / 401.4 MB, free: 2.848 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002351/0.05282, allocations: 123.8 kB / 401.5 MB, free: 2.727 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002297/0.05511, allocations: 2.538 MB / 404 MB, free: 192 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005923/0.06104, allocations: 3.117 MB / 407.1 MB, free: 13.05 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02352/0.08455, allocations: 32.88 MB / 440 MB, free: 11.17 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002522/0.08707, allocations: 1.287 MB / 441.3 MB, free: 9.867 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004917/0.08756, allocations: 364.4 kB / 441.7 MB, free: 9.508 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004863/0.08805, allocations: 384.8 kB / 442 MB, free: 9.129 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/0.08808, allocations: 54.7 kB / 442.1 MB, free: 9.066 MB / 378.7 MB Notification: Performance of pre-optimization done (n=187): time 4.338e-06/0.08809, allocations: 0 / 442.1 MB, free: 9.066 MB / 378.7 MB Notification: Performance of matching and sorting (n=193): time 0.0106/0.09869, allocations: 6.204 MB / 448.3 MB, free: 2.812 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.539e-05/0.09875, allocations: 98.42 kB / 448.4 MB, free: 2.699 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002456/0.1012, allocations: 2.514 MB / 450.9 MB, free: 156 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.256e-05/0.1013, allocations: 45.7 kB / 451 MB, free: 104 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2097/0.311, allocations: 2.975 MB / 453.9 MB, free: 96.89 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008184/0.3118, allocations: 0.7689 MB / 454.7 MB, free: 96.53 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009593/0.3128, allocations: 1.059 MB / 455.8 MB, free: 96.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.3129, allocations: 0.5351 MB / 456.3 MB, free: 95.93 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009488/0.3139, allocations: 0.5127 MB / 456.8 MB, free: 95.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002309/0.3162, allocations: 4.818 MB / 461.6 MB, free: 90.38 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004244/0.3204, allocations: 5.924 MB / 467.5 MB, free: 84.68 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.142e-05/0.3205, allocations: 31 kB / 467.6 MB, free: 84.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=661) (initialization): time 0.005699/0.3262, allocations: 4.124 MB / 471.7 MB, free: 83.71 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.38e-05/0.3262, allocations: 54.03 kB / 471.8 MB, free: 83.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.831e-05/0.3263, allocations: 107.1 kB / 471.9 MB, free: 83.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002586/0.3266, allocations: 171 kB / 472 MB, free: 83.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001725/0.3283, allocations: 1.097 MB / 473.1 MB, free: 83.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009736/0.3293, allocations: 2.041 MB / 475.2 MB, free: 81.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001851/0.3311, allocations: 251.2 kB / 475.4 MB, free: 81.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002403/0.3314, allocations: 298.8 kB / 475.7 MB, free: 81.81 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * Number of states: 0 () * Number of discrete variables: 27 (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 (609): * Single equations (assignments): 602 * 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.001131/0.3325, allocations: 0.5515 MB / 476.2 MB, free: 81.55 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003016/0.3328, allocations: 299.8 kB / 476.5 MB, free: 81.39 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001457/0.3343, allocations: 1.351 MB / 477.9 MB, free: 80.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-05/0.3343, allocations: 26.09 kB / 477.9 MB, free: 80.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3343, allocations: 0 / 477.9 MB, free: 80.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.3343, allocations: 5.609 kB / 477.9 MB, free: 80.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005856/0.3402, allocations: 5.17 MB / 483.1 MB, free: 76.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.929e-06/0.3402, allocations: 8 kB / 483.1 MB, free: 76.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000542/0.3407, allocations: 253.2 kB / 483.3 MB, free: 75.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000128/0.3408, allocations: 55.83 kB / 483.4 MB, free: 75.94 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.183e-05/0.3409, allocations: 51.72 kB / 483.5 MB, free: 75.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007299/0.3416, allocations: 1.865 MB / 485.3 MB, free: 73.95 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/0.3416, allocations: 15.94 kB / 485.3 MB, free: 73.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002006/0.3436, allocations: 1.979 MB / 487.3 MB, free: 71.86 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007219/0.3444, allocations: 420.1 kB / 487.7 MB, free: 71.49 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001723/0.3445, allocations: 42.73 kB / 487.8 MB, free: 71.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004817/0.345, allocations: 79.23 kB / 487.8 MB, free: 71.4 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001455/0.3452, allocations: 128 kB / 488 MB, free: 71.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.776e-05/0.3452, allocations: 68.89 kB / 488 MB, free: 71.26 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001283/0.3465, allocations: 1.075 MB / 489.1 MB, free: 70.36 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.3465, allocations: 0 / 489.1 MB, free: 70.36 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003387/0.3499, allocations: 0.8725 MB / 490 MB, free: 69.49 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * 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 (141): * Single equations (assignments): 134 * 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.0003624/0.3503, allocations: 200.2 kB / 490.2 MB, free: 69.31 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003518/0.3538, allocations: 2.385 MB / 492.6 MB, free: 67.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.3538, allocations: 0.5 kB / 492.6 MB, free: 67.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006926/0.3545, allocations: 0.6834 MB / 493.2 MB, free: 66.56 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/0.3557, allocations: 270.4 kB / 493.5 MB, free: 66.32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/0.3657, allocations: 7.318 MB / 0.4891 GB, free: 59.37 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008813/0.3666, allocations: 1.174 MB / 0.4902 GB, free: 58.39 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001879/0.3685, allocations: 1.456 MB / 0.4917 GB, free: 56.93 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003285/0.3688, allocations: 184.5 kB / 0.4918 GB, free: 56.75 MB / 378.7 MB Notification: Performance of SimCode: time 2.936e-06/0.3688, allocations: 0 / 0.4918 GB, free: 56.75 MB / 378.7 MB Notification: Performance of Templates: time 0.02833/0.3971, allocations: 16.92 MB / 0.5084 GB, free: 40.06 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.083696064073592]