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.001436/0.001436, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.001496/0.001496, allocations: 156.9 kB / 24.27 MB, free: 172 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 1.488/1.488, allocations: 177 MB / 204.4 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.387/0.387, allocations: 34.25 MB / 295.2 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 179] 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.884e-06/1.884e-06, allocations: 0 / 377.2 MB, free: 2.906 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.53e-05/3.718e-05, allocations: 3.859 kB / 377.2 MB, free: 2.902 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01578/0.01582, allocations: 10.72 MB / 387.9 MB, free: 8.129 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01067/0.02648, allocations: 3.687 MB / 391.6 MB, free: 4.43 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002204/0.02869, allocations: 75.69 kB / 391.7 MB, free: 4.355 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003684/0.03237, allocations: 1.358 MB / 393.1 MB, free: 2.992 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005813/0.03818, allocations: 1.844 MB / 394.9 MB, free: 1.141 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001379/0.03956, allocations: 459 kB / 395.3 MB, free: 0.6914 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.006652/0.04621, allocations: 3.968 MB / 399.3 MB, free: 12.72 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004691/0.05091, allocations: 2.161 MB / 401.5 MB, free: 10.52 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00491/0.05582, allocations: 1.847 MB / 403.3 MB, free: 8.664 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004339/0.06015, allocations: 1.96 MB / 405.3 MB, free: 6.699 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000937/0.06109, allocations: 244 kB / 405.5 MB, free: 6.461 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002578/0.06367, allocations: 0.78 MB / 406.3 MB, free: 5.68 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002843/0.06651, allocations: 1.675 MB / 408 MB, free: 4 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002606/0.06912, allocations: 0.9964 MB / 409 MB, free: 3 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01085/0.07996, allocations: 6.045 MB / 415 MB, free: 12.93 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.07997, allocations: 0 / 415 MB, free: 12.93 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.07997, allocations: 0 / 415 MB, free: 12.93 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003053/0.08028, allocations: 0 / 415 MB, free: 12.93 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.0133/0.09358, allocations: 4.065 MB / 419.1 MB, free: 8.812 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.09362, allocations: 8.031 kB / 419.1 MB, free: 8.805 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01341/0.107, allocations: 3.742 MB / 422.8 MB, free: 5.055 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0054/0.1124, allocations: 1.859 MB / 424.7 MB, free: 3.16 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002858/0.1127, allocations: 193 kB / 424.9 MB, free: 2.969 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00113/0.1139, allocations: 248.2 kB / 425.1 MB, free: 2.727 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02145/0.1353, allocations: 10.18 MB / 435.3 MB, free: 8.117 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001489/0.1355, allocations: 27.75 kB / 435.3 MB, free: 8.09 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009349/0.1364, allocations: 119.8 kB / 435.4 MB, free: 7.973 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00492/0.1413, allocations: 2.467 MB / 437.9 MB, free: 5.504 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2502/0.3915, allocations: 9.343 MB / 447.3 MB, free: 93.91 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03863/0.4301, allocations: 28.9 MB / 476.2 MB, free: 75.72 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004708/0.4349, allocations: 2.435 MB / 478.6 MB, free: 75.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001182/0.436, allocations: 0.9902 MB / 479.6 MB, free: 74.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006683/0.4367, allocations: 444.7 kB / 480 MB, free: 74.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.4367, allocations: 53 kB / 480.1 MB, free: 74.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=185): time 3.958e-06/0.4367, allocations: 0 / 480.1 MB, free: 74.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=191): time 0.01955/0.4563, allocations: 9.26 MB / 489.3 MB, free: 71.67 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.4563, allocations: 67.12 kB / 489.4 MB, free: 71.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003432/0.4598, allocations: 2.684 MB / 492.1 MB, free: 70.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001018/0.4599, allocations: 56.42 kB / 492.1 MB, free: 70.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001179/0.4611, allocations: 2.767 MB / 494.9 MB, free: 68.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004425/0.4615, allocations: 0.7267 MB / 495.6 MB, free: 67.87 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000938/0.4624, allocations: 0.9557 MB / 496.6 MB, free: 67.39 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.953e-05/0.4625, allocations: 354.3 kB / 496.9 MB, free: 67.07 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001846/0.4644, allocations: 1.551 MB / 498.5 MB, free: 66.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002914/0.4673, allocations: 4.385 MB / 0.4911 GB, free: 62.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006374/0.4736, allocations: 6.567 MB / 0.4975 GB, free: 56.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.862e-05/0.4737, allocations: 28 kB / 0.4975 GB, free: 56.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.009597/0.4833, allocations: 6.106 MB / 0.5035 GB, free: 51.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.202e-05/0.4834, allocations: 52.03 kB / 0.5035 GB, free: 50.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001033/0.4835, allocations: 104.7 kB / 0.5036 GB, free: 50.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003551/0.4838, allocations: 171.8 kB / 0.5038 GB, free: 50.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002911/0.4868, allocations: 1.071 MB / 0.5048 GB, free: 49.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001237/0.488, allocations: 1.674 MB / 0.5065 GB, free: 48.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003124/0.4911, allocations: 244.4 kB / 0.5067 GB, free: 47.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003848/0.4915, allocations: 286.7 kB / 0.507 GB, free: 47.58 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.002979/0.4945, allocations: 1.988 MB / 0.5089 GB, free: 45.87 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005598/0.495, allocations: 290.3 kB / 0.5092 GB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00312/0.4982, allocations: 2.529 MB / 0.5117 GB, free: 43.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.812e-05/0.4982, allocations: 23.75 kB / 0.5117 GB, free: 43.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.4982, allocations: 0 / 0.5117 GB, free: 43.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.347e-05/0.4982, allocations: 11.66 kB / 0.5117 GB, free: 43.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009276/0.5075, allocations: 6.58 MB / 0.5181 GB, free: 37.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.198e-05/0.5075, allocations: 8 kB / 0.5181 GB, free: 37.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009041/0.5084, allocations: 253.1 kB / 0.5184 GB, free: 37.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001604/0.5086, allocations: 64.69 kB / 0.5184 GB, free: 37.31 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-05/0.5087, allocations: 38.44 kB / 0.5185 GB, free: 37.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009433/0.5096, allocations: 1.502 MB / 0.5199 GB, free: 35.74 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/0.5096, allocations: 15.94 kB / 0.52 GB, free: 35.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004103/0.5137, allocations: 4.044 MB / 0.5239 GB, free: 31.74 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004714/0.5142, allocations: 226.4 kB / 0.5241 GB, free: 31.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002351/0.5144, allocations: 43.92 kB / 0.5242 GB, free: 31.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007997/0.5152, allocations: 71.59 kB / 0.5242 GB, free: 31.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001979/0.5154, allocations: 132.6 kB / 0.5244 GB, free: 31.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.88e-05/0.5155, allocations: 60 kB / 0.5244 GB, free: 31.22 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001749/0.5173, allocations: 1.524 MB / 0.5259 GB, free: 29.68 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.5173, allocations: 0 / 0.5259 GB, free: 29.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00356/0.5208, allocations: 0.8389 MB / 0.5267 GB, free: 28.84 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.0003729/0.5212, allocations: 194.1 kB / 0.5269 GB, free: 28.65 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00443/0.5256, allocations: 3.728 MB / 0.5306 GB, free: 24.94 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/0.5256, allocations: 0 / 0.5306 GB, free: 24.94 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001195/0.5268, allocations: 1.166 MB / 0.5317 GB, free: 23.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001423/0.5282, allocations: 280.1 kB / 0.532 GB, free: 23.49 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01059/0.5388, allocations: 8.678 MB / 0.5404 GB, free: 14.63 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002419/0.5413, allocations: 2.59 MB / 0.543 GB, free: 12.02 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003065/0.5443, allocations: 1.702 MB / 0.5446 GB, free: 10.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004199/0.5447, allocations: 184.5 kB / 0.5448 GB, free: 10.14 MB / 410.7 MB Notification: Performance of SimCode: time 1.553e-06/0.5447, allocations: 0 / 0.5448 GB, free: 10.14 MB / 410.7 MB Notification: Performance of Templates: time 0.03843/0.5832, allocations: 16.79 MB / 0.5612 GB, free: 9.75 MB / 426.7 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.448494030046277]