Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001453/0.001453, allocations: 79.92 kB / 20.72 MB, free: 3.77 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.001056/0.001056, allocations: 169 kB / 24.14 MB, free: 364 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9012/0.9012, allocations: 158.6 MB / 186 MB, free: 2.766 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1279/0.1279, allocations: 32.37 MB / 270.7 MB, free: 14.6 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 299.1 MB, free: 2.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.763e-05/1.928e-05, allocations: 2.312 kB / 299.1 MB, free: 2.199 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.1794/0.1795, allocations: 8.242 MB / 307.3 MB, free: 16.3 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006252/0.1857, allocations: 3.461 MB / 310.8 MB, free: 14.16 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001105/0.1868, allocations: 53.38 kB / 310.8 MB, free: 14.14 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002367/0.1892, allocations: 1.473 MB / 312.3 MB, free: 13.5 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00256/0.1917, allocations: 1.008 MB / 313.3 MB, free: 13.05 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001116/0.1929, allocations: 0.5712 MB / 313.9 MB, free: 12.82 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002403/0.1953, allocations: 1.998 MB / 315.9 MB, free: 11.8 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001641/0.1969, allocations: 1.6 MB / 317.5 MB, free: 10.7 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001383/0.1983, allocations: 1.073 MB / 318.6 MB, free: 10.04 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001024/0.1993, allocations: 0.9491 MB / 319.5 MB, free: 9.523 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001949/0.1995, allocations: 137 kB / 319.6 MB, free: 9.523 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00069/0.2002, allocations: 0.584 MB / 320.2 MB, free: 9.027 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003841/0.2006, allocations: 0.7949 MB / 321 MB, free: 8.23 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003486/0.2009, allocations: 0.5337 MB / 321.6 MB, free: 7.695 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001189/0.2021, allocations: 1.76 MB / 323.3 MB, free: 5.93 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.2021, allocations: 4 kB / 323.3 MB, free: 5.926 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2021, allocations: 0 / 323.3 MB, free: 5.926 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.276e-05/0.2022, allocations: 0 / 323.3 MB, free: 5.926 MB / 282.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.001562/0.2037, allocations: 1.828 MB / 325.1 MB, free: 4.062 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.2037, allocations: 12.03 kB / 325.2 MB, free: 4.051 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005022/0.2042, allocations: 264.7 kB / 325.4 MB, free: 3.793 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007331/0.205, allocations: 0.8313 MB / 326.2 MB, free: 2.93 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.893e-05/0.205, allocations: 98.77 kB / 326.3 MB, free: 2.832 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.2051, allocations: 120.3 kB / 326.5 MB, free: 2.715 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001423/0.2065, allocations: 1.614 MB / 328.1 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.089e-05/0.2066, allocations: 19.89 kB / 328.1 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.569e-05/0.2066, allocations: 57.23 kB / 328.1 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002652/0.2069, allocations: 410.1 kB / 328.5 MB, free: 424 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00115/0.2081, allocations: 0.7212 MB / 329.3 MB, free: 15.68 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005618/0.2137, allocations: 8.312 MB / 337.6 MB, free: 7.125 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001553/0.2152, allocations: 0.9058 MB / 338.5 MB, free: 6.195 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/0.2154, allocations: 143.2 kB / 338.6 MB, free: 6.051 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001587/0.217, allocations: 1.577 MB / 340.2 MB, free: 4.453 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.217, allocations: 39.06 kB / 340.2 MB, free: 4.406 MB / 298.7 MB Notification: Performance of pre-optimization done (n=51): time 1.433e-06/0.217, allocations: 0 / 340.2 MB, free: 4.406 MB / 298.7 MB Notification: Performance of matching and sorting (n=57): time 0.004649/0.2216, allocations: 2.374 MB / 342.6 MB, free: 1.977 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.2217, allocations: 85.61 kB / 342.7 MB, free: 1.875 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006947/0.2224, allocations: 1.022 MB / 343.7 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.896e-05/0.2224, allocations: 37.7 kB / 343.8 MB, free: 0.793 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004075/0.2228, allocations: 0.8976 MB / 344.7 MB, free: 15.88 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.2229, allocations: 222.2 kB / 344.9 MB, free: 15.66 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002386/0.2232, allocations: 315.2 kB / 345.2 MB, free: 15.35 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.2233, allocations: 361.8 kB / 345.5 MB, free: 14.99 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002511/0.2235, allocations: 182.8 kB / 345.7 MB, free: 14.81 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006045/0.2241, allocations: 1.053 MB / 346.8 MB, free: 13.32 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009179/0.2251, allocations: 1.366 MB / 348.1 MB, free: 11.52 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.118e-05/0.2251, allocations: 8 kB / 348.1 MB, free: 11.51 MB / 314.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.001194/0.2263, allocations: 1.059 MB / 349.2 MB, free: 10.44 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/0.2263, allocations: 20.19 kB / 349.2 MB, free: 10.42 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.981e-05/0.2263, allocations: 32 kB / 349.3 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001289/0.2264, allocations: 79.59 kB / 349.3 MB, free: 10.31 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005563/0.227, allocations: 363.3 kB / 349.7 MB, free: 9.953 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008598/0.2279, allocations: 1.569 MB / 351.3 MB, free: 8.289 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000478/0.2283, allocations: 71.91 kB / 351.3 MB, free: 8.219 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.476e-05/0.2284, allocations: 80 kB / 351.4 MB, free: 8.141 MB / 314.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.0002894/0.2287, allocations: 250.5 kB / 351.6 MB, free: 7.883 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.335e-05/0.2288, allocations: 79.91 kB / 351.7 MB, free: 7.805 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003845/0.2292, allocations: 361.5 kB / 352.1 MB, free: 7.434 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.2292, allocations: 4 kB / 352.1 MB, free: 7.43 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2292, allocations: 3.312 kB / 352.1 MB, free: 7.43 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.2292, allocations: 3.984 kB / 352.1 MB, free: 7.426 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001341/0.2305, allocations: 1.455 MB / 353.5 MB, free: 5.887 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.2305, allocations: 4 kB / 353.5 MB, free: 5.883 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001802/0.2307, allocations: 91.84 kB / 353.6 MB, free: 5.793 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.998e-05/0.2308, allocations: 44.14 kB / 353.7 MB, free: 5.746 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.2308, allocations: 20 kB / 353.7 MB, free: 5.727 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009419/0.2318, allocations: 1.626 MB / 355.3 MB, free: 4.012 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.2318, allocations: 7.938 kB / 355.3 MB, free: 4.004 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005058/0.2323, allocations: 0.633 MB / 356 MB, free: 3.297 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001511/0.2324, allocations: 131.2 kB / 356.1 MB, free: 3.168 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.73e-05/0.2325, allocations: 16 kB / 356.1 MB, free: 3.152 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001899/0.2327, allocations: 19.98 kB / 356.1 MB, free: 3.133 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.211e-05/0.2327, allocations: 51.81 kB / 356.2 MB, free: 3.082 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.07e-05/0.2327, allocations: 20.55 kB / 356.2 MB, free: 3.062 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003106/0.2331, allocations: 406.8 kB / 356.6 MB, free: 2.656 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2331, allocations: 4 kB / 356.6 MB, free: 2.652 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000818/0.2339, allocations: 367.9 kB / 357 MB, free: 2.293 MB / 314.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.0002365/0.2341, allocations: 132.2 kB / 357.1 MB, free: 2.152 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006856/0.2348, allocations: 0.7303 MB / 357.8 MB, free: 1.418 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.678e-05/0.2348, allocations: 31.91 kB / 357.9 MB, free: 1.387 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002211/0.2351, allocations: 284 kB / 358.1 MB, free: 1.094 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005145/0.2356, allocations: 191.6 kB / 358.3 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002792/0.2384, allocations: 2.518 MB / 360.8 MB, free: 14.31 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.2387, allocations: 416.1 kB / 361.2 MB, free: 13.88 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003186/0.239, allocations: 159.2 kB / 361.4 MB, free: 13.73 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002902/0.2393, allocations: 237.2 kB / 361.6 MB, free: 13.5 MB / 330.7 MB Notification: Performance of SimCode: time 1.052e-06/0.2393, allocations: 0 / 361.6 MB, free: 13.5 MB / 330.7 MB Notification: Performance of Templates: time 0.01642/0.2557, allocations: 11.79 MB / 373.4 MB, free: 1.797 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.309038622304797]