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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 105.9 kB / 16.27 MB, free: 6.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 191.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.789/1.789, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2384/0.2384, allocations: 43.52 MB / 313.9 MB, free: 0.5273 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 64.97 kB / 382.7 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1281, allocations: 57.79 MB / 440.5 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.008838/0.1369, allocations: 8.684 MB / 449.2 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008308/0.1453, allocations: 3.457 MB / 452.7 MB, free: 10.71 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001761/0.1471, allocations: 43.88 kB / 452.7 MB, free: 10.67 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002795/0.15, allocations: 1.378 MB / 454.1 MB, free: 9.289 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003828/0.1538, allocations: 0.9299 MB / 455 MB, free: 8.355 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001726/0.1556, allocations: 0.5341 MB / 455.5 MB, free: 7.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00313/0.1587, allocations: 1.687 MB / 457.2 MB, free: 6.129 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002707/0.1615, allocations: 1.659 MB / 458.9 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001767/0.1633, allocations: 0.6737 MB / 459.6 MB, free: 3.754 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001709/0.165, allocations: 0.8957 MB / 460.5 MB, free: 2.855 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004116/0.1654, allocations: 136 kB / 460.6 MB, free: 2.723 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001393/0.1668, allocations: 0.5968 MB / 461.2 MB, free: 2.125 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008603/0.1677, allocations: 0.7248 MB / 461.9 MB, free: 1.398 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001563/0.1693, allocations: 0.8392 MB / 462.8 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003099/0.1724, allocations: 2.453 MB / 465.2 MB, free: 14.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.1724, allocations: 0 / 465.2 MB, free: 14.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.1724, allocations: 0 / 465.2 MB, free: 14.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.691e-05/0.1725, allocations: 0 / 465.2 MB, free: 14.09 MB / 350.1 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.004075/0.1765, allocations: 1.998 MB / 467.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.722e-05/0.1766, allocations: 15.89 kB / 467.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001184/0.1778, allocations: 266.5 kB / 467.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002105/0.1799, allocations: 1.122 MB / 468.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.403e-05/0.18, allocations: 98.58 kB / 468.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002032/0.1803, allocations: 124 kB / 468.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005649/0.1859, allocations: 2.984 MB / 471.8 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.602e-05/0.186, allocations: 11.94 kB / 471.8 MB, free: 7.191 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001382/0.1861, allocations: 59.97 kB / 471.9 MB, free: 7.133 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006824/0.1868, allocations: 434 kB / 472.3 MB, free: 6.707 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004908/0.1918, allocations: 2.16 MB / 474.5 MB, free: 4.539 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01321/0.205, allocations: 10.74 MB / 485.2 MB, free: 9.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004166/0.2092, allocations: 1.226 MB / 486.4 MB, free: 8.273 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006852/0.2099, allocations: 411.3 kB / 486.8 MB, free: 7.867 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005003/0.215, allocations: 2.997 MB / 489.8 MB, free: 4.617 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.9e-05/0.215, allocations: 39 kB / 489.9 MB, free: 4.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=51): time 5.451e-06/0.2151, allocations: 0 / 489.9 MB, free: 4.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=57): time 0.01214/0.2272, allocations: 3.776 MB / 493.6 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.448e-05/0.2273, allocations: 85.61 kB / 493.7 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001828/0.2291, allocations: 1.202 MB / 494.9 MB, free: 15.36 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.105e-05/0.2292, allocations: 37.7 kB / 495 MB, free: 15.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008495/0.2301, allocations: 0.9356 MB / 495.9 MB, free: 14.37 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002501/0.2303, allocations: 221.2 kB / 496.1 MB, free: 14.15 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000462/0.2308, allocations: 315.1 kB / 496.4 MB, free: 13.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.231, allocations: 309.1 kB / 496.7 MB, free: 13.54 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006971/0.2317, allocations: 415.7 kB / 497.1 MB, free: 13.13 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001398/0.2331, allocations: 1.254 MB / 498.4 MB, free: 11.46 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002281/0.2354, allocations: 1.81 MB / 0.4885 GB, free: 9.238 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.215e-05/0.2354, allocations: 8 kB / 0.4885 GB, free: 9.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.002733/0.2381, allocations: 1.738 MB / 0.4902 GB, free: 7.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.85e-05/0.2382, allocations: 16 kB / 0.4902 GB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-05/0.2382, allocations: 32 kB / 0.4902 GB, free: 7.434 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002345/0.2385, allocations: 84.83 kB / 0.4903 GB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/0.2395, allocations: 359.3 kB / 0.4906 GB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001959/0.2415, allocations: 1.873 MB / 0.4925 GB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001122/0.2427, allocations: 68.17 kB / 0.4925 GB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/0.2428, allocations: 91.98 kB / 0.4926 GB, free: 4.828 MB / 382.1 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.001163/0.2439, allocations: 0.6526 MB / 0.4933 GB, free: 4.168 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002193/0.2442, allocations: 114.5 kB / 0.4934 GB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001252/0.2454, allocations: 0.7108 MB / 0.4941 GB, free: 3.336 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.2455, allocations: 8 kB / 0.4941 GB, free: 3.328 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.2455, allocations: 3.938 kB / 0.4941 GB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.699e-06/0.2455, allocations: 3.984 kB / 0.4941 GB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004128/0.2496, allocations: 2.235 MB / 0.4963 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/0.2496, allocations: 4 kB / 0.4963 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003969/0.25, allocations: 103.8 kB / 0.4964 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002275/0.2503, allocations: 56.83 kB / 0.4964 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.57e-05/0.2503, allocations: 15.94 kB / 0.4964 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001877/0.2522, allocations: 1.94 MB / 0.4983 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/0.2522, allocations: 12.03 kB / 0.4983 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001465/0.2537, allocations: 1.095 MB / 0.4994 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003302/0.254, allocations: 215.7 kB / 0.4996 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.2542, allocations: 16 kB / 0.4996 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003667/0.2545, allocations: 23.98 kB / 0.4996 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.7e-05/0.2546, allocations: 55.88 kB / 0.4997 GB, free: 13.22 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.105e-05/0.2547, allocations: 20 kB / 0.4997 GB, free: 13.2 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001156/0.2558, allocations: 0.7677 MB / 0.5005 GB, free: 12.43 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2558, allocations: 0 / 0.5005 GB, free: 12.43 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001539/0.2574, allocations: 300 kB / 0.5008 GB, free: 12.14 MB / 398.1 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.0002653/0.2576, allocations: 123.2 kB / 0.5009 GB, free: 12.01 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00199/0.2597, allocations: 1.21 MB / 0.5021 GB, free: 10.79 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.2597, allocations: 12.06 kB / 0.5021 GB, free: 10.78 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000518/0.2602, allocations: 402.5 kB / 0.5025 GB, free: 10.37 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009733/0.2612, allocations: 198.6 kB / 0.5026 GB, free: 10.18 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004908/0.2661, allocations: 2.871 MB / 0.5054 GB, free: 7.234 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001303/0.2674, allocations: 1.455 MB / 0.5069 GB, free: 5.742 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001133/0.2686, allocations: 413.7 kB / 0.5073 GB, free: 5.336 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001501/0.2687, allocations: 75.38 kB / 0.5073 GB, free: 5.262 MB / 398.1 MB Notification: Performance of SimCode: time 1.543e-06/0.2687, allocations: 4 kB / 0.5073 GB, free: 5.258 MB / 398.1 MB Notification: Performance of Templates: time 0.02163/0.2904, allocations: 10.48 MB / 0.5176 GB, free: 10.82 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches