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.0009897/0.0009897, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.0009077/0.0009077, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 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.9773/0.9773, allocations: 177 MB / 204.8 MB, free: 5.621 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.3019/0.3019, allocations: 34.86 MB / 296.3 MB, free: 476 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.523e-06/1.523e-06, allocations: 0 / 378.8 MB, free: 2.062 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.419e-05/2.571e-05, allocations: 2.312 kB / 378.8 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.009603/0.009629, allocations: 11.8 MB / 390.6 MB, free: 6.199 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007137/0.01677, allocations: 3.798 MB / 394.4 MB, free: 2.391 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001792/0.01856, allocations: 71.75 kB / 394.5 MB, free: 2.32 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002079/0.02064, allocations: 1.397 MB / 395.8 MB, free: 0.918 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00346/0.0241, allocations: 1.847 MB / 397.7 MB, free: 15.06 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008069/0.0249, allocations: 459 kB / 398.1 MB, free: 14.61 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0036/0.0285, allocations: 3.966 MB / 402.1 MB, free: 10.64 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002486/0.03099, allocations: 2.168 MB / 404.3 MB, free: 8.43 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002803/0.03379, allocations: 1.878 MB / 406.2 MB, free: 6.547 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002383/0.03618, allocations: 1.933 MB / 408.1 MB, free: 4.609 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007465/0.03692, allocations: 240 kB / 408.3 MB, free: 4.375 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001406/0.03833, allocations: 0.7762 MB / 409.1 MB, free: 3.598 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001285/0.03961, allocations: 1.663 MB / 410.8 MB, free: 1.93 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00147/0.04108, allocations: 0.9964 MB / 411.8 MB, free: 0.9297 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004358/0.04544, allocations: 3.926 MB / 415.7 MB, free: 12.99 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.04545, allocations: 0 / 415.7 MB, free: 12.99 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.04545, allocations: 4 kB / 415.7 MB, free: 12.98 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002006/0.04565, allocations: 0 / 415.7 MB, free: 12.98 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.005709/0.05136, allocations: 4.463 MB / 420.2 MB, free: 8.457 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.05141, allocations: 8.031 kB / 420.2 MB, free: 8.449 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006362/0.05777, allocations: 3.625 MB / 423.8 MB, free: 4.816 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002606/0.06037, allocations: 1.73 MB / 425.5 MB, free: 3.055 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001145/0.06049, allocations: 193 kB / 425.7 MB, free: 2.863 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000337/0.06083, allocations: 248.1 kB / 425.9 MB, free: 2.621 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007202/0.06803, allocations: 5.171 MB / 431.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.001e-05/0.06809, allocations: 27.77 kB / 431.1 MB, free: 12.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002411/0.06833, allocations: 111.8 kB / 431.3 MB, free: 12.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002329/0.07066, allocations: 2.471 MB / 433.7 MB, free: 10.26 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007268/0.07793, allocations: 3.076 MB / 436.8 MB, free: 7.172 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2054/0.2833, allocations: 32.04 MB / 468.8 MB, free: 66.56 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002845/0.2861, allocations: 1.245 MB / 470.1 MB, free: 66.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004848/0.2866, allocations: 351.2 kB / 470.4 MB, free: 66.51 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004701/0.2871, allocations: 408 kB / 470.8 MB, free: 66.51 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.831e-05/0.2871, allocations: 51.27 kB / 470.9 MB, free: 66.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=185): time 6.412e-06/0.2871, allocations: 0 / 470.9 MB, free: 66.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=191): time 0.01018/0.2973, allocations: 5.471 MB / 476.3 MB, free: 65.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.2974, allocations: 69.38 kB / 476.4 MB, free: 65.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002389/0.2998, allocations: 2.465 MB / 478.9 MB, free: 64.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.106e-05/0.2998, allocations: 48.2 kB / 478.9 MB, free: 64.22 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001177/0.301, allocations: 2.909 MB / 481.8 MB, free: 62.24 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004264/0.3014, allocations: 0.7686 MB / 482.6 MB, free: 61.67 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008925/0.3023, allocations: 1.048 MB / 483.7 MB, free: 61.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.3024, allocations: 0.5395 MB / 484.2 MB, free: 60.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008108/0.3032, allocations: 0.5056 MB / 484.7 MB, free: 60.53 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001979/0.3052, allocations: 4.744 MB / 489.4 MB, free: 54.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003731/0.309, allocations: 5.83 MB / 495.3 MB, free: 48.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.972e-05/0.309, allocations: 29 kB / 495.3 MB, free: 48.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=653) (initialization): time 0.005627/0.3146, allocations: 4.063 MB / 499.4 MB, free: 47.08 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.067e-05/0.3147, allocations: 54.7 kB / 499.4 MB, free: 47.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001706/0.3149, allocations: 101.2 kB / 499.5 MB, free: 47.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003603/0.3153, allocations: 169.7 kB / 499.7 MB, free: 47.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002207/0.3175, allocations: 1.08 MB / 0.489 GB, free: 46.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001274/0.3187, allocations: 2.033 MB / 0.491 GB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002232/0.321, allocations: 238.1 kB / 0.4912 GB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003914/0.3214, allocations: 302.5 kB / 0.4915 GB, free: 44.97 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.001364/0.3227, allocations: 0.542 MB / 0.4921 GB, free: 44.53 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000359/0.3231, allocations: 294.2 kB / 0.4923 GB, free: 44.37 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001914/0.325, allocations: 1.351 MB / 0.4937 GB, free: 43.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.039e-05/0.325, allocations: 25.66 kB / 0.4937 GB, free: 43.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.325, allocations: 0 / 0.4937 GB, free: 43.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/0.325, allocations: 7.719 kB / 0.4937 GB, free: 43.82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007143/0.3322, allocations: 4.935 MB / 0.4985 GB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/0.3322, allocations: 10.91 kB / 0.4985 GB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007132/0.3329, allocations: 244.9 kB / 0.4987 GB, free: 41.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001352/0.333, allocations: 51.03 kB / 0.4988 GB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-05/0.3331, allocations: 41.77 kB / 0.4988 GB, free: 41.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007889/0.3339, allocations: 1.869 MB / 0.5007 GB, free: 39.56 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.667e-06/0.3339, allocations: 13 kB / 0.5007 GB, free: 39.55 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002348/0.3363, allocations: 1.948 MB / 0.5026 GB, free: 38.36 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004257/0.3367, allocations: 231.3 kB / 0.5028 GB, free: 38.21 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002061/0.3369, allocations: 38.84 kB / 0.5028 GB, free: 38.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006187/0.3375, allocations: 74.3 kB / 0.5029 GB, free: 38.18 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000189/0.3377, allocations: 123.5 kB / 0.503 GB, free: 38.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.194e-05/0.3378, allocations: 61.78 kB / 0.5031 GB, free: 38.14 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001226/0.339, allocations: 1.053 MB / 0.5041 GB, free: 37.74 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.339, allocations: 0 / 0.5041 GB, free: 37.74 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00368/0.3427, allocations: 0.826 MB / 0.5049 GB, free: 37.64 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.0004028/0.3431, allocations: 200.8 kB / 0.5051 GB, free: 37.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003709/0.3468, allocations: 2.362 MB / 0.5074 GB, free: 36.65 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.084e-06/0.3468, allocations: 0 / 0.5074 GB, free: 36.65 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008313/0.3477, allocations: 0.6709 MB / 0.5081 GB, free: 36.33 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001277/0.3489, allocations: 287.8 kB / 0.5083 GB, free: 36.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009727/0.3587, allocations: 7.122 MB / 0.5153 GB, free: 31.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001095/0.3598, allocations: 1.14 MB / 0.5164 GB, free: 30.56 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002893/0.3626, allocations: 1.44 MB / 0.5178 GB, free: 29.75 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004226/0.3631, allocations: 181 kB / 0.518 GB, free: 29.58 MB / 410.7 MB Notification: Performance of SimCode: time 2.004e-06/0.3631, allocations: 4 kB / 0.518 GB, free: 29.58 MB / 410.7 MB Notification: Performance of Templates: time 0.0352/0.3983, allocations: 17.41 MB / 0.535 GB, free: 16.55 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.078841537702829]