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.001055/0.001055, allocations: 84.25 kB / 22.21 MB, free: 2.285 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.001082/0.001082, allocations: 165.2 kB / 25.61 MB, free: 8.922 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.9521/0.9521, allocations: 177 MB / 205.9 MB, free: 4.43 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.1616/0.1616, allocations: 34.88 MB / 297.4 MB, free: 13.33 MB / 282.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.673e-06/1.673e-06, allocations: 0 / 380 MB, free: 22.74 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.673e-05/2.84e-05, allocations: 3.625 kB / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.007447/0.007476, allocations: 11.5 MB / 391.5 MB, free: 11.18 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005595/0.01307, allocations: 3.771 MB / 395.3 MB, free: 7.402 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001525/0.0146, allocations: 67.75 kB / 395.4 MB, free: 7.336 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001756/0.01635, allocations: 1.37 MB / 396.7 MB, free: 5.961 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002842/0.01919, allocations: 1.844 MB / 398.6 MB, free: 4.109 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007024/0.0199, allocations: 466.9 kB / 399 MB, free: 3.652 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003053/0.02295, allocations: 3.969 MB / 403 MB, free: 15.68 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00246/0.02541, allocations: 2.149 MB / 405.1 MB, free: 13.48 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002756/0.02816, allocations: 1.871 MB / 407 MB, free: 11.61 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002879/0.03104, allocations: 1.937 MB / 409 MB, free: 9.664 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005264/0.03157, allocations: 240 kB / 409.2 MB, free: 9.43 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001201/0.03277, allocations: 0.7761 MB / 410 MB, free: 8.652 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001122/0.03389, allocations: 1.671 MB / 411.6 MB, free: 6.977 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001206/0.0351, allocations: 1 MB / 412.6 MB, free: 5.973 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004845/0.03994, allocations: 3.922 MB / 416.6 MB, free: 2.035 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.03995, allocations: 0 / 416.6 MB, free: 2.035 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.03995, allocations: 0 / 416.6 MB, free: 2.035 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001651/0.04012, allocations: 7.938 kB / 416.6 MB, free: 2.027 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.004601/0.04472, allocations: 4.346 MB / 420.9 MB, free: 13.62 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.04475, allocations: 8.031 kB / 420.9 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004374/0.04913, allocations: 1.836 MB / 422.8 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002535/0.05166, allocations: 1.542 MB / 424.3 MB, free: 10.19 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001113/0.05177, allocations: 189 kB / 424.5 MB, free: 10 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003442/0.05212, allocations: 240.2 kB / 424.7 MB, free: 9.766 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006416/0.05853, allocations: 4.709 MB / 429.4 MB, free: 4.48 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.51e-05/0.0586, allocations: 27.77 kB / 429.4 MB, free: 4.453 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002556/0.05885, allocations: 115.8 kB / 429.6 MB, free: 4.34 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002338/0.06119, allocations: 2.136 MB / 431.7 MB, free: 2.203 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006864/0.06806, allocations: 2.459 MB / 434.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02955/0.0976, allocations: 31.62 MB / 465.8 MB, free: 15.12 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00269/0.1003, allocations: 1.172 MB / 467 MB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003844/0.1007, allocations: 293.8 kB / 467.2 MB, free: 13.67 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004503/0.1011, allocations: 396.9 kB / 467.6 MB, free: 13.28 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.93e-05/0.1012, allocations: 62.62 kB / 467.7 MB, free: 13.21 MB / 394.7 MB Notification: Performance of pre-optimization done (n=185): time 5.18e-06/0.1012, allocations: 4 kB / 467.7 MB, free: 13.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=191): time 0.008813/0.11, allocations: 4.676 MB / 472.4 MB, free: 8.484 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.11, allocations: 68.72 kB / 472.4 MB, free: 8.406 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00223/0.1123, allocations: 2.463 MB / 474.9 MB, free: 5.906 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.978e-05/0.1123, allocations: 49.7 kB / 474.9 MB, free: 5.852 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001248/0.1136, allocations: 2.926 MB / 477.9 MB, free: 2.895 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003971/0.114, allocations: 0.7675 MB / 478.6 MB, free: 2.121 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008123/0.1148, allocations: 1.08 MB / 479.7 MB, free: 1.027 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.1149, allocations: 0.5393 MB / 480.3 MB, free: 492 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007478/0.1157, allocations: 461.5 kB / 480.7 MB, free: 24 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002379/0.118, allocations: 4.723 MB / 485.4 MB, free: 9.355 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003541/0.1216, allocations: 5.689 MB / 491.1 MB, free: 1.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.995e-05/0.1216, allocations: 28 kB / 491.2 MB, free: 1.703 MB / 410.7 MB Notification: Performance of matching and sorting (n=653) (initialization): time 0.004394/0.126, allocations: 3.774 MB / 494.9 MB, free: 13.91 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.021e-05/0.1261, allocations: 48 kB / 495 MB, free: 13.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.968e-05/0.1261, allocations: 103.9 kB / 495.1 MB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002258/0.1264, allocations: 171.7 kB / 495.2 MB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001751/0.1281, allocations: 1.06 MB / 496.3 MB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001091/0.1292, allocations: 2.002 MB / 498.3 MB, free: 10.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002138/0.1313, allocations: 176 kB / 498.5 MB, free: 10.24 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002858/0.1316, allocations: 268 kB / 498.7 MB, free: 9.98 MB / 426.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.001431/0.1331, allocations: 0.5436 MB / 499.3 MB, free: 9.422 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004292/0.1335, allocations: 298.2 kB / 499.6 MB, free: 9.129 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001438/0.1349, allocations: 1.259 MB / 0.4891 GB, free: 7.844 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-05/0.135, allocations: 20 kB / 0.4891 GB, free: 7.824 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.135, allocations: 0 / 0.4891 GB, free: 7.824 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/0.135, allocations: 7.969 kB / 0.4891 GB, free: 7.816 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006344/0.1413, allocations: 4.766 MB / 0.4938 GB, free: 2.828 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.817e-06/0.1413, allocations: 8 kB / 0.4938 GB, free: 2.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00051/0.1418, allocations: 231.5 kB / 0.494 GB, free: 2.594 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000105/0.1419, allocations: 55.64 kB / 0.4941 GB, free: 2.535 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-05/0.142, allocations: 36 kB / 0.4941 GB, free: 2.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008528/0.1428, allocations: 1.832 MB / 0.4959 GB, free: 0.5469 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.1429, allocations: 15.94 kB / 0.4959 GB, free: 0.5312 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1612/0.304, allocations: 1.81 MB / 0.4977 GB, free: 118.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004617/0.3045, allocations: 231.4 kB / 0.4979 GB, free: 118.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001947/0.3047, allocations: 38.66 kB / 0.4979 GB, free: 118.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004544/0.3051, allocations: 31.78 kB / 0.4979 GB, free: 118.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/0.3053, allocations: 123 kB / 0.4981 GB, free: 118.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.998e-05/0.3053, allocations: 65.33 kB / 0.4981 GB, free: 118.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001074/0.3064, allocations: 0.9759 MB / 0.4991 GB, free: 118 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3064, allocations: 1.203 kB / 0.4991 GB, free: 118 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00289/0.3093, allocations: 0.8285 MB / 0.4999 GB, free: 118 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.0004039/0.3097, allocations: 192 kB / 0.5001 GB, free: 117.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002566/0.3123, allocations: 2.22 MB / 0.5022 GB, free: 117.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.226e-06/0.3123, allocations: 3.906 kB / 0.5022 GB, free: 117.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005584/0.3128, allocations: 0.6384 MB / 0.5029 GB, free: 117.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009244/0.3138, allocations: 277.7 kB / 0.5031 GB, free: 117.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00842/0.3222, allocations: 7.092 MB / 0.5101 GB, free: 114.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001124/0.3233, allocations: 1.144 MB / 0.5112 GB, free: 114.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001128/0.3244, allocations: 380.9 kB / 0.5115 GB, free: 114.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005386/0.325, allocations: 443.7 kB / 0.512 GB, free: 114.1 MB / 426.7 MB Notification: Performance of SimCode: time 2.935e-06/0.325, allocations: 0 / 0.512 GB, free: 114.1 MB / 426.7 MB Notification: Performance of Templates: time 0.03271/0.3577, allocations: 19.28 MB / 0.5308 GB, free: 97.36 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: 4.188722363207489]