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.001792/0.001792, 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.002074/0.002074, 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.625/1.625, allocations: 177 MB / 204.5 MB, free: 5.621 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.369/0.369, allocations: 34.25 MB / 295.2 MB, free: 0.668 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.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 2.174e-06/2.174e-06, allocations: 0 / 377.2 MB, free: 2.906 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.814e-05/5.032e-05, allocations: 2.312 kB / 377.2 MB, free: 2.902 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01248/0.01253, allocations: 7.645 MB / 384.9 MB, free: 11.21 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008962/0.02149, allocations: 3.296 MB / 388.2 MB, free: 7.906 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001703/0.0232, allocations: 51.75 kB / 388.2 MB, free: 7.855 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003387/0.02658, allocations: 1.417 MB / 389.6 MB, free: 6.434 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002987/0.02957, allocations: 0.9682 MB / 390.6 MB, free: 5.461 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00143/0.031, allocations: 0.5651 MB / 391.2 MB, free: 4.895 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003157/0.03416, allocations: 2.066 MB / 393.2 MB, free: 2.828 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002635/0.03679, allocations: 1.549 MB / 394.8 MB, free: 1.234 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002188/0.03898, allocations: 1.013 MB / 395.8 MB, free: 224 kB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001881/0.04086, allocations: 0.9899 MB / 396.8 MB, free: 15.23 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003894/0.04125, allocations: 144 kB / 396.9 MB, free: 15.09 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001376/0.04262, allocations: 0.5654 MB / 397.5 MB, free: 14.52 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001093/0.04372, allocations: 0.7909 MB / 398.3 MB, free: 13.73 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00133/0.04505, allocations: 0.5337 MB / 398.8 MB, free: 13.19 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003617/0.04866, allocations: 2.555 MB / 401.4 MB, free: 10.63 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.04867, allocations: 0 / 401.4 MB, free: 10.63 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.04867, allocations: 4 kB / 401.4 MB, free: 10.62 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.123e-05/0.04869, allocations: 0 / 401.4 MB, free: 10.62 MB / 378.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.003886/0.05258, allocations: 2.002 MB / 403.4 MB, free: 8.582 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.05262, allocations: 12.03 kB / 403.4 MB, free: 8.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001423/0.05404, allocations: 415.5 kB / 403.8 MB, free: 8.164 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001915/0.05596, allocations: 1.014 MB / 404.8 MB, free: 7.121 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.436e-05/0.05605, allocations: 90.83 kB / 404.9 MB, free: 7.031 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002188/0.05627, allocations: 124.3 kB / 405 MB, free: 6.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006098/0.06237, allocations: 3.058 MB / 408.1 MB, free: 3.645 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.079e-05/0.06242, allocations: 15.89 kB / 408.1 MB, free: 3.629 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001457/0.06256, allocations: 55.97 kB / 408.1 MB, free: 3.574 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007024/0.06327, allocations: 438 kB / 408.6 MB, free: 3.145 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005021/0.06829, allocations: 2.167 MB / 410.7 MB, free: 0.9688 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01738/0.08567, allocations: 9.981 MB / 420.7 MB, free: 6.727 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005093/0.09076, allocations: 1.273 MB / 422 MB, free: 5.434 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008048/0.09156, allocations: 371.6 kB / 422.4 MB, free: 5.066 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004703/0.09627, allocations: 2.052 MB / 424.4 MB, free: 2.988 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.14e-05/0.09633, allocations: 43.05 kB / 424.5 MB, free: 2.938 MB / 394.7 MB Notification: Performance of pre-optimization done (n=51): time 2.374e-06/0.09633, allocations: 0 / 424.5 MB, free: 2.938 MB / 394.7 MB Notification: Performance of matching and sorting (n=57): time 0.01358/0.1099, allocations: 3.825 MB / 428.3 MB, free: 15.06 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.068e-05/0.11, allocations: 81.61 kB / 428.4 MB, free: 14.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002376/0.1124, allocations: 1.235 MB / 429.6 MB, free: 13.71 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.048e-05/0.1124, allocations: 37.7 kB / 429.6 MB, free: 13.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009523/0.1134, allocations: 0.9701 MB / 430.6 MB, free: 12.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002833/0.1137, allocations: 222.2 kB / 430.8 MB, free: 12.46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005121/0.1142, allocations: 311.4 kB / 431.1 MB, free: 12.15 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002402/0.1144, allocations: 357.9 kB / 431.5 MB, free: 11.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008157/0.1153, allocations: 423.7 kB / 431.9 MB, free: 11.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001718/0.117, allocations: 1.283 MB / 433.2 MB, free: 9.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002904/0.1199, allocations: 1.812 MB / 435 MB, free: 7.457 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.475e-05/0.1199, allocations: 11.94 kB / 435 MB, free: 7.445 MB / 410.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.003611/0.1235, allocations: 1.822 MB / 436.8 MB, free: 5.609 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.491e-05/0.1236, allocations: 20 kB / 436.8 MB, free: 5.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.325e-05/0.1236, allocations: 32 kB / 436.9 MB, free: 5.559 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003069/0.1239, allocations: 84.83 kB / 436.9 MB, free: 5.473 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/0.1251, allocations: 367.3 kB / 437.3 MB, free: 5.113 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002093/0.1272, allocations: 1.747 MB / 439.1 MB, free: 3.266 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/0.1285, allocations: 99.92 kB / 439.1 MB, free: 3.168 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001496/0.1287, allocations: 84 kB / 439.2 MB, free: 3.086 MB / 410.7 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.001142/0.1298, allocations: 0.644 MB / 439.9 MB, free: 2.434 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003471/0.1302, allocations: 135.3 kB / 440 MB, free: 2.301 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003213/0.1305, allocations: 126.6 kB / 440.1 MB, free: 2.176 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.1305, allocations: 11.94 kB / 440.1 MB, free: 2.164 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/0.1305, allocations: 0 / 440.1 MB, free: 2.164 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.1305, allocations: 0 / 440.1 MB, free: 2.164 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004105/0.1346, allocations: 1.82 MB / 442 MB, free: 260 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.34e-05/0.1346, allocations: 8 kB / 442 MB, free: 252 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004315/0.1351, allocations: 103.8 kB / 442.1 MB, free: 148 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002528/0.1353, allocations: 65.33 kB / 442.1 MB, free: 80 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.706e-05/0.1354, allocations: 19.98 kB / 442.2 MB, free: 60 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1971/0.3325, allocations: 1.805 MB / 444 MB, free: 99.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.755e-06/0.3325, allocations: 8.812 kB / 444 MB, free: 99.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00178/0.3343, allocations: 1.121 MB / 445.1 MB, free: 99.13 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004233/0.3347, allocations: 112.8 kB / 445.2 MB, free: 99.13 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002651/0.335, allocations: 17.98 kB / 445.2 MB, free: 99.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005788/0.3355, allocations: 46.31 kB / 445.3 MB, free: 99.13 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.26e-05/0.3356, allocations: 55.56 kB / 445.3 MB, free: 99.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.167e-05/0.3357, allocations: 18.25 kB / 445.3 MB, free: 99.12 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001057/0.3367, allocations: 0.753 MB / 446.1 MB, free: 98.87 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3367, allocations: 6.875 kB / 446.1 MB, free: 98.87 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001685/0.3384, allocations: 356.5 kB / 446.4 MB, free: 98.83 MB / 410.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.0003723/0.3388, allocations: 140.8 kB / 446.6 MB, free: 98.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001849/0.3406, allocations: 1.071 MB / 447.6 MB, free: 98.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/0.3406, allocations: 2.906 kB / 447.7 MB, free: 98.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005281/0.3412, allocations: 400.1 kB / 448 MB, free: 98.12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001058/0.3422, allocations: 179.7 kB / 448.2 MB, free: 98.06 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004673/0.3469, allocations: 2.833 MB / 451.1 MB, free: 96.65 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001202/0.3481, allocations: 0.8687 MB / 451.9 MB, free: 96.39 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009409/0.349, allocations: 401.5 kB / 452.3 MB, free: 96.38 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002283/0.3493, allocations: 81.19 kB / 452.4 MB, free: 96.38 MB / 410.7 MB Notification: Performance of SimCode: time 1.383e-06/0.3493, allocations: 0 / 452.4 MB, free: 96.38 MB / 410.7 MB Notification: Performance of Templates: time 0.02043/0.3697, allocations: 10.63 MB / 463 MB, free: 95.24 MB / 410.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=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.678709186031483]