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.001092/0.001092, allocations: 95.2 kB / 20.43 MB, free: 4.145 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.001032/0.001032, allocations: 165 kB / 23.79 MB, free: 0.7812 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.8666/0.8666, allocations: 158.6 MB / 185.7 MB, free: 2.93 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.1255/0.1255, allocations: 32.37 MB / 270.4 MB, free: 14.71 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.864e-06/1.864e-06, allocations: 4 kB / 347.7 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.451e-05/1.637e-05, allocations: 5.406 kB / 347.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.008578/0.008594, allocations: 12.2 MB / 359.9 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007284/0.01588, allocations: 3.828 MB / 363.7 MB, free: 9.344 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001496/0.01737, allocations: 71.75 kB / 363.8 MB, free: 9.273 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001806/0.01918, allocations: 1.401 MB / 365.2 MB, free: 7.867 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003116/0.0223, allocations: 1.914 MB / 367.1 MB, free: 5.945 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006627/0.02296, allocations: 482.8 kB / 367.6 MB, free: 5.473 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003338/0.0263, allocations: 3.997 MB / 371.6 MB, free: 1.465 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002196/0.02849, allocations: 2.208 MB / 373.8 MB, free: 15.22 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002146/0.03064, allocations: 1.945 MB / 375.7 MB, free: 13.27 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001623/0.03226, allocations: 1.96 MB / 377.7 MB, free: 11.3 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002766/0.03254, allocations: 244 kB / 377.9 MB, free: 11.07 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009992/0.03354, allocations: 0.7956 MB / 378.7 MB, free: 10.27 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009775/0.03452, allocations: 1.741 MB / 380.4 MB, free: 8.523 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007899/0.03531, allocations: 1.039 MB / 381.5 MB, free: 7.48 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003012/0.03832, allocations: 4.065 MB / 385.5 MB, free: 3.398 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.03832, allocations: 0 / 385.5 MB, free: 3.398 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.03832, allocations: 0 / 385.5 MB, free: 3.398 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.145e-05/0.03837, allocations: 0 / 385.5 MB, free: 3.398 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.004142/0.04252, allocations: 4.608 MB / 390.2 MB, free: 14.72 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.04256, allocations: 8.031 kB / 390.2 MB, free: 14.71 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00607/0.04863, allocations: 3.656 MB / 393.8 MB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001873/0.0505, allocations: 1.769 MB / 395.6 MB, free: 9.246 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/0.0506, allocations: 193.2 kB / 395.8 MB, free: 9.055 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003166/0.05092, allocations: 252.2 kB / 396 MB, free: 8.809 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005516/0.05644, allocations: 5.291 MB / 401.3 MB, free: 2.906 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.234e-05/0.05649, allocations: 23.81 kB / 401.3 MB, free: 2.883 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002285/0.05672, allocations: 115.8 kB / 401.4 MB, free: 2.77 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002263/0.05898, allocations: 2.546 MB / 404 MB, free: 228 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00783/0.06681, allocations: 3.125 MB / 407.1 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03068/0.09749, allocations: 32.88 MB / 440 MB, free: 11.19 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002798/0.1003, allocations: 1.286 MB / 441.3 MB, free: 9.887 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005491/0.1008, allocations: 352.5 kB / 441.6 MB, free: 9.539 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004847/0.1013, allocations: 392.8 kB / 442 MB, free: 9.156 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/0.1014, allocations: 50.7 kB / 442.1 MB, free: 9.098 MB / 378.7 MB Notification: Performance of pre-optimization done (n=187): time 4.007e-06/0.1014, allocations: 0 / 442.1 MB, free: 9.098 MB / 378.7 MB Notification: Performance of matching and sorting (n=193): time 0.01069/0.1121, allocations: 6.197 MB / 448.3 MB, free: 2.852 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/0.1121, allocations: 90.42 kB / 448.3 MB, free: 2.742 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002574/0.1147, allocations: 2.534 MB / 450.9 MB, free: 180 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001137/0.1148, allocations: 49.69 kB / 450.9 MB, free: 124 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1593/0.2741, allocations: 2.982 MB / 453.9 MB, free: 97 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007963/0.2749, allocations: 0.77 MB / 454.7 MB, free: 96.64 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001282/0.2762, allocations: 1.069 MB / 455.7 MB, free: 96.51 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.2764, allocations: 0.5418 MB / 456.3 MB, free: 96.03 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001265/0.2776, allocations: 0.5112 MB / 456.8 MB, free: 96.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002733/0.2804, allocations: 4.869 MB / 461.7 MB, free: 90.42 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004657/0.285, allocations: 5.98 MB / 467.7 MB, free: 84.65 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000114/0.2851, allocations: 31.38 kB / 467.7 MB, free: 84.65 MB / 378.7 MB Notification: Performance of matching and sorting (n=666) (initialization): time 0.006848/0.292, allocations: 4.153 MB / 471.8 MB, free: 83.69 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.056e-05/0.292, allocations: 49.72 kB / 471.9 MB, free: 83.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000114/0.2922, allocations: 105.6 kB / 472 MB, free: 83.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000322/0.2925, allocations: 176 kB / 472.2 MB, free: 83.67 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00241/0.2949, allocations: 1.106 MB / 473.3 MB, free: 83.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001162/0.296, allocations: 2.043 MB / 475.3 MB, free: 81.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002354/0.2984, allocations: 248 kB / 475.5 MB, free: 81.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003236/0.2987, allocations: 307.6 kB / 475.8 MB, free: 81.79 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 471 * 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 (614): * Single equations (assignments): 607 * 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.001222/0.2999, allocations: 0.5524 MB / 476.4 MB, free: 81.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003742/0.3003, allocations: 298.7 kB / 476.7 MB, free: 81.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001898/0.3022, allocations: 1.357 MB / 478.1 MB, free: 80.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.614e-05/0.3022, allocations: 27.83 kB / 478.1 MB, free: 80.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3023, allocations: 0 / 478.1 MB, free: 80.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.3023, allocations: 7.5 kB / 478.1 MB, free: 80.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007384/0.3096, allocations: 5.166 MB / 483.3 MB, free: 75.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-05/0.3097, allocations: 8 kB / 483.3 MB, free: 75.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000725/0.3104, allocations: 255.5 kB / 483.5 MB, free: 75.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001405/0.3105, allocations: 51.28 kB / 483.6 MB, free: 75.73 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.908e-05/0.3106, allocations: 50.23 kB / 483.6 MB, free: 75.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008676/0.3115, allocations: 1.859 MB / 485.5 MB, free: 73.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.426e-06/0.3115, allocations: 15.94 kB / 485.5 MB, free: 73.72 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002225/0.3137, allocations: 1.982 MB / 487.5 MB, free: 71.65 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006911/0.3144, allocations: 421.2 kB / 487.9 MB, free: 71.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002714/0.3147, allocations: 35.84 kB / 487.9 MB, free: 71.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004997/0.3152, allocations: 86.44 kB / 488 MB, free: 71.18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/0.3153, allocations: 131 kB / 488.1 MB, free: 71.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.808e-05/0.3154, allocations: 61.97 kB / 488.2 MB, free: 71.04 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001165/0.3166, allocations: 1.079 MB / 489.3 MB, free: 70.14 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3166, allocations: 0 / 489.3 MB, free: 70.14 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003054/0.3196, allocations: 0.8851 MB / 490.1 MB, free: 69.27 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.0003977/0.32, allocations: 202.5 kB / 490.3 MB, free: 69.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003363/0.3234, allocations: 2.394 MB / 492.7 MB, free: 66.95 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.3234, allocations: 4.938 kB / 492.7 MB, free: 66.95 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006832/0.3241, allocations: 0.6804 MB / 493.4 MB, free: 66.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001085/0.3251, allocations: 269.5 kB / 493.7 MB, free: 66.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009575/0.3347, allocations: 7.317 MB / 0.4893 GB, free: 59.13 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001032/0.3358, allocations: 1.167 MB / 0.4904 GB, free: 58.14 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001976/0.3377, allocations: 1.463 MB / 0.4918 GB, free: 56.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003621/0.3381, allocations: 184.5 kB / 0.492 GB, free: 56.5 MB / 378.7 MB Notification: Performance of SimCode: time 1.853e-06/0.3381, allocations: 0 / 0.492 GB, free: 56.5 MB / 378.7 MB Notification: Performance of Templates: time 0.02906/0.3672, allocations: 17.73 MB / 0.5093 GB, free: 39 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: 3.994557924102992]