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.001233/0.001233, 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.0009972/0.0009972, 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.9334/0.9334, allocations: 158.6 MB / 186 MB, free: 2.77 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.1549/0.1549, allocations: 32.38 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 2.244e-06/2.244e-06, allocations: 0 / 299.1 MB, free: 2.152 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.442e-05/2.666e-05, allocations: 2.312 kB / 299.1 MB, free: 2.148 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.1389/0.1389, allocations: 8.278 MB / 307.4 MB, free: 16.25 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.008161/0.1471, allocations: 3.472 MB / 310.9 MB, free: 14.09 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009682/0.1481, allocations: 53 kB / 310.9 MB, free: 14.07 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002533/0.1506, allocations: 1.433 MB / 312.4 MB, free: 13.45 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002337/0.1529, allocations: 0.99 MB / 313.3 MB, free: 12.98 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001048/0.154, allocations: 0.5629 MB / 313.9 MB, free: 12.76 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001887/0.1559, allocations: 1.997 MB / 315.9 MB, free: 11.74 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001442/0.1573, allocations: 1.492 MB / 317.4 MB, free: 10.71 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001243/0.1585, allocations: 1.037 MB / 318.4 MB, free: 10.08 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001119/0.1597, allocations: 0.9436 MB / 319.4 MB, free: 9.566 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001856/0.1599, allocations: 140.7 kB / 319.5 MB, free: 9.566 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009659/0.1608, allocations: 0.6085 MB / 320.1 MB, free: 9.117 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005251/0.1613, allocations: 0.7949 MB / 320.9 MB, free: 8.32 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004738/0.1618, allocations: 0.5376 MB / 321.5 MB, free: 7.781 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001622/0.1634, allocations: 1.752 MB / 323.2 MB, free: 6.023 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.1634, allocations: 4 kB / 323.2 MB, free: 6.02 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1634, allocations: 0 / 323.2 MB, free: 6.02 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.28e-05/0.1635, allocations: 3.938 kB / 323.2 MB, free: 6.016 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.002278/0.1657, allocations: 1.828 MB / 325 MB, free: 4.152 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.1658, allocations: 12.03 kB / 325.1 MB, free: 4.141 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007959/0.1666, allocations: 268.7 kB / 325.3 MB, free: 3.879 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001081/0.1677, allocations: 0.8351 MB / 326.2 MB, free: 3.012 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.666e-05/0.1677, allocations: 90.83 kB / 326.2 MB, free: 2.922 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001672/0.1679, allocations: 124.3 kB / 326.4 MB, free: 2.801 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002418/0.1703, allocations: 1.611 MB / 328 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.392e-05/0.1704, allocations: 25.31 kB / 328 MB, free: 0.957 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001117/0.1705, allocations: 51.97 kB / 328.1 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004399/0.1709, allocations: 410.1 kB / 328.5 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00196/0.1729, allocations: 0.726 MB / 329.2 MB, free: 15.77 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008058/0.1809, allocations: 8.304 MB / 337.5 MB, free: 7.219 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002456/0.1834, allocations: 0.9157 MB / 338.4 MB, free: 6.281 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000246/0.1836, allocations: 143.2 kB / 338.5 MB, free: 6.137 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002457/0.1861, allocations: 1.578 MB / 340.1 MB, free: 4.539 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/0.1861, allocations: 39.06 kB / 340.2 MB, free: 4.492 MB / 298.7 MB Notification: Performance of pre-optimization done (n=51): time 2.835e-06/0.1861, allocations: 0 / 340.2 MB, free: 4.492 MB / 298.7 MB Notification: Performance of matching and sorting (n=57): time 0.00646/0.1926, allocations: 2.37 MB / 342.5 MB, free: 2.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.1926, allocations: 81.61 kB / 342.6 MB, free: 1.973 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007628/0.1934, allocations: 1.038 MB / 343.6 MB, free: 0.918 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.788e-05/0.1934, allocations: 37.7 kB / 343.7 MB, free: 0.875 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000405/0.1938, allocations: 0.8898 MB / 344.6 MB, free: 15.97 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/0.1939, allocations: 222.2 kB / 344.8 MB, free: 15.75 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002656/0.1942, allocations: 311.2 kB / 345.1 MB, free: 15.44 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.1943, allocations: 365.8 kB / 345.4 MB, free: 15.08 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002638/0.1946, allocations: 182.8 kB / 345.6 MB, free: 14.9 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000631/0.1952, allocations: 1.061 MB / 346.7 MB, free: 13.4 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001008/0.1962, allocations: 1.355 MB / 348 MB, free: 11.61 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.636e-06/0.1962, allocations: 8 kB / 348 MB, free: 11.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.001075/0.1973, allocations: 1.067 MB / 349.1 MB, free: 10.52 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.02e-05/0.1973, allocations: 20 kB / 349.1 MB, free: 10.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.293e-05/0.1973, allocations: 28 kB / 349.2 MB, free: 10.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001523/0.1975, allocations: 79.66 kB / 349.2 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006945/0.1982, allocations: 387.3 kB / 349.6 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001003/0.1992, allocations: 1.574 MB / 351.2 MB, free: 8.348 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004686/0.1997, allocations: 67.94 kB / 351.3 MB, free: 8.281 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.554e-05/0.1997, allocations: 76 kB / 351.3 MB, free: 8.207 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.0003514/0.2001, allocations: 258 kB / 351.6 MB, free: 7.945 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.874e-05/0.2002, allocations: 79.94 kB / 351.7 MB, free: 7.867 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005164/0.2007, allocations: 361.5 kB / 352 MB, free: 7.496 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.2007, allocations: 4 kB / 352 MB, free: 7.492 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.2007, allocations: 0 / 352 MB, free: 7.492 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.2007, allocations: 3.984 kB / 352 MB, free: 7.488 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001412/0.2021, allocations: 1.455 MB / 353.5 MB, free: 5.949 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.2021, allocations: 7.438 kB / 353.5 MB, free: 5.945 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002201/0.2023, allocations: 100.3 kB / 353.6 MB, free: 5.848 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001071/0.2024, allocations: 51.64 kB / 353.6 MB, free: 5.793 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.051e-05/0.2025, allocations: 16 kB / 353.6 MB, free: 5.777 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001068/0.2035, allocations: 1.623 MB / 355.3 MB, free: 4.062 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.2035, allocations: 14.92 kB / 355.3 MB, free: 4.051 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005005/0.204, allocations: 0.6252 MB / 355.9 MB, free: 3.352 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001479/0.2042, allocations: 135.2 kB / 356 MB, free: 3.219 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.837e-05/0.2042, allocations: 16 kB / 356.1 MB, free: 3.203 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002116/0.2045, allocations: 19.98 kB / 356.1 MB, free: 3.184 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.144e-05/0.2045, allocations: 51.81 kB / 356.1 MB, free: 3.133 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.969e-05/0.2045, allocations: 24.02 kB / 356.2 MB, free: 3.109 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003212/0.2049, allocations: 406.8 kB / 356.5 MB, free: 2.703 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2049, allocations: 4 kB / 356.6 MB, free: 2.699 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008692/0.2057, allocations: 363.9 kB / 356.9 MB, free: 2.344 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.0002335/0.206, allocations: 128.2 kB / 357 MB, free: 2.207 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001127/0.2071, allocations: 0.737 MB / 357.8 MB, free: 1.465 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.683e-05/0.2071, allocations: 27.84 kB / 357.8 MB, free: 1.438 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002302/0.2073, allocations: 282.1 kB / 358.1 MB, free: 1.148 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005169/0.2079, allocations: 184.5 kB / 358.3 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002563/0.2104, allocations: 2.528 MB / 360.8 MB, free: 14.36 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.2107, allocations: 412.1 kB / 361.2 MB, free: 13.93 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002967/0.211, allocations: 154.5 kB / 361.3 MB, free: 13.78 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002981/0.2113, allocations: 237.2 kB / 361.6 MB, free: 13.55 MB / 330.7 MB Notification: Performance of SimCode: time 9.51e-07/0.2113, allocations: 0 / 361.6 MB, free: 13.55 MB / 330.7 MB Notification: Performance of Templates: time 0.01739/0.2287, allocations: 11.8 MB / 373.4 MB, free: 1.844 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 -s gbode -gbm=radauIIA3 -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.3062271461822093]