Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.0009525/0.0009525, allocations: 87.58 kB / 21.19 MB, free: 3.371 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.0009636/0.0009636, allocations: 165 kB / 24.56 MB, free: 4 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9757/0.9757, allocations: 177.1 MB / 205 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2506/0.2506, allocations: 32.8 MB / 294.3 MB, free: 1.219 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 376 MB, free: 4.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.116e-05/3.335e-05, allocations: 2.312 kB / 376 MB, free: 4.656 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01495/0.01499, allocations: 11.81 MB / 387.8 MB, free: 8.781 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00847/0.02346, allocations: 3.792 MB / 391.6 MB, free: 4.977 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001736/0.02519, allocations: 67.75 kB / 391.7 MB, free: 4.91 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002152/0.02734, allocations: 1.397 MB / 393.1 MB, free: 3.508 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00308/0.03042, allocations: 1.836 MB / 394.9 MB, free: 1.664 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007928/0.03122, allocations: 466.9 kB / 395.4 MB, free: 1.207 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003511/0.03473, allocations: 3.968 MB / 399.4 MB, free: 13.23 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002697/0.03742, allocations: 2.164 MB / 401.5 MB, free: 11.03 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00226/0.03968, allocations: 1.839 MB / 403.4 MB, free: 9.188 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002166/0.04185, allocations: 1.972 MB / 405.3 MB, free: 7.211 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005712/0.04242, allocations: 240 kB / 405.6 MB, free: 6.977 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001157/0.04358, allocations: 0.7723 MB / 406.3 MB, free: 6.203 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001299/0.04488, allocations: 1.679 MB / 408 MB, free: 4.52 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001148/0.04603, allocations: 0.9964 MB / 409 MB, free: 3.52 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003661/0.04969, allocations: 3.933 MB / 412.9 MB, free: 15.57 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.04969, allocations: 0 / 412.9 MB, free: 15.57 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.04969, allocations: 0 / 412.9 MB, free: 15.57 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.424e-05/0.04975, allocations: 0 / 412.9 MB, free: 15.57 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.004704/0.05445, allocations: 4.502 MB / 417.4 MB, free: 11 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.0545, allocations: 8.031 kB / 417.5 MB, free: 11 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005939/0.06044, allocations: 3.625 MB / 421.1 MB, free: 7.363 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002869/0.06331, allocations: 1.714 MB / 422.8 MB, free: 5.613 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001125/0.06342, allocations: 189 kB / 423 MB, free: 5.426 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003342/0.06375, allocations: 248.2 kB / 423.2 MB, free: 5.184 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006895/0.07065, allocations: 5.179 MB / 428.4 MB, free: 15.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.413e-05/0.0707, allocations: 23.77 kB / 428.4 MB, free: 15.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002276/0.07093, allocations: 119.8 kB / 428.5 MB, free: 15.29 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00215/0.07308, allocations: 2.459 MB / 431 MB, free: 12.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006707/0.07979, allocations: 3.076 MB / 434.1 MB, free: 9.734 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1901/0.2699, allocations: 32.05 MB / 466.1 MB, free: 68.42 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002661/0.2726, allocations: 1.245 MB / 467.4 MB, free: 68.38 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004914/0.2731, allocations: 349.1 kB / 467.7 MB, free: 68.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004533/0.2735, allocations: 406.8 kB / 468.1 MB, free: 68.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.2735, allocations: 51.92 kB / 468.2 MB, free: 68.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=185): time 4.058e-06/0.2736, allocations: 3.062 kB / 468.2 MB, free: 68.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=191): time 0.00973/0.2833, allocations: 5.476 MB / 473.6 MB, free: 67.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.2833, allocations: 65.47 kB / 473.7 MB, free: 67 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002283/0.2856, allocations: 2.459 MB / 476.2 MB, free: 66.44 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.963e-05/0.2857, allocations: 46.11 kB / 476.2 MB, free: 66.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001035/0.2867, allocations: 2.903 MB / 479.1 MB, free: 64.58 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004199/0.2871, allocations: 0.7693 MB / 479.9 MB, free: 64.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008058/0.2879, allocations: 1.042 MB / 480.9 MB, free: 63.51 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.312e-05/0.288, allocations: 0.5347 MB / 481.4 MB, free: 63 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008197/0.2888, allocations: 0.5051 MB / 482 MB, free: 62.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001834/0.2907, allocations: 4.699 MB / 486.7 MB, free: 57.26 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003478/0.2941, allocations: 5.772 MB / 492.4 MB, free: 51.15 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.239e-05/0.2942, allocations: 27.06 kB / 492.5 MB, free: 51.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.004908/0.2991, allocations: 4.036 MB / 496.5 MB, free: 49.61 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.586e-05/0.2992, allocations: 47.41 kB / 496.5 MB, free: 49.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001263/0.2993, allocations: 103.6 kB / 496.6 MB, free: 49.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003518/0.2996, allocations: 166.7 kB / 496.8 MB, free: 49.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002013/0.3017, allocations: 1.068 MB / 497.9 MB, free: 49.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00108/0.3027, allocations: 2.037 MB / 499.9 MB, free: 47.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001854/0.3046, allocations: 242.4 kB / 0.4884 GB, free: 47.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003822/0.305, allocations: 293.7 kB / 0.4887 GB, free: 47.49 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 453 * 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 (596): * Single equations (assignments): 589 * 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.001203/0.3062, allocations: 0.537 MB / 0.4892 GB, free: 47.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003405/0.3065, allocations: 294.1 kB / 0.4895 GB, free: 46.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001776/0.3083, allocations: 1.356 MB / 0.4908 GB, free: 46.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.249e-05/0.3083, allocations: 20.94 kB / 0.4908 GB, free: 46.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.3083, allocations: 0.875 kB / 0.4908 GB, free: 46.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.3083, allocations: 8.203 kB / 0.4909 GB, free: 46.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007503/0.3158, allocations: 4.927 MB / 0.4957 GB, free: 43.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-05/0.3159, allocations: 9.625 kB / 0.4957 GB, free: 43.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006252/0.3165, allocations: 248.2 kB / 0.4959 GB, free: 43.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000136/0.3166, allocations: 50.64 kB / 0.496 GB, free: 43.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.07e-05/0.3167, allocations: 50.75 kB / 0.496 GB, free: 43.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007733/0.3175, allocations: 1.863 MB / 0.4978 GB, free: 42.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.675e-06/0.3175, allocations: 14.47 kB / 0.4978 GB, free: 42.08 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002194/0.3197, allocations: 1.954 MB / 0.4998 GB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003726/0.3201, allocations: 226.3 kB / 0.5 GB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001798/0.3202, allocations: 37.95 kB / 0.5 GB, free: 40.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004741/0.3207, allocations: 78.92 kB / 0.5001 GB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/0.3208, allocations: 123.6 kB / 0.5002 GB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.136e-05/0.3209, allocations: 63.95 kB / 0.5003 GB, free: 40.66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001158/0.3221, allocations: 1.04 MB / 0.5013 GB, free: 40.27 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3221, allocations: 4.031 kB / 0.5013 GB, free: 40.27 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002927/0.325, allocations: 0.8347 MB / 0.5021 GB, free: 40.17 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.0003719/0.3254, allocations: 189.4 kB / 0.5023 GB, free: 40.03 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003302/0.3287, allocations: 2.35 MB / 0.5046 GB, free: 39.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.3287, allocations: 3.094 kB / 0.5046 GB, free: 39.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006942/0.3294, allocations: 0.6722 MB / 0.5052 GB, free: 38.86 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/0.3305, allocations: 268.4 kB / 0.5055 GB, free: 38.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009363/0.3398, allocations: 7.126 MB / 0.5124 GB, free: 34.97 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001255/0.3411, allocations: 1.143 MB / 0.5136 GB, free: 34.6 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002666/0.3437, allocations: 1.438 MB / 0.515 GB, free: 34.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004364/0.3442, allocations: 177.1 kB / 0.5151 GB, free: 34.24 MB / 410.7 MB Notification: Performance of SimCode: time 1.713e-06/0.3442, allocations: 0 / 0.5151 GB, free: 34.24 MB / 410.7 MB Notification: Performance of Templates: time 0.03465/0.3788, allocations: 16.65 MB / 0.5314 GB, free: 22.89 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.188027280848473]