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.001752/0.001752, allocations: 89.53 kB / 20.69 MB, free: 1.023 MB / 14.72 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.002278/0.002278, allocations: 162.5 kB / 23.95 MB, free: 4.152 MB / 14.72 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.558/1.558, allocations: 177 MB / 204.1 MB, free: 9.133 MB / 190.1 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.2246/0.2246, allocations: 34.26 MB / 294.8 MB, free: 14.5 MB / 286.1 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.653e-06/1.653e-06, allocations: 0 / 442.7 MB, free: 5.258 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.071e-05/3.236e-05, allocations: 4.953 kB / 442.7 MB, free: 5.254 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.224/0.224, allocations: 7.641 MB / 450.3 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006454/0.2305, allocations: 3.29 MB / 453.6 MB, free: 13.65 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001407/0.2319, allocations: 54.25 kB / 453.7 MB, free: 13.64 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003304/0.2352, allocations: 1.398 MB / 455 MB, free: 13.03 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003072/0.2382, allocations: 0.9662 MB / 456 MB, free: 12.58 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001253/0.2395, allocations: 0.5537 MB / 456.6 MB, free: 12.36 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002824/0.2423, allocations: 2.066 MB / 458.6 MB, free: 11.63 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001837/0.2442, allocations: 1.501 MB / 460.1 MB, free: 10.96 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001499/0.2457, allocations: 1.019 MB / 461.2 MB, free: 10.53 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001624/0.2473, allocations: 0.9873 MB / 462.1 MB, free: 10.28 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002871/0.2476, allocations: 141.3 kB / 462.3 MB, free: 10.28 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001147/0.2487, allocations: 0.5697 MB / 462.8 MB, free: 10.16 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007069/0.2494, allocations: 0.7841 MB / 463.6 MB, free: 9.816 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006553/0.2501, allocations: 0.5353 MB / 464.2 MB, free: 9.562 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002599/0.2527, allocations: 2.565 MB / 466.7 MB, free: 8.406 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2527, allocations: 0 / 466.7 MB, free: 8.406 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2527, allocations: 0 / 466.7 MB, free: 8.406 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.411e-05/0.2527, allocations: 1.188 kB / 466.7 MB, free: 8.406 MB / 366.1 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.003299/0.256, allocations: 2.011 MB / 468.7 MB, free: 6.969 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.256, allocations: 9.688 kB / 468.8 MB, free: 6.969 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001149/0.2572, allocations: 297.9 kB / 469 MB, free: 6.828 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001555/0.2587, allocations: 1 MB / 470 MB, free: 6.164 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.018e-05/0.2588, allocations: 92.52 kB / 470.1 MB, free: 6.121 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001957/0.259, allocations: 126.5 kB / 470.3 MB, free: 6.078 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005012/0.264, allocations: 3.053 MB / 473.3 MB, free: 4.168 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.558e-05/0.2641, allocations: 12.98 kB / 473.3 MB, free: 4.16 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001315/0.2642, allocations: 59.62 kB / 473.4 MB, free: 4.117 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005726/0.2648, allocations: 432.8 kB / 473.8 MB, free: 3.961 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004457/0.2692, allocations: 2.164 MB / 476 MB, free: 2.906 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01206/0.2813, allocations: 9.969 MB / 485.9 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004627/0.2859, allocations: 1.269 MB / 487.2 MB, free: 8.781 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006408/0.2866, allocations: 375.1 kB / 487.6 MB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003966/0.2905, allocations: 2.064 MB / 489.6 MB, free: 6.324 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.461e-05/0.2906, allocations: 39.06 kB / 489.7 MB, free: 6.277 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 2.555e-06/0.2906, allocations: 4 kB / 489.7 MB, free: 6.273 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.01334/0.3039, allocations: 3.794 MB / 493.5 MB, free: 2.422 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.543e-05/0.304, allocations: 85.59 kB / 493.6 MB, free: 2.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001878/0.3059, allocations: 1.227 MB / 494.8 MB, free: 1.074 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.399e-05/0.3059, allocations: 37.7 kB / 494.8 MB, free: 1.031 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008353/0.3068, allocations: 0.9662 MB / 495.8 MB, free: 52 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002378/0.307, allocations: 230.2 kB / 496 MB, free: 15.82 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004542/0.3075, allocations: 311.4 kB / 496.3 MB, free: 15.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000188/0.3076, allocations: 357.9 kB / 496.7 MB, free: 15.16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007929/0.3084, allocations: 423.7 kB / 497.1 MB, free: 14.75 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001641/0.3101, allocations: 1.279 MB / 498.4 MB, free: 13.05 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002421/0.3125, allocations: 1.824 MB / 0.4885 GB, free: 10.82 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.869e-05/0.3125, allocations: 12 kB / 0.4885 GB, free: 10.81 MB / 398.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.003079/0.3156, allocations: 1.732 MB / 0.4902 GB, free: 9.066 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.41e-05/0.3156, allocations: 16 kB / 0.4902 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.522e-05/0.3157, allocations: 32 kB / 0.4902 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002752/0.3159, allocations: 84.83 kB / 0.4903 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/0.3171, allocations: 364 kB / 0.4906 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001808/0.3189, allocations: 1.742 MB / 0.4923 GB, free: 6.734 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00129/0.3202, allocations: 99.86 kB / 0.4924 GB, free: 6.637 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001288/0.3203, allocations: 95.92 kB / 0.4925 GB, free: 6.543 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 134 * 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 (194): * Single equations (assignments): 193 * 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.001117/0.3214, allocations: 0.6311 MB / 0.4931 GB, free: 5.902 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002615/0.3217, allocations: 115.2 kB / 0.4933 GB, free: 5.789 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002974/0.322, allocations: 134.6 kB / 0.4934 GB, free: 5.652 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.322, allocations: 7.938 kB / 0.4934 GB, free: 5.645 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/0.322, allocations: 2.25 kB / 0.4934 GB, free: 5.645 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.322, allocations: 3.984 kB / 0.4934 GB, free: 5.641 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003672/0.3257, allocations: 1.816 MB / 0.4952 GB, free: 3.734 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/0.3257, allocations: 4.5 kB / 0.4952 GB, free: 3.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004362/0.3261, allocations: 103.8 kB / 0.4953 GB, free: 3.629 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002043/0.3263, allocations: 68.8 kB / 0.4953 GB, free: 3.559 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.793e-05/0.3264, allocations: 16 kB / 0.4954 GB, free: 3.543 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001865/0.3282, allocations: 1.816 MB / 0.4971 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.3282, allocations: 4 kB / 0.4971 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001748/0.33, allocations: 1.103 MB / 0.4982 GB, free: 472 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003284/0.3303, allocations: 115.2 kB / 0.4983 GB, free: 356 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001926/0.3305, allocations: 16 kB / 0.4983 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005375/0.331, allocations: 43.94 kB / 0.4984 GB, free: 296 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.719e-05/0.3311, allocations: 51.8 kB / 0.4984 GB, free: 244 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.404e-05/0.3312, allocations: 24.06 kB / 0.4984 GB, free: 220 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001146/0.3323, allocations: 0.7571 MB / 0.4992 GB, free: 15.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3323, allocations: 0 / 0.4992 GB, free: 15.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001691/0.334, allocations: 348 kB / 0.4995 GB, free: 15.11 MB / 414.1 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.000387/0.3344, allocations: 139 kB / 0.4996 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002193/0.3366, allocations: 1.069 MB / 0.5007 GB, free: 13.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.437e-06/0.3366, allocations: 4 kB / 0.5007 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006514/0.3372, allocations: 404.2 kB / 0.5011 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001058/0.3383, allocations: 160.4 kB / 0.5012 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005862/0.3442, allocations: 2.801 MB / 0.504 GB, free: 10.44 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001258/0.3454, allocations: 0.8588 MB / 0.5048 GB, free: 9.543 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001/0.3464, allocations: 409.1 kB / 0.5052 GB, free: 9.141 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002328/0.3467, allocations: 76.48 kB / 0.5053 GB, free: 9.066 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3467, allocations: 0 / 0.5053 GB, free: 9.066 MB / 414.1 MB Notification: Performance of Templates: time 0.02448/0.3711, allocations: 10.57 MB / 0.5156 GB, free: 14.68 MB / 430.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.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: 5.580479331314564]