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.001068/0.001068, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001582/0.00265, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.001021/0.001021, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001457/0.002478, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.9187/0.9187, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1507/1.069, allocations: 49.5 MB / 220.7 MB, free: 1.359 MB / 218.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.1433/0.1433, allocations: 32.35 MB / 253.8 MB, free: 220 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01962/0.163, allocations: 12.3 MB / 266.1 MB, free: 3.875 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.322e-06/1.322e-06, allocations: 0 / 267.4 MB, free: 2.551 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.351e-05/1.483e-05, allocations: 6.25 kB / 267.4 MB, free: 2.543 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.006325/0.00634, allocations: 8.338 MB / 275.7 MB, free: 10.15 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004517/0.01086, allocations: 3.498 MB / 279.2 MB, free: 6.645 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004871/0.01134, allocations: 51.75 kB / 279.3 MB, free: 6.594 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001348/0.01269, allocations: 1.382 MB / 280.7 MB, free: 5.207 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00137/0.01406, allocations: 0.9641 MB / 281.6 MB, free: 4.238 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006645/0.01473, allocations: 0.5222 MB / 282.2 MB, free: 3.715 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002029/0.01676, allocations: 1.897 MB / 284.1 MB, free: 1.812 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001289/0.01804, allocations: 1.378 MB / 285.4 MB, free: 392 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1365/0.1546, allocations: 1.144 MB / 286.6 MB, free: 3.586 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001753/0.1563, allocations: 0.9379 MB / 287.5 MB, free: 3.586 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000532/0.1569, allocations: 139.2 kB / 287.7 MB, free: 3.586 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001174/0.158, allocations: 0.6066 MB / 288.3 MB, free: 3.586 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006942/0.1587, allocations: 0.6989 MB / 289 MB, free: 3.586 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008737/0.1596, allocations: 439 kB / 289.4 MB, free: 3.586 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002549/0.1622, allocations: 1.605 MB / 291 MB, free: 3.402 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.172e-05/0.1622, allocations: 1.125 kB / 291 MB, free: 3.402 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1622, allocations: 0 / 291 MB, free: 3.402 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.977e-05/0.1622, allocations: 0 / 291 MB, free: 3.402 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.003562/0.1658, allocations: 2.16 MB / 293.2 MB, free: 2.531 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.1658, allocations: 9.141 kB / 293.2 MB, free: 2.531 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008003/0.1666, allocations: 341.3 kB / 293.5 MB, free: 2.438 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001145/0.1678, allocations: 0.8235 MB / 294.3 MB, free: 2.137 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.86e-05/0.1678, allocations: 96.95 kB / 294.4 MB, free: 2.133 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001592/0.168, allocations: 128 kB / 294.5 MB, free: 2.129 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002054/0.1701, allocations: 1.612 MB / 296.2 MB, free: 1.508 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.645e-05/0.1701, allocations: 16.34 kB / 296.2 MB, free: 1.504 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.112e-05/0.1702, allocations: 56.95 kB / 296.2 MB, free: 1.504 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003663/0.1705, allocations: 387.1 kB / 296.6 MB, free: 1.5 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001425/0.172, allocations: 0.7268 MB / 297.3 MB, free: 1.465 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006322/0.1783, allocations: 8.308 MB / 305.6 MB, free: 12.29 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001566/0.1799, allocations: 0.8938 MB / 306.5 MB, free: 12.07 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/0.18, allocations: 141.3 kB / 306.7 MB, free: 12.04 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001802/0.1818, allocations: 1.582 MB / 308.3 MB, free: 11.3 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.1818, allocations: 38.53 kB / 308.3 MB, free: 11.25 MB / 298.7 MB Notification: Performance of pre-optimization done (n=51): time 3.687e-06/0.1818, allocations: 0 / 308.3 MB, free: 11.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=57): time 0.004831/0.1867, allocations: 2.358 MB / 310.6 MB, free: 10.55 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.434e-05/0.1867, allocations: 62.22 kB / 310.7 MB, free: 10.48 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008109/0.1875, allocations: 1.028 MB / 311.7 MB, free: 9.719 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/0.1875, allocations: 33.7 kB / 311.8 MB, free: 9.68 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003635/0.1879, allocations: 0.8944 MB / 312.7 MB, free: 8.832 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/0.188, allocations: 232.2 kB / 312.9 MB, free: 8.617 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002199/0.1882, allocations: 313.8 kB / 313.2 MB, free: 8.34 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002361/0.1885, allocations: 370.9 kB / 313.6 MB, free: 8 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002582/0.1887, allocations: 178.8 kB / 313.7 MB, free: 7.824 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005808/0.1893, allocations: 1.056 MB / 314.8 MB, free: 6.391 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000955/0.1903, allocations: 1.459 MB / 316.2 MB, free: 4.664 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.107e-05/0.1903, allocations: 8 kB / 316.3 MB, free: 4.656 MB / 298.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.000971/0.1912, allocations: 1.052 MB / 317.3 MB, free: 3.785 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.1913, allocations: 24.88 kB / 317.3 MB, free: 3.762 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.187e-05/0.1913, allocations: 32 kB / 317.4 MB, free: 3.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001254/0.1914, allocations: 82.56 kB / 317.4 MB, free: 3.648 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006417/0.192, allocations: 411.5 kB / 317.8 MB, free: 3.277 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008719/0.1929, allocations: 1.58 MB / 319.4 MB, free: 1.633 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000655/0.1936, allocations: 71.97 kB / 319.5 MB, free: 1.562 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.555e-05/0.1936, allocations: 79.98 kB / 319.6 MB, free: 1.484 MB / 298.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.0005313/0.1942, allocations: 250.4 kB / 319.8 MB, free: 1.262 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.493e-05/0.1943, allocations: 83.91 kB / 319.9 MB, free: 1.18 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005416/0.1948, allocations: 348.7 kB / 320.2 MB, free: 0.832 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.1948, allocations: 12 kB / 320.3 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.1948, allocations: 0 / 320.3 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.1948, allocations: 3.984 kB / 320.3 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001629/0.1965, allocations: 1.446 MB / 321.7 MB, free: 15.53 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.441e-06/0.1965, allocations: 7.938 kB / 321.7 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002249/0.1967, allocations: 106.2 kB / 321.8 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001786/0.1969, allocations: 138.5 kB / 321.9 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000108/0.197, allocations: 53.23 kB / 322 MB, free: 15.24 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.208e-05/0.197, allocations: 21.34 kB / 322 MB, free: 15.22 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009195/0.1979, allocations: 1.629 MB / 323.6 MB, free: 13.53 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.1979, allocations: 7.188 kB / 323.7 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005124/0.1984, allocations: 0.6322 MB / 324.3 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.415e-05/0.1985, allocations: 19.98 kB / 324.3 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002028/0.1987, allocations: 12 kB / 324.3 MB, free: 12.81 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.376e-05/0.1988, allocations: 54.48 kB / 324.4 MB, free: 12.76 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.1988, allocations: 12 kB / 324.4 MB, free: 12.75 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003285/0.1991, allocations: 415 kB / 324.8 MB, free: 12.38 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1991, allocations: 0 / 324.8 MB, free: 12.38 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001374/0.2005, allocations: 375.9 kB / 325.2 MB, free: 12.02 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.0003265/0.2008, allocations: 129.2 kB / 325.3 MB, free: 11.89 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001014/0.2018, allocations: 0.758 MB / 326 MB, free: 11.19 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.299e-05/0.2019, allocations: 36.91 kB / 326.1 MB, free: 11.16 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00035/0.2022, allocations: 322.3 kB / 326.4 MB, free: 10.85 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001393/0.2036, allocations: 1.327 MB / 327.7 MB, free: 9.309 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004598/0.2082, allocations: 2.572 MB / 330.3 MB, free: 6.68 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/0.2086, allocations: 416.1 kB / 330.7 MB, free: 6.25 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003826/0.2089, allocations: 156.7 kB / 330.9 MB, free: 6.098 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002877/0.2092, allocations: 229.3 kB / 331.1 MB, free: 5.871 MB / 314.7 MB Notification: Performance of SimCode: time 1.152e-06/0.2092, allocations: 4 kB / 331.1 MB, free: 5.867 MB / 314.7 MB Notification: Performance of Templates: time 0.0176/0.2268, allocations: 11.03 MB / 342.1 MB, free: 10.99 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0801627142354846]