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.0007922/0.0007922, allocations: 76.19 kB / 9.91 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001078/0.001871, allocations: 447.8 kB / 10.35 MB, free: 348 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.0006856/0.0006856, allocations: 157.2 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009449/0.00163, allocations: 467.6 kB / 11.69 MB, free: 2.477 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.937/0.937, allocations: 158.6 MB / 171 MB, free: 2.574 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1617/1.099, allocations: 49.5 MB / 220.5 MB, free: 1.438 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.1726/0.1726, allocations: 32.35 MB / 253.6 MB, free: 324 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0258/0.1985, allocations: 12.29 MB / 265.9 MB, free: 3.988 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.332e-06/1.332e-06, allocations: 0 / 267.2 MB, free: 2.688 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.933e-05/2.066e-05, allocations: 6.25 kB / 267.2 MB, free: 2.68 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.006846/0.006867, allocations: 8.342 MB / 275.6 MB, free: 10.29 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005073/0.01194, allocations: 3.498 MB / 279.1 MB, free: 6.777 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008943/0.01283, allocations: 51.75 kB / 279.1 MB, free: 6.727 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001622/0.01446, allocations: 1.386 MB / 280.5 MB, free: 5.336 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001645/0.0161, allocations: 0.9564 MB / 281.5 MB, free: 4.375 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009438/0.01705, allocations: 0.5222 MB / 282 MB, free: 3.852 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001863/0.01891, allocations: 1.901 MB / 283.9 MB, free: 1.945 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001403/0.02031, allocations: 1.374 MB / 285.3 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1381/0.1584, allocations: 1.143 MB / 286.4 MB, free: 3.555 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001742/0.1601, allocations: 0.9365 MB / 287.3 MB, free: 3.555 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004091/0.1605, allocations: 142.9 kB / 287.5 MB, free: 3.555 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001394/0.1619, allocations: 0.6083 MB / 288.1 MB, free: 3.555 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009026/0.1628, allocations: 0.6951 MB / 288.8 MB, free: 3.555 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008272/0.1637, allocations: 436.7 kB / 289.2 MB, free: 3.555 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002734/0.1664, allocations: 1.609 MB / 290.8 MB, free: 3.41 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.675e-05/0.1664, allocations: 1.375 kB / 290.8 MB, free: 3.41 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.1664, allocations: 0.7969 kB / 290.8 MB, free: 3.41 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.212e-05/0.1665, allocations: 0 / 290.8 MB, free: 3.41 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.004/0.1705, allocations: 2.163 MB / 293 MB, free: 2.535 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/0.1705, allocations: 10.55 kB / 293 MB, free: 2.535 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008254/0.1714, allocations: 340.2 kB / 293.3 MB, free: 2.441 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.1724, allocations: 0.8227 MB / 294.1 MB, free: 2.148 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.43e-05/0.1725, allocations: 95.92 kB / 294.2 MB, free: 2.145 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001546/0.1727, allocations: 127.8 kB / 294.4 MB, free: 2.141 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002091/0.1748, allocations: 1.612 MB / 296 MB, free: 1.52 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.098e-05/0.1748, allocations: 17.03 kB / 296 MB, free: 1.516 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.299e-05/0.1749, allocations: 57.83 kB / 296 MB, free: 1.516 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003864/0.1753, allocations: 406.2 kB / 296.4 MB, free: 1.512 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001595/0.1769, allocations: 0.7226 MB / 297.2 MB, free: 1.477 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006351/0.1832, allocations: 8.313 MB / 305.5 MB, free: 12.3 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001533/0.1848, allocations: 0.9001 MB / 306.4 MB, free: 12.08 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/0.1849, allocations: 141.6 kB / 306.5 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001725/0.1866, allocations: 1.578 MB / 308.1 MB, free: 11.3 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.1867, allocations: 38.5 kB / 308.1 MB, free: 11.26 MB / 298.7 MB Notification: Performance of pre-optimization done (n=51): time 2.214e-06/0.1867, allocations: 0 / 308.1 MB, free: 11.26 MB / 298.7 MB Notification: Performance of matching and sorting (n=57): time 0.004471/0.1911, allocations: 2.316 MB / 310.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.1912, allocations: 58.69 kB / 310.5 MB, free: 10.55 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007369/0.1919, allocations: 1.024 MB / 311.5 MB, free: 9.887 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.088e-05/0.1919, allocations: 41.7 kB / 311.6 MB, free: 9.84 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004085/0.1923, allocations: 0.8981 MB / 312.5 MB, free: 8.988 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001266/0.1925, allocations: 229.1 kB / 312.7 MB, free: 8.777 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002544/0.1927, allocations: 314.8 kB / 313 MB, free: 8.5 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.1929, allocations: 361.4 kB / 313.3 MB, free: 8.168 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002602/0.1931, allocations: 182.8 kB / 313.5 MB, free: 7.988 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007272/0.1938, allocations: 1.061 MB / 314.6 MB, free: 6.559 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/0.195, allocations: 1.354 MB / 315.9 MB, free: 4.934 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.652e-05/0.195, allocations: 8 kB / 315.9 MB, free: 4.926 MB / 298.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.001104/0.1961, allocations: 1.05 MB / 317 MB, free: 4.059 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.723e-05/0.1961, allocations: 31.98 kB / 317 MB, free: 4.027 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.365e-05/0.1962, allocations: 32 kB / 317.1 MB, free: 3.996 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001371/0.1963, allocations: 72.84 kB / 317.1 MB, free: 3.926 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006778/0.197, allocations: 416.6 kB / 317.5 MB, free: 3.551 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008445/0.1978, allocations: 1.58 MB / 319.1 MB, free: 1.906 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004721/0.1983, allocations: 71.92 kB / 319.2 MB, free: 1.836 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-05/0.1983, allocations: 72 kB / 319.3 MB, free: 1.766 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.0003524/0.1987, allocations: 256.8 kB / 319.5 MB, free: 1.539 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.66e-05/0.1988, allocations: 82.48 kB / 319.6 MB, free: 1.461 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003771/0.1992, allocations: 352.8 kB / 319.9 MB, free: 1.105 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.1992, allocations: 8 kB / 319.9 MB, free: 1.098 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.1992, allocations: 0 / 319.9 MB, free: 1.098 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.1992, allocations: 3.984 kB / 319.9 MB, free: 1.094 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001434/0.2006, allocations: 1.448 MB / 321.4 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.2006, allocations: 8.875 kB / 321.4 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002143/0.2008, allocations: 109.8 kB / 321.5 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000148/0.201, allocations: 135.6 kB / 321.6 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.749e-05/0.2011, allocations: 57.92 kB / 321.7 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.2011, allocations: 16 kB / 321.7 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002621/0.2037, allocations: 1.63 MB / 323.3 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.115e-06/0.2037, allocations: 8.031 kB / 323.4 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001292/0.205, allocations: 0.6331 MB / 324 MB, free: 13.11 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000317/0.2053, allocations: 12 kB / 324 MB, free: 13.1 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004301/0.2058, allocations: 16 kB / 324 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.897e-05/0.2058, allocations: 51.33 kB / 324.1 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.152e-05/0.2059, allocations: 16 kB / 324.1 MB, free: 13.02 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007568/0.2066, allocations: 423.7 kB / 324.5 MB, free: 12.65 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2066, allocations: 0 / 324.5 MB, free: 12.65 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002225/0.2089, allocations: 367.9 kB / 324.9 MB, free: 12.29 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.000409/0.2093, allocations: 132.6 kB / 325 MB, free: 12.16 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001687/0.211, allocations: 0.7299 MB / 325.7 MB, free: 11.54 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.907e-05/0.2111, allocations: 27.84 kB / 325.7 MB, free: 11.51 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004865/0.2115, allocations: 293.5 kB / 326 MB, free: 11.24 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000964/0.2125, allocations: 283.3 kB / 326.3 MB, free: 10.97 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007146/0.2196, allocations: 2.563 MB / 328.9 MB, free: 8.344 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006271/0.2203, allocations: 420.1 kB / 329.3 MB, free: 7.906 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006693/0.2209, allocations: 152 kB / 329.4 MB, free: 7.762 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004437/0.2214, allocations: 233.3 kB / 329.7 MB, free: 7.535 MB / 314.7 MB Notification: Performance of SimCode: time 2.645e-06/0.2214, allocations: 0 / 329.7 MB, free: 7.535 MB / 314.7 MB Notification: Performance of Templates: time 0.02794/0.2493, allocations: 12.14 MB / 341.8 MB, free: 11.54 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2362490659579635]