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.001165/0.001165, allocations: 88.73 kB / 21.5 MB, free: 2.988 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.001088/0.001088, allocations: 161.9 kB / 24.91 MB, free: 9.152 MB / 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 0.9931/0.9931, allocations: 177 MB / 205.2 MB, free: 5.457 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.2863/0.2863, allocations: 34.87 MB / 296.6 MB, free: 0.5 MB / 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 2.314e-06/2.314e-06, allocations: 0 / 325.9 MB, free: 7.168 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.982e-05/3.213e-05, allocations: 2.312 kB / 325.9 MB, free: 7.164 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.00969/0.009722, allocations: 11.51 MB / 337.4 MB, free: 11.6 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007778/0.0175, allocations: 3.913 MB / 341.3 MB, free: 7.672 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002098/0.0196, allocations: 67.75 kB / 341.4 MB, free: 7.605 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00218/0.02178, allocations: 1.393 MB / 342.8 MB, free: 6.207 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003649/0.02543, allocations: 1.847 MB / 344.6 MB, free: 4.355 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008377/0.02627, allocations: 471 kB / 345.1 MB, free: 3.895 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004557/0.03082, allocations: 3.964 MB / 349.1 MB, free: 15.93 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003226/0.03405, allocations: 2.227 MB / 351.3 MB, free: 13.65 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002867/0.03692, allocations: 1.867 MB / 353.2 MB, free: 11.78 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002122/0.03904, allocations: 1.831 MB / 355 MB, free: 9.941 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004295/0.03947, allocations: 240 kB / 355.2 MB, free: 9.707 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001143/0.04061, allocations: 0.7722 MB / 356 MB, free: 8.934 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001041/0.04165, allocations: 1.671 MB / 357.7 MB, free: 7.258 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001182/0.04283, allocations: 0.9964 MB / 358.7 MB, free: 6.258 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003664/0.0465, allocations: 3.922 MB / 362.6 MB, free: 2.32 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.0465, allocations: 0 / 362.6 MB, free: 2.32 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.0465, allocations: 0 / 362.6 MB, free: 2.32 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001126/0.04662, allocations: 0 / 362.6 MB, free: 2.32 MB / 330.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.003748/0.05037, allocations: 3.76 MB / 366.3 MB, free: 14.51 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.05041, allocations: 12.03 kB / 366.4 MB, free: 14.5 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003581/0.05399, allocations: 1.397 MB / 367.8 MB, free: 13.1 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001756/0.05574, allocations: 1.39 MB / 369.1 MB, free: 11.68 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.05584, allocations: 193 kB / 369.3 MB, free: 11.48 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003068/0.05615, allocations: 244.2 kB / 369.6 MB, free: 11.25 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0046/0.06075, allocations: 4.368 MB / 373.9 MB, free: 6.445 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.455e-05/0.0608, allocations: 31.7 kB / 374 MB, free: 6.414 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002233/0.06103, allocations: 115.8 kB / 374.1 MB, free: 6.301 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001874/0.0629, allocations: 2.136 MB / 376.2 MB, free: 4.164 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004713/0.06762, allocations: 2.501 MB / 378.7 MB, free: 1.645 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02542/0.09303, allocations: 23.78 MB / 402.5 MB, free: 9.047 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002418/0.09545, allocations: 1.192 MB / 403.7 MB, free: 7.848 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003368/0.09579, allocations: 242.6 kB / 403.9 MB, free: 7.613 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004749/0.09626, allocations: 400.6 kB / 404.3 MB, free: 7.219 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/0.0963, allocations: 47.91 kB / 404.4 MB, free: 7.164 MB / 378.7 MB Notification: Performance of pre-optimization done (n=185): time 5.35e-06/0.0963, allocations: 0 / 404.4 MB, free: 7.164 MB / 378.7 MB Notification: Performance of matching and sorting (n=191): time 0.008805/0.1051, allocations: 4.302 MB / 408.7 MB, free: 2.828 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.1052, allocations: 72.72 kB / 408.7 MB, free: 2.742 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001881/0.107, allocations: 2.212 MB / 411 MB, free: 0.4961 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.745e-05/0.1071, allocations: 45.7 kB / 411 MB, free: 456 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001318/0.1084, allocations: 2.691 MB / 413.7 MB, free: 13.72 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003985/0.1088, allocations: 0.7245 MB / 414.4 MB, free: 12.99 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007326/0.1096, allocations: 0.9065 MB / 415.3 MB, free: 12.07 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.1097, allocations: 361.8 kB / 415.7 MB, free: 11.71 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008991/0.1106, allocations: 0.5945 MB / 416.3 MB, free: 11.11 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002426/0.113, allocations: 3.333 MB / 419.6 MB, free: 6.359 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003767/0.1168, allocations: 4.374 MB / 424 MB, free: 0.5703 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.423e-05/0.1168, allocations: 31.75 kB / 424 MB, free: 0.543 MB / 394.7 MB Notification: Performance of matching and sorting (n=653) (initialization): time 0.004895/0.1217, allocations: 3.179 MB / 427.2 MB, free: 13.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.957e-05/0.1218, allocations: 48 kB / 427.2 MB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-05/0.1219, allocations: 104 kB / 427.3 MB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002943/0.1221, allocations: 160.8 kB / 427.5 MB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001844/0.124, allocations: 1.057 MB / 428.5 MB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001169/0.1252, allocations: 1.47 MB / 430 MB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002188/0.1274, allocations: 184 kB / 430.2 MB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000254/0.1276, allocations: 260 kB / 430.4 MB, free: 9.977 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 458 * 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 (601): * Single equations (assignments): 594 * 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.001488/0.1291, allocations: 0.5006 MB / 430.9 MB, free: 9.465 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002952/0.1294, allocations: 179.8 kB / 431.1 MB, free: 9.289 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001213/0.1306, allocations: 1.036 MB / 432.2 MB, free: 8.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.197e-05/0.1306, allocations: 20 kB / 432.2 MB, free: 8.211 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.1306, allocations: 0 / 432.2 MB, free: 8.211 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.1306, allocations: 7.969 kB / 432.2 MB, free: 8.203 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005338/0.136, allocations: 3.975 MB / 436.2 MB, free: 4.016 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/0.136, allocations: 12 kB / 436.2 MB, free: 4.004 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005225/0.1365, allocations: 223.7 kB / 436.4 MB, free: 3.785 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001202/0.1366, allocations: 56.81 kB / 436.4 MB, free: 3.727 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.483e-05/0.1367, allocations: 36 kB / 436.5 MB, free: 3.691 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009798/0.1377, allocations: 1.409 MB / 437.9 MB, free: 2.184 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.1377, allocations: 11.94 kB / 437.9 MB, free: 2.172 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00156/0.1392, allocations: 1.52 MB / 439.4 MB, free: 472 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002931/0.1395, allocations: 222.3 kB / 439.6 MB, free: 248 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001577/0.1397, allocations: 36 kB / 439.7 MB, free: 212 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003771/0.1401, allocations: 39.97 kB / 439.7 MB, free: 172 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/0.1402, allocations: 116.6 kB / 439.8 MB, free: 56 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.976e-05/0.1403, allocations: 64.02 kB / 439.9 MB, free: 15.99 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006298/0.1409, allocations: 0.7633 MB / 440.7 MB, free: 15.21 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1409, allocations: 0 / 440.7 MB, free: 15.21 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002489/0.1434, allocations: 0.8435 MB / 441.5 MB, free: 14.37 MB / 426.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.0003251/0.1437, allocations: 183.9 kB / 441.7 MB, free: 14.18 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002225/0.146, allocations: 1.995 MB / 443.7 MB, free: 12.19 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.763e-05/0.146, allocations: 68.06 kB / 443.7 MB, free: 12.12 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004855/0.1465, allocations: 0.511 MB / 444.2 MB, free: 11.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007924/0.1473, allocations: 274.3 kB / 444.5 MB, free: 11.33 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008576/0.1559, allocations: 7.261 MB / 451.8 MB, free: 3.855 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009618/0.1569, allocations: 1.133 MB / 452.9 MB, free: 2.703 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0009717/0.1578, allocations: 379.5 kB / 453.3 MB, free: 2.328 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005319/0.1584, allocations: 409.2 kB / 453.7 MB, free: 1.926 MB / 426.7 MB Notification: Performance of SimCode: time 2.014e-06/0.1584, allocations: 0 / 453.7 MB, free: 1.926 MB / 426.7 MB Notification: Performance of Templates: time 0.2071/0.3655, allocations: 18.8 MB / 472.5 MB, free: 108.3 MB / 426.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: 3.9834576630964875]