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.001162/0.001162, allocations: 81.91 kB / 21.42 MB, free: 3.066 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.001401/0.001401, allocations: 163 kB / 24.82 MB, free: 9.312 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.9908/0.9908, allocations: 177 MB / 205.1 MB, free: 5.488 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.3041/0.3041, allocations: 34.87 MB / 296.6 MB, free: 444 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.674e-06/1.674e-06, allocations: 0 / 379.2 MB, free: 1.809 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.629e-05/2.796e-05, allocations: 11.03 kB / 379.2 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01164/0.01166, allocations: 11.5 MB / 390.7 MB, free: 6.242 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008235/0.0199, allocations: 3.773 MB / 394.5 MB, free: 2.457 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002097/0.022, allocations: 67.75 kB / 394.6 MB, free: 2.391 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002762/0.02476, allocations: 1.378 MB / 396 MB, free: 1.008 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004576/0.02933, allocations: 1.847 MB / 397.8 MB, free: 15.15 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001004/0.03034, allocations: 451 kB / 398.2 MB, free: 14.71 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005146/0.03549, allocations: 3.966 MB / 402.2 MB, free: 10.74 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002617/0.0381, allocations: 2.172 MB / 404.4 MB, free: 8.523 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002788/0.04089, allocations: 1.874 MB / 406.3 MB, free: 6.645 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002664/0.04355, allocations: 1.929 MB / 408.2 MB, free: 4.711 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000616/0.04417, allocations: 240 kB / 408.4 MB, free: 4.477 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001313/0.04548, allocations: 0.7801 MB / 409.2 MB, free: 3.695 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001233/0.04672, allocations: 1.671 MB / 410.9 MB, free: 2.02 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001321/0.04804, allocations: 0.9886 MB / 411.9 MB, free: 1.027 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004352/0.05239, allocations: 3.922 MB / 415.8 MB, free: 13.09 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.0524, allocations: 0 / 415.8 MB, free: 13.09 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.0524, allocations: 4 kB / 415.8 MB, free: 13.08 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001552/0.05255, allocations: 0 / 415.8 MB, free: 13.08 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.00561/0.05816, allocations: 4.346 MB / 420.1 MB, free: 8.672 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.05821, allocations: 12.03 kB / 420.1 MB, free: 8.66 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005621/0.06383, allocations: 1.84 MB / 422 MB, free: 6.816 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002639/0.06647, allocations: 1.542 MB / 423.5 MB, free: 5.242 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001374/0.06661, allocations: 185 kB / 423.7 MB, free: 5.059 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003892/0.067, allocations: 252.2 kB / 424 MB, free: 4.812 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006476/0.07347, allocations: 4.693 MB / 428.6 MB, free: 15.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-05/0.07354, allocations: 27.77 kB / 428.7 MB, free: 15.51 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006943/0.07424, allocations: 111.8 kB / 428.8 MB, free: 15.4 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002475/0.07671, allocations: 2.144 MB / 430.9 MB, free: 13.26 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0064/0.08311, allocations: 2.457 MB / 433.4 MB, free: 10.78 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.206/0.2891, allocations: 31.62 MB / 465 MB, free: 67.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002754/0.2919, allocations: 1.165 MB / 466.2 MB, free: 67.78 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005439/0.2924, allocations: 296.1 kB / 466.5 MB, free: 67.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006427/0.2931, allocations: 405.5 kB / 466.8 MB, free: 67.77 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.993e-05/0.2931, allocations: 49.64 kB / 466.9 MB, free: 67.72 MB / 410.7 MB Notification: Performance of pre-optimization done (n=185): time 5.61e-06/0.2931, allocations: 2.219 kB / 466.9 MB, free: 67.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=191): time 0.01084/0.3039, allocations: 4.68 MB / 471.6 MB, free: 66.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.304, allocations: 69.53 kB / 471.6 MB, free: 66.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002239/0.3062, allocations: 2.472 MB / 474.1 MB, free: 66.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.139e-05/0.3063, allocations: 54.55 kB / 474.2 MB, free: 66.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001125/0.3074, allocations: 2.923 MB / 477.1 MB, free: 64.79 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000398/0.3078, allocations: 0.7677 MB / 477.9 MB, free: 64.36 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008385/0.3086, allocations: 1.073 MB / 478.9 MB, free: 64.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.3088, allocations: 0.542 MB / 479.5 MB, free: 63.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006355/0.3094, allocations: 460.1 kB / 479.9 MB, free: 63.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002011/0.3114, allocations: 4.714 MB / 484.6 MB, free: 58.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003429/0.3148, allocations: 5.684 MB / 490.3 MB, free: 52.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.859e-05/0.3149, allocations: 31.91 kB / 490.4 MB, free: 52.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=653) (initialization): time 0.004851/0.3198, allocations: 3.781 MB / 494.1 MB, free: 50.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.468e-05/0.3198, allocations: 48.25 kB / 494.2 MB, free: 50.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.52e-05/0.3199, allocations: 105.5 kB / 494.3 MB, free: 50.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002685/0.3202, allocations: 172.7 kB / 494.5 MB, free: 50.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0016/0.3218, allocations: 1.053 MB / 495.5 MB, free: 50.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009409/0.3227, allocations: 2.008 MB / 497.5 MB, free: 48.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001852/0.3246, allocations: 186.3 kB / 497.7 MB, free: 48.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003212/0.3249, allocations: 255.6 kB / 497.9 MB, free: 48.58 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.001242/0.3261, allocations: 0.5471 MB / 498.5 MB, free: 48.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004254/0.3265, allocations: 289.5 kB / 498.8 MB, free: 47.97 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001635/0.3282, allocations: 1.267 MB / 0.4883 GB, free: 47.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.532e-05/0.3282, allocations: 21.03 kB / 0.4883 GB, free: 47.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.3282, allocations: 1.312 kB / 0.4883 GB, free: 47.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.422e-05/0.3282, allocations: 9.891 kB / 0.4884 GB, free: 47.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01038/0.3386, allocations: 4.769 MB / 0.493 GB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-05/0.3386, allocations: 9.844 kB / 0.493 GB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008183/0.3394, allocations: 222.9 kB / 0.4932 GB, free: 44.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001555/0.3396, allocations: 48.5 kB / 0.4933 GB, free: 44.92 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.974e-05/0.3397, allocations: 48.31 kB / 0.4933 GB, free: 44.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008906/0.3406, allocations: 1.835 MB / 0.4951 GB, free: 43.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.688e-06/0.3406, allocations: 13.78 kB / 0.4951 GB, free: 43.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002419/0.343, allocations: 1.804 MB / 0.4969 GB, free: 41.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004244/0.3434, allocations: 229.5 kB / 0.4971 GB, free: 41.83 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001631/0.3436, allocations: 37.02 kB / 0.4971 GB, free: 41.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004185/0.344, allocations: 37.2 kB / 0.4972 GB, free: 41.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/0.3442, allocations: 126.1 kB / 0.4973 GB, free: 41.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.804e-05/0.3442, allocations: 53.75 kB / 0.4974 GB, free: 41.75 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001178/0.3454, allocations: 0.9789 MB / 0.4983 GB, free: 41.38 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3454, allocations: 4.031 kB / 0.4983 GB, free: 41.37 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003333/0.3487, allocations: 0.8363 MB / 0.4991 GB, free: 41.27 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.0004033/0.3492, allocations: 189.9 kB / 0.4993 GB, free: 41.13 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00282/0.352, allocations: 2.222 MB / 0.5015 GB, free: 40.34 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.986e-06/0.352, allocations: 2.188 kB / 0.5015 GB, free: 40.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000605/0.3526, allocations: 0.635 MB / 0.5021 GB, free: 40.03 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/0.3538, allocations: 278.7 kB / 0.5024 GB, free: 39.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01149/0.3652, allocations: 7.093 MB / 0.5093 GB, free: 36.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001025/0.3663, allocations: 1.142 MB / 0.5104 GB, free: 35.77 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001068/0.3673, allocations: 380.2 kB / 0.5108 GB, free: 35.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005168/0.3679, allocations: 440.9 kB / 0.5112 GB, free: 35.58 MB / 410.7 MB Notification: Performance of SimCode: time 2.034e-06/0.3679, allocations: 0 / 0.5112 GB, free: 35.58 MB / 410.7 MB Notification: Performance of Templates: time 0.0353/0.4031, allocations: 18.89 MB / 0.5296 GB, free: 22.44 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.220537388697267]