Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.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.001103/0.001103, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001268/0.002371, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0007327/0.0007327, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009162/0.001649, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9578/0.9578, allocations: 177.4 MB / 189.9 MB, free: 4.844 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09943/1.057, allocations: 53.87 MB / 243.7 MB, free: 14.92 MB / 250.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.3155/0.3155, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03352/0.3491, allocations: 13.22 MB / 292.6 MB, free: 6.488 MB / 282.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.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 293.9 MB, free: 5.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.456e-05/1.626e-05, allocations: 4.562 kB / 293.9 MB, free: 5.188 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.00659/0.006606, allocations: 8.295 MB / 302.2 MB, free: 12.85 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004539/0.01115, allocations: 3.519 MB / 305.7 MB, free: 9.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004451/0.01159, allocations: 55.75 kB / 305.7 MB, free: 9.266 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001345/0.01294, allocations: 1.378 MB / 307.1 MB, free: 7.883 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001249/0.01418, allocations: 0.9369 MB / 308.1 MB, free: 6.941 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005739/0.01476, allocations: 0.5184 MB / 308.6 MB, free: 6.422 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001346/0.0161, allocations: 1.984 MB / 310.6 MB, free: 4.445 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009676/0.01707, allocations: 1.378 MB / 311.9 MB, free: 3.012 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008841/0.01796, allocations: 1.132 MB / 313.1 MB, free: 1.879 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008168/0.01877, allocations: 0.9353 MB / 314 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001384/0.01891, allocations: 140 kB / 314.1 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005825/0.01949, allocations: 0.5772 MB / 314.7 MB, free: 228 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004388/0.01993, allocations: 0.6937 MB / 315.4 MB, free: 15.53 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003469/0.02028, allocations: 438.9 kB / 315.8 MB, free: 15.1 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001167/0.02145, allocations: 1.573 MB / 317.4 MB, free: 13.52 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.223e-05/0.02146, allocations: 3.938 kB / 317.4 MB, free: 13.52 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.02146, allocations: 0 / 317.4 MB, free: 13.52 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.485e-05/0.02148, allocations: 0 / 317.4 MB, free: 13.52 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.001891/0.02338, allocations: 2.138 MB / 319.6 MB, free: 11.34 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.02341, allocations: 12.92 kB / 319.6 MB, free: 11.33 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005521/0.02396, allocations: 341.8 kB / 319.9 MB, free: 10.98 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007669/0.02473, allocations: 0.8001 MB / 320.7 MB, free: 10.15 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.173e-05/0.02478, allocations: 94.83 kB / 320.8 MB, free: 10.06 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/0.0249, allocations: 124.3 kB / 320.9 MB, free: 9.938 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001693/0.0266, allocations: 1.618 MB / 322.5 MB, free: 8.109 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.997e-05/0.02663, allocations: 15.88 kB / 322.6 MB, free: 8.094 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.501e-05/0.0267, allocations: 59.97 kB / 322.6 MB, free: 8.035 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003155/0.02702, allocations: 406.1 kB / 323 MB, free: 7.637 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001181/0.0282, allocations: 0.7375 MB / 323.7 MB, free: 6.887 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005214/0.03341, allocations: 8.312 MB / 332.1 MB, free: 14.31 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001516/0.03493, allocations: 0.901 MB / 333 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001512/0.03508, allocations: 144.5 kB / 333.1 MB, free: 13.25 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001531/0.03661, allocations: 1.565 MB / 334.7 MB, free: 11.66 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.03664, allocations: 43.05 kB / 334.7 MB, free: 11.61 MB / 330.7 MB Notification: Performance of pre-optimization done (n=51): time 1.693e-06/0.03664, allocations: 7.938 kB / 334.7 MB, free: 11.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=57): time 0.00437/0.04101, allocations: 2.315 MB / 337 MB, free: 9.238 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.04104, allocations: 59.91 kB / 337.1 MB, free: 9.168 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006501/0.04169, allocations: 1.01 MB / 338.1 MB, free: 8.141 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.04171, allocations: 37.7 kB / 338.1 MB, free: 8.098 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003701/0.04208, allocations: 0.8898 MB / 339 MB, free: 7.195 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.04219, allocations: 230.1 kB / 339.2 MB, free: 6.969 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002133/0.0424, allocations: 311.2 kB / 339.6 MB, free: 6.656 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.666e-05/0.0425, allocations: 361.8 kB / 339.9 MB, free: 6.297 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002362/0.04273, allocations: 182.8 kB / 340.1 MB, free: 6.117 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006279/0.04336, allocations: 1.065 MB / 341.1 MB, free: 4.617 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008396/0.0442, allocations: 1.356 MB / 342.5 MB, free: 2.828 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/0.04421, allocations: 8 kB / 342.5 MB, free: 2.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.0009937/0.0452, allocations: 1.063 MB / 343.6 MB, free: 1.742 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.187e-05/0.04524, allocations: 22.5 kB / 343.6 MB, free: 1.723 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.641e-05/0.04526, allocations: 32 kB / 343.6 MB, free: 1.691 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001506/0.04541, allocations: 75.66 kB / 343.7 MB, free: 1.613 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000687/0.0461, allocations: 419.7 kB / 344.1 MB, free: 1.203 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009156/0.04701, allocations: 1.56 MB / 345.7 MB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004232/0.04744, allocations: 71.94 kB / 345.7 MB, free: 15.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.116e-05/0.0475, allocations: 76.19 kB / 345.8 MB, free: 15.4 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 139 * Number of states: 0 () * Number of discrete variables: 27 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[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 (199): * Single equations (assignments): 198 * Array equations: 0 * 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.0002682/0.04777, allocations: 262.6 kB / 346.1 MB, free: 15.13 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.841e-05/0.04785, allocations: 75.92 kB / 346.1 MB, free: 15.06 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001098/0.04796, allocations: 114.8 kB / 346.3 MB, free: 14.94 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.04796, allocations: 12 kB / 346.3 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.04796, allocations: 0 / 346.3 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.625e-06/0.04797, allocations: 11.86 kB / 346.3 MB, free: 14.92 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001325/0.0493, allocations: 1.444 MB / 347.7 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/0.0493, allocations: 4 kB / 347.7 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002215/0.04952, allocations: 112.4 kB / 347.8 MB, free: 13.28 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.646e-05/0.04962, allocations: 99.28 kB / 347.9 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001009/0.04972, allocations: 55.62 kB / 348 MB, free: 13.12 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/0.04974, allocations: 16 kB / 348 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008126/0.05055, allocations: 1.638 MB / 349.6 MB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.05056, allocations: 4 kB / 349.6 MB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004616/0.05102, allocations: 0.6211 MB / 350.3 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.541e-05/0.05108, allocations: 16 kB / 350.3 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/0.05127, allocations: 23.92 kB / 350.3 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.377e-05/0.05131, allocations: 51.92 kB / 350.4 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.05133, allocations: 19.94 kB / 350.4 MB, free: 10.57 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002802/0.05161, allocations: 398.2 kB / 350.8 MB, free: 10.17 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05161, allocations: 0 / 350.8 MB, free: 10.17 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007736/0.05238, allocations: 352 kB / 351.1 MB, free: 9.824 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002091/0.05259, allocations: 125.1 kB / 351.2 MB, free: 9.691 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006504/0.05324, allocations: 0.7294 MB / 352 MB, free: 8.961 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.093e-05/0.05328, allocations: 31.84 kB / 352 MB, free: 8.93 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002094/0.05349, allocations: 302.4 kB / 352.3 MB, free: 8.621 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005222/0.05401, allocations: 270 kB / 352.6 MB, free: 8.355 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003437/0.05745, allocations: 2.565 MB / 355.1 MB, free: 5.691 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003028/0.05775, allocations: 408.2 kB / 355.5 MB, free: 5.266 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002833/0.05804, allocations: 153.7 kB / 355.7 MB, free: 5.113 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002623/0.0583, allocations: 233.3 kB / 355.9 MB, free: 4.887 MB / 346.7 MB Notification: Performance of SimCode: time 6.91e-07/0.0583, allocations: 0 / 355.9 MB, free: 4.887 MB / 346.7 MB Notification: Performance of Templates: time 0.01529/0.07359, allocations: 11.7 MB / 367.6 MB, free: 9.387 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.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: 3.2426127288490534]