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.0008828/0.0008828, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.003985/0.003985, allocations: 160.2 kB / 24.7 MB, free: 9.441 MB / 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 0.9383/0.9383, allocations: 177 MB / 204.9 MB, free: 5.707 MB / 186.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.2562/0.2562, allocations: 34.25 MB / 295.6 MB, free: 0.6602 MB / 266.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.693e-06/1.693e-06, allocations: 0 / 443.4 MB, free: 1.016 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.218e-05/2.388e-05, allocations: 6.281 kB / 443.4 MB, free: 1.008 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.1824/0.1825, allocations: 7.635 MB / 451.1 MB, free: 40.12 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004358/0.1868, allocations: 3.288 MB / 454.4 MB, free: 38.1 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006001/0.1874, allocations: 53.25 kB / 454.4 MB, free: 38.08 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001281/0.1887, allocations: 1.4 MB / 455.8 MB, free: 37.47 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001247/0.19, allocations: 0.968 MB / 456.8 MB, free: 37.03 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005773/0.1905, allocations: 0.5544 MB / 457.3 MB, free: 36.8 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001214/0.1917, allocations: 2.059 MB / 459.4 MB, free: 36.08 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001088/0.1928, allocations: 1.499 MB / 460.9 MB, free: 35.43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009043/0.1937, allocations: 1.018 MB / 461.9 MB, free: 34.99 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008355/0.1946, allocations: 0.9888 MB / 462.9 MB, free: 34.74 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001762/0.1948, allocations: 141.2 kB / 463 MB, free: 34.74 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005608/0.1953, allocations: 0.5732 MB / 463.6 MB, free: 34.62 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003568/0.1957, allocations: 0.7824 MB / 464.4 MB, free: 34.28 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002873/0.196, allocations: 0.5391 MB / 464.9 MB, free: 34.02 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001333/0.1973, allocations: 2.554 MB / 467.5 MB, free: 33.13 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.1973, allocations: 3.344 kB / 467.5 MB, free: 33.13 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1973, allocations: 0 / 467.5 MB, free: 33.13 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.615e-05/0.1973, allocations: 0 / 467.5 MB, free: 33.13 MB / 410.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.001867/0.1992, allocations: 2.005 MB / 469.5 MB, free: 31.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.1992, allocations: 9.906 kB / 469.5 MB, free: 31.98 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005883/0.1998, allocations: 290.2 kB / 469.8 MB, free: 31.87 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009543/0.2008, allocations: 1.002 MB / 470.8 MB, free: 31.33 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.293e-05/0.2008, allocations: 91.77 kB / 470.9 MB, free: 31.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/0.2009, allocations: 120.9 kB / 471 MB, free: 31.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002598/0.2035, allocations: 3.059 MB / 474.1 MB, free: 29.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.488e-05/0.2036, allocations: 17.31 kB / 474.1 MB, free: 29.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.257e-05/0.2036, allocations: 62.3 kB / 474.1 MB, free: 29.79 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002872/0.2039, allocations: 441.3 kB / 474.6 MB, free: 29.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002288/0.2062, allocations: 2.175 MB / 476.7 MB, free: 29.05 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005595/0.2118, allocations: 9.981 MB / 486.7 MB, free: 22.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00224/0.214, allocations: 1.271 MB / 488 MB, free: 21.85 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003988/0.2144, allocations: 373.1 kB / 488.4 MB, free: 21.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002243/0.2167, allocations: 2.077 MB / 490.4 MB, free: 20.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.2167, allocations: 39.09 kB / 490.5 MB, free: 20.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=51): time 2.735e-06/0.2167, allocations: 4 kB / 490.5 MB, free: 20.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=57): time 0.006985/0.2237, allocations: 3.786 MB / 494.3 MB, free: 19.44 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.2237, allocations: 84.48 kB / 494.3 MB, free: 19.35 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/0.2248, allocations: 1.232 MB / 495.6 MB, free: 18.83 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.2249, allocations: 35.95 kB / 495.6 MB, free: 18.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003873/0.2253, allocations: 0.9652 MB / 496.6 MB, free: 18.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.824e-05/0.2254, allocations: 234.2 kB / 496.8 MB, free: 17.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00025/0.2256, allocations: 309.1 kB / 497.1 MB, free: 17.69 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.165e-05/0.2257, allocations: 356.4 kB / 497.5 MB, free: 17.37 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004415/0.2261, allocations: 421.6 kB / 497.9 MB, free: 17.24 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007248/0.2268, allocations: 1.281 MB / 499.1 MB, free: 15.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/0.2281, allocations: 1.818 MB / 0.4892 GB, free: 14.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.17e-05/0.2281, allocations: 12.31 kB / 0.4892 GB, free: 14.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.001793/0.2299, allocations: 1.734 MB / 0.4909 GB, free: 13.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.301e-05/0.2299, allocations: 17.12 kB / 0.4909 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.818e-05/0.2299, allocations: 29.91 kB / 0.491 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001585/0.2301, allocations: 87.56 kB / 0.4911 GB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006539/0.2308, allocations: 365.4 kB / 0.4914 GB, free: 13.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000888/0.2316, allocations: 1.744 MB / 0.4931 GB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005898/0.2322, allocations: 101.2 kB / 0.4932 GB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-05/0.2323, allocations: 85.38 kB / 0.4933 GB, free: 12.05 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.0006825/0.233, allocations: 0.6327 MB / 0.4939 GB, free: 11.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.332e-05/0.2331, allocations: 118 kB / 0.494 GB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001424/0.2332, allocations: 129.3 kB / 0.4941 GB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.2332, allocations: 9.594 kB / 0.4941 GB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-05/0.2333, allocations: 2.125 kB / 0.4941 GB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.2333, allocations: 6.75 kB / 0.4942 GB, free: 11.56 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002033/0.2353, allocations: 1.825 MB / 0.4959 GB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.2353, allocations: 4.281 kB / 0.4959 GB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002138/0.2355, allocations: 100.2 kB / 0.496 GB, free: 10.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001218/0.2356, allocations: 62.44 kB / 0.4961 GB, free: 10.63 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.051e-05/0.2357, allocations: 15.92 kB / 0.4961 GB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008767/0.2365, allocations: 1.813 MB / 0.4979 GB, free: 9.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.2365, allocations: 3.688 kB / 0.4979 GB, free: 9.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.2376, allocations: 1.104 MB / 0.499 GB, free: 8.453 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001255/0.2377, allocations: 116.7 kB / 0.4991 GB, free: 8.383 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.471e-05/0.2378, allocations: 15.94 kB / 0.4991 GB, free: 8.375 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002462/0.238, allocations: 46.11 kB / 0.4991 GB, free: 8.367 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.838e-05/0.2381, allocations: 54.03 kB / 0.4992 GB, free: 8.352 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.277e-05/0.2381, allocations: 19.97 kB / 0.4992 GB, free: 8.348 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006799/0.2388, allocations: 0.76 MB / 0.4999 GB, free: 8.051 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2388, allocations: 0 / 0.4999 GB, free: 8.051 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009723/0.2397, allocations: 349.1 kB / 0.5003 GB, free: 8.02 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.0002274/0.24, allocations: 144 kB / 0.5004 GB, free: 7.902 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001118/0.2411, allocations: 1.066 MB / 0.5015 GB, free: 7.473 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2411, allocations: 1.469 kB / 0.5015 GB, free: 7.473 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003379/0.2414, allocations: 401.2 kB / 0.5018 GB, free: 7.262 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00056/0.242, allocations: 164.8 kB / 0.502 GB, free: 7.145 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002657/0.2446, allocations: 2.947 MB / 0.5049 GB, free: 4.379 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007506/0.2454, allocations: 0.8584 MB / 0.5057 GB, free: 3.723 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.2455, allocations: 89.05 kB / 0.5058 GB, free: 3.641 MB / 410.7 MB Notification: Performance of SimCode: time 8.81e-07/0.2455, allocations: 0 / 0.5058 GB, free: 3.641 MB / 410.7 MB Notification: Performance of Templates: time 0.01849/0.264, allocations: 23.13 MB / 0.5284 GB, free: 12.86 MB / 442.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: 6.325182502157986]