Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.00127/0.00127, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001217/0.001217, allocations: 161 kB / 24.55 MB, free: 20 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.9983/0.9983, 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2443/0.2443, allocations: 34.26 MB / 295.7 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.MultiBody.Joints.Prismatic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.735e-06/2.735e-06, allocations: 3.984 kB / 378 MB, free: 2.613 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.448e-05/1.721e-05, allocations: 2.312 kB / 378 MB, free: 2.609 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.009161/0.009178, allocations: 11.81 MB / 389.9 MB, free: 6.742 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006543/0.01572, allocations: 3.804 MB / 393.7 MB, free: 2.926 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002277/0.018, allocations: 67.75 kB / 393.7 MB, free: 2.859 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00305/0.02105, allocations: 1.393 MB / 395.1 MB, free: 1.461 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004608/0.02566, allocations: 1.836 MB / 397 MB, free: 15.61 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008135/0.02647, allocations: 466.9 kB / 397.4 MB, free: 15.16 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003688/0.03016, allocations: 3.972 MB / 401.4 MB, free: 11.18 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00231/0.03247, allocations: 2.161 MB / 403.5 MB, free: 8.977 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002361/0.03483, allocations: 1.839 MB / 405.4 MB, free: 7.133 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002263/0.03709, allocations: 1.968 MB / 407.3 MB, free: 5.16 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005344/0.03763, allocations: 248 kB / 407.6 MB, free: 4.918 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001298/0.03892, allocations: 0.7722 MB / 408.4 MB, free: 4.145 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001156/0.04008, allocations: 1.679 MB / 410 MB, free: 2.461 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001164/0.04124, allocations: 0.9964 MB / 411 MB, free: 1.461 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004196/0.04544, allocations: 3.941 MB / 415 MB, free: 13.5 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.04545, allocations: 0 / 415 MB, free: 13.5 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.04545, allocations: 0 / 415 MB, free: 13.5 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000125/0.04557, allocations: 0 / 415 MB, free: 13.5 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.005294/0.05087, allocations: 4.491 MB / 419.5 MB, free: 8.949 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.05091, allocations: 8.031 kB / 419.5 MB, free: 8.941 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006443/0.05736, allocations: 3.629 MB / 423.1 MB, free: 5.305 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00282/0.06018, allocations: 1.71 MB / 424.8 MB, free: 3.559 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001152/0.06029, allocations: 201 kB / 425 MB, free: 3.359 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004095/0.0607, allocations: 240.2 kB / 425.2 MB, free: 3.125 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007832/0.06853, allocations: 5.175 MB / 430.4 MB, free: 13.37 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-05/0.0686, allocations: 23.77 kB / 430.4 MB, free: 13.35 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002643/0.06887, allocations: 119.8 kB / 430.6 MB, free: 13.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002357/0.07122, allocations: 2.463 MB / 433 MB, free: 10.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008471/0.07969, allocations: 3.074 MB / 436.1 MB, free: 7.68 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1885/0.2682, allocations: 32.05 MB / 468.1 MB, free: 66.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002881/0.271, allocations: 1.248 MB / 469.4 MB, free: 66.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005363/0.2716, allocations: 348.1 kB / 469.7 MB, free: 66.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004596/0.272, allocations: 408.6 kB / 470.1 MB, free: 66.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.2721, allocations: 44.42 kB / 470.2 MB, free: 66.53 MB / 410.7 MB Notification: Performance of pre-optimization done (n=185): time 6.632e-06/0.2721, allocations: 1.812 kB / 470.2 MB, free: 66.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=191): time 0.01042/0.2825, allocations: 5.479 MB / 475.7 MB, free: 65.37 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/0.2825, allocations: 69.28 kB / 475.7 MB, free: 65.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002417/0.2849, allocations: 2.451 MB / 478.2 MB, free: 64.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001016/0.2851, allocations: 51.89 kB / 478.2 MB, free: 64.56 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001137/0.2862, allocations: 2.901 MB / 481.1 MB, free: 62.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005411/0.2867, allocations: 0.7651 MB / 481.9 MB, free: 62.03 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008439/0.2876, allocations: 1.04 MB / 482.9 MB, free: 61.47 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.2877, allocations: 0.5393 MB / 483.5 MB, free: 60.96 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008359/0.2885, allocations: 0.5099 MB / 484 MB, free: 60.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001978/0.2905, allocations: 4.694 MB / 488.7 MB, free: 55.22 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003579/0.2941, allocations: 5.774 MB / 494.4 MB, free: 49.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.775e-05/0.2941, allocations: 27.44 kB / 494.5 MB, free: 49.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.005688/0.2998, allocations: 4.035 MB / 498.5 MB, free: 47.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.438e-05/0.2999, allocations: 48.25 kB / 498.6 MB, free: 47.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000131/0.3, allocations: 102.7 kB / 498.7 MB, free: 47.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003679/0.3004, allocations: 167.2 kB / 498.8 MB, free: 47.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002078/0.3025, allocations: 1.071 MB / 499.9 MB, free: 47.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001088/0.3036, allocations: 2.038 MB / 0.4902 GB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002119/0.3057, allocations: 241.2 kB / 0.4904 GB, free: 45.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004711/0.3062, allocations: 293.7 kB / 0.4907 GB, free: 45.45 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.001639/0.3078, allocations: 0.5398 MB / 0.4912 GB, free: 45.01 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003796/0.3082, allocations: 290.2 kB / 0.4915 GB, free: 44.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00185/0.31, allocations: 1.354 MB / 0.4928 GB, free: 44.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-05/0.3101, allocations: 22.28 kB / 0.4928 GB, free: 44.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.3101, allocations: 0 / 0.4928 GB, free: 44.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.3101, allocations: 8.109 kB / 0.4928 GB, free: 44.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007037/0.3171, allocations: 4.929 MB / 0.4976 GB, free: 41.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/0.3171, allocations: 10.97 kB / 0.4977 GB, free: 41.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005492/0.3177, allocations: 246.5 kB / 0.4979 GB, free: 41.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001155/0.3178, allocations: 55.67 kB / 0.4979 GB, free: 41.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.463e-05/0.3178, allocations: 45.52 kB / 0.498 GB, free: 41.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007071/0.3186, allocations: 1.868 MB / 0.4998 GB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.76e-06/0.3186, allocations: 13.81 kB / 0.4998 GB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002098/0.3207, allocations: 1.946 MB / 0.5017 GB, free: 38.84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003285/0.321, allocations: 227.2 kB / 0.5019 GB, free: 38.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001561/0.3211, allocations: 39.02 kB / 0.502 GB, free: 38.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004613/0.3216, allocations: 76.83 kB / 0.5021 GB, free: 38.67 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/0.3217, allocations: 120.6 kB / 0.5022 GB, free: 38.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.501e-05/0.3218, allocations: 62.95 kB / 0.5022 GB, free: 38.63 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001087/0.3229, allocations: 1.041 MB / 0.5032 GB, free: 38.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.3229, allocations: 4.938 kB / 0.5032 GB, free: 38.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002998/0.3259, allocations: 0.8391 MB / 0.5041 GB, free: 38.12 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.0003679/0.3263, allocations: 191 kB / 0.5043 GB, free: 37.99 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003344/0.3296, allocations: 2.35 MB / 0.5065 GB, free: 37.13 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.3296, allocations: 0 / 0.5065 GB, free: 37.13 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007082/0.3303, allocations: 0.671 MB / 0.5072 GB, free: 36.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.3314, allocations: 277.8 kB / 0.5075 GB, free: 36.69 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008905/0.3403, allocations: 7.122 MB / 0.5144 GB, free: 32.29 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00107/0.3414, allocations: 1.146 MB / 0.5155 GB, free: 31.45 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002977/0.3444, allocations: 1.441 MB / 0.5169 GB, free: 30.64 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004328/0.3448, allocations: 173.6 kB / 0.5171 GB, free: 30.48 MB / 410.7 MB Notification: Performance of SimCode: time 3.035e-06/0.3448, allocations: 4 kB / 0.5171 GB, free: 30.48 MB / 410.7 MB Notification: Performance of Templates: time 0.03431/0.3791, allocations: 16.65 MB / 0.5334 GB, free: 18.43 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.227161111310124]