Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007909/0.0007909, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.004339/0.004339, allocations: 164.1 kB / 24.7 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8785/0.8785, allocations: 177.1 MB / 205 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2396/0.2396, allocations: 34.25 MB / 295.7 MB, free: 0.7031 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 443.4 MB, free: 1.156 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.591e-05/2.741e-05, allocations: 6.219 kB / 443.4 MB, free: 1.148 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.2068/0.2068, allocations: 7.65 MB / 451.1 MB, free: 40.33 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003463/0.2103, allocations: 3.281 MB / 454.4 MB, free: 38.3 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004176/0.2107, allocations: 56.44 kB / 454.4 MB, free: 38.29 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001242/0.212, allocations: 1.395 MB / 455.8 MB, free: 37.68 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001015/0.213, allocations: 0.9625 MB / 456.8 MB, free: 37.23 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000452/0.2134, allocations: 0.555 MB / 457.3 MB, free: 37.01 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001004/0.2144, allocations: 2.062 MB / 459.4 MB, free: 36.29 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008552/0.2153, allocations: 1.508 MB / 460.9 MB, free: 35.63 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006232/0.2159, allocations: 1.014 MB / 461.9 MB, free: 35.2 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006399/0.2165, allocations: 0.9913 MB / 462.9 MB, free: 34.95 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001094/0.2167, allocations: 147.3 kB / 463.1 MB, free: 34.94 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004695/0.2171, allocations: 0.5652 MB / 463.6 MB, free: 34.82 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003435/0.2175, allocations: 0.786 MB / 464.4 MB, free: 34.48 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002876/0.2178, allocations: 0.54 MB / 465 MB, free: 34.22 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001303/0.2191, allocations: 2.552 MB / 467.5 MB, free: 33.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2191, allocations: 0 / 467.5 MB, free: 33.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2191, allocations: 0 / 467.5 MB, free: 33.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.589e-05/0.2191, allocations: 0 / 467.5 MB, free: 33.34 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.001831/0.2209, allocations: 2.005 MB / 469.5 MB, free: 32.19 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.2209, allocations: 12.12 kB / 469.5 MB, free: 32.19 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005786/0.2215, allocations: 289 kB / 469.8 MB, free: 32.08 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009334/0.2225, allocations: 1 MB / 470.8 MB, free: 31.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.013e-05/0.2225, allocations: 93.27 kB / 470.9 MB, free: 31.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001171/0.2226, allocations: 128.1 kB / 471 MB, free: 31.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002604/0.2252, allocations: 3.061 MB / 474.1 MB, free: 30.05 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.396e-05/0.2253, allocations: 17.89 kB / 474.1 MB, free: 30.04 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.524e-05/0.2253, allocations: 58.42 kB / 474.2 MB, free: 30 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002915/0.2256, allocations: 428.8 kB / 474.6 MB, free: 29.92 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00233/0.228, allocations: 2.177 MB / 476.8 MB, free: 29.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005827/0.2338, allocations: 9.976 MB / 486.7 MB, free: 22.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002364/0.2362, allocations: 1.273 MB / 488 MB, free: 22.06 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004084/0.2366, allocations: 372.1 kB / 488.4 MB, free: 21.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002308/0.2389, allocations: 2.074 MB / 490.4 MB, free: 20.96 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.2389, allocations: 42.31 kB / 490.5 MB, free: 20.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=51): time 2.716e-06/0.2389, allocations: 0 / 490.5 MB, free: 20.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=57): time 0.007154/0.2461, allocations: 3.794 MB / 494.3 MB, free: 19.65 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.2461, allocations: 84.58 kB / 494.4 MB, free: 19.56 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001152/0.2472, allocations: 1.228 MB / 495.6 MB, free: 19.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.056e-05/0.2473, allocations: 40.52 kB / 495.6 MB, free: 19 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004309/0.2477, allocations: 0.9642 MB / 496.6 MB, free: 18.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.2478, allocations: 230.2 kB / 496.8 MB, free: 18.06 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002636/0.2481, allocations: 309 kB / 497.1 MB, free: 17.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.121e-05/0.2482, allocations: 356 kB / 497.5 MB, free: 17.58 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005114/0.2487, allocations: 422.5 kB / 497.9 MB, free: 17.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007983/0.2495, allocations: 1.286 MB / 499.2 MB, free: 16.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001321/0.2508, allocations: 1.816 MB / 0.4892 GB, free: 14.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.317e-05/0.2508, allocations: 9.344 kB / 0.4892 GB, free: 14.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.001838/0.2526, allocations: 1.736 MB / 0.4909 GB, free: 13.89 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.073e-05/0.2527, allocations: 19.25 kB / 0.491 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.018e-05/0.2527, allocations: 34.91 kB / 0.491 GB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001728/0.2529, allocations: 91 kB / 0.4911 GB, free: 13.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007172/0.2536, allocations: 364.3 kB / 0.4914 GB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001027/0.2546, allocations: 1.744 MB / 0.4931 GB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006262/0.2553, allocations: 102 kB / 0.4932 GB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.183e-05/0.2553, allocations: 86.27 kB / 0.4933 GB, free: 12.26 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.0007891/0.2561, allocations: 0.6353 MB / 0.4939 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/0.2563, allocations: 114 kB / 0.494 GB, free: 11.85 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001492/0.2564, allocations: 128.2 kB / 0.4942 GB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-06/0.2564, allocations: 13.78 kB / 0.4942 GB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.434e-05/0.2564, allocations: 1.672 kB / 0.4942 GB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.2564, allocations: 3.312 kB / 0.4942 GB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002198/0.2586, allocations: 1.824 MB / 0.496 GB, free: 10.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.2586, allocations: 10.78 kB / 0.496 GB, free: 10.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002236/0.2589, allocations: 95.91 kB / 0.4961 GB, free: 10.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000117/0.259, allocations: 66.36 kB / 0.4961 GB, free: 10.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.164e-05/0.259, allocations: 15.53 kB / 0.4961 GB, free: 10.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008597/0.2599, allocations: 1.804 MB / 0.4979 GB, free: 9.277 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.2599, allocations: 8.875 kB / 0.4979 GB, free: 9.273 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009805/0.2609, allocations: 1.094 MB / 0.499 GB, free: 8.664 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.261, allocations: 117.8 kB / 0.4991 GB, free: 8.594 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.273e-05/0.261, allocations: 16.41 kB / 0.4991 GB, free: 8.586 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002539/0.2613, allocations: 48.97 kB / 0.4992 GB, free: 8.574 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.837e-05/0.2613, allocations: 47.84 kB / 0.4992 GB, free: 8.562 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/0.2614, allocations: 21.19 kB / 0.4992 GB, free: 8.559 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006912/0.2621, allocations: 0.7558 MB / 0.5 GB, free: 8.266 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2621, allocations: 0 / 0.5 GB, free: 8.266 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009956/0.2631, allocations: 353.8 kB / 0.5003 GB, free: 8.23 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.0002296/0.2633, allocations: 141.9 kB / 0.5004 GB, free: 8.113 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001211/0.2645, allocations: 1.064 MB / 0.5015 GB, free: 7.684 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.2645, allocations: 1.375 kB / 0.5015 GB, free: 7.684 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003513/0.2648, allocations: 403.7 kB / 0.5019 GB, free: 7.469 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005699/0.2654, allocations: 165.7 kB / 0.502 GB, free: 7.336 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002586/0.268, allocations: 2.946 MB / 0.5049 GB, free: 4.566 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006855/0.2687, allocations: 0.8626 MB / 0.5057 GB, free: 3.906 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.2688, allocations: 83.41 kB / 0.5058 GB, free: 3.828 MB / 410.7 MB Notification: Performance of SimCode: time 1.163e-06/0.2688, allocations: 0 / 0.5058 GB, free: 3.828 MB / 410.7 MB Notification: Performance of Templates: time 0.01687/0.2857, allocations: 23.13 MB / 0.5284 GB, free: 13.04 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.892011370509863]