Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.0_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.0009024/0.0009024, allocations: 98.05 kB / 18.01 MB, free: 5.602 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.001032/0.001032, allocations: 185 kB / 18.91 MB, free: 4.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 223.3 MB / 242.9 MB, free: 176 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.206/0.206, allocations: 44.25 MB / 338.3 MB, free: 2.723 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003444/0.0003445, allocations: 8 kB / 411 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1217, allocations: 61.92 MB / 472.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.02423/0.146, allocations: 25.3 MB / 498.2 MB, free: 3.93 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01564/0.1617, allocations: 6.328 MB / 0.4927 GB, free: 13.58 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006022/0.1678, allocations: 103.8 kB / 0.4928 GB, free: 13.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001103/0.1689, allocations: 175 kB / 0.493 GB, free: 13.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003474/0.1724, allocations: 0.8527 MB / 0.4938 GB, free: 12.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001327/0.1738, allocations: 479.3 kB / 0.4943 GB, free: 11.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003332/0.1771, allocations: 2.295 MB / 0.4965 GB, free: 9.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003556/0.1807, allocations: 2.285 MB / 0.4987 GB, free: 7.336 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001147/0.1819, allocations: 0.4979 MB / 0.4992 GB, free: 6.836 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001355/0.1832, allocations: 0.7902 MB / 0.5 GB, free: 6.043 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002688/0.1835, allocations: 52 kB / 0.5001 GB, free: 5.992 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001268/0.1848, allocations: 0.5577 MB / 0.5006 GB, free: 5.434 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007917/0.1856, allocations: 0.6348 MB / 0.5012 GB, free: 4.797 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001323/0.1869, allocations: 0.7277 MB / 0.5019 GB, free: 4.059 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002235/0.1892, allocations: 1.902 MB / 0.5038 GB, free: 2.152 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1892, allocations: 0 / 0.5038 GB, free: 2.152 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1892, allocations: 0 / 0.5038 GB, free: 2.152 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.505e-05/0.1893, allocations: 0 / 0.5038 GB, free: 2.152 MB / 382.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.003848/0.1932, allocations: 1.698 MB / 0.5054 GB, free: 408 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.1932, allocations: 12.03 kB / 0.5055 GB, free: 396 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00132/0.1946, allocations: 266.5 kB / 0.5057 GB, free: 128 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2603/0.4549, allocations: 1.064 MB / 0.5067 GB, free: 50.79 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001097/0.4551, allocations: 96.45 kB / 0.5068 GB, free: 50.79 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002627/0.4553, allocations: 126.2 kB / 0.507 GB, free: 50.79 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00626/0.4616, allocations: 2.998 MB / 0.5099 GB, free: 49.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.794e-05/0.4617, allocations: 12.7 kB / 0.5099 GB, free: 49.95 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001394/0.4618, allocations: 58.34 kB / 0.51 GB, free: 49.92 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007618/0.4626, allocations: 435 kB / 0.5104 GB, free: 49.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005297/0.4679, allocations: 2.175 MB / 0.5125 GB, free: 49.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01312/0.4811, allocations: 10.74 MB / 0.523 GB, free: 41.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003912/0.485, allocations: 1.23 MB / 0.5242 GB, free: 41.36 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005622/0.4856, allocations: 404.1 kB / 0.5246 GB, free: 41.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0035/0.4891, allocations: 3.009 MB / 0.5275 GB, free: 38.72 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.4892, allocations: 38.28 kB / 0.5275 GB, free: 38.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 2.655e-06/0.4892, allocations: 0 / 0.5275 GB, free: 38.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.01117/0.5004, allocations: 3.754 MB / 0.5312 GB, free: 36.61 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.266e-05/0.5004, allocations: 85.58 kB / 0.5313 GB, free: 36.51 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001311/0.5018, allocations: 1.193 MB / 0.5325 GB, free: 35.38 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.509e-05/0.5018, allocations: 37.7 kB / 0.5325 GB, free: 35.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006411/0.5025, allocations: 0.9342 MB / 0.5334 GB, free: 34.4 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001793/0.5027, allocations: 218 kB / 0.5336 GB, free: 34.19 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001563/0.5028, allocations: 149.6 kB / 0.5338 GB, free: 34.04 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.293e-05/0.5029, allocations: 309 kB / 0.5341 GB, free: 33.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005514/0.5035, allocations: 423.7 kB / 0.5345 GB, free: 33.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008785/0.5044, allocations: 1.258 MB / 0.5357 GB, free: 31.65 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001579/0.506, allocations: 1.803 MB / 0.5374 GB, free: 29.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.071e-05/0.506, allocations: 13.22 kB / 0.5375 GB, free: 29.42 MB / 382.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.002251/0.5082, allocations: 1.73 MB / 0.5391 GB, free: 27.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.867e-05/0.5083, allocations: 16 kB / 0.5392 GB, free: 27.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.439e-05/0.5083, allocations: 34.81 kB / 0.5392 GB, free: 27.63 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001971/0.5085, allocations: 88.83 kB / 0.5393 GB, free: 27.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000916/0.5094, allocations: 355.9 kB / 0.5396 GB, free: 27.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001177/0.5106, allocations: 1.691 MB / 0.5413 GB, free: 25.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008651/0.5115, allocations: 67.61 kB / 0.5413 GB, free: 25.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.112e-05/0.5116, allocations: 88 kB / 0.5414 GB, free: 25.21 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.0008108/0.5124, allocations: 0.6517 MB / 0.5421 GB, free: 24.55 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.5125, allocations: 114.5 kB / 0.5422 GB, free: 24.44 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009904/0.5135, allocations: 0.7147 MB / 0.5429 GB, free: 23.71 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.289e-06/0.5136, allocations: 4 kB / 0.5429 GB, free: 23.71 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.5136, allocations: 3.844 kB / 0.5429 GB, free: 23.71 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.5136, allocations: 4 kB / 0.5429 GB, free: 23.71 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002673/0.5163, allocations: 2.235 MB / 0.5451 GB, free: 21.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.5163, allocations: 4 kB / 0.5451 GB, free: 21.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003231/0.5166, allocations: 99.83 kB / 0.5452 GB, free: 21.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001654/0.5168, allocations: 67.55 kB / 0.5452 GB, free: 21.2 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.531e-05/0.5168, allocations: 8 kB / 0.5452 GB, free: 21.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001125/0.5179, allocations: 1.753 MB / 0.5469 GB, free: 19.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.518, allocations: 11.88 kB / 0.547 GB, free: 19.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/0.5191, allocations: 1.103 MB / 0.548 GB, free: 18.13 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001756/0.5193, allocations: 183.7 kB / 0.5482 GB, free: 17.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.318e-05/0.5194, allocations: 16 kB / 0.5482 GB, free: 17.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003435/0.5197, allocations: 20.23 kB / 0.5482 GB, free: 17.9 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.249e-05/0.5198, allocations: 55.92 kB / 0.5483 GB, free: 17.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.367e-05/0.5198, allocations: 24 kB / 0.5483 GB, free: 17.82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000773/0.5206, allocations: 0.7596 MB / 0.5491 GB, free: 17.05 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.473e-06/0.5206, allocations: 0 / 0.5491 GB, free: 17.05 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001308/0.5219, allocations: 303.9 kB / 0.5493 GB, free: 16.76 MB / 382.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.0002099/0.5222, allocations: 128.4 kB / 0.5495 GB, free: 16.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001402/0.5236, allocations: 1.093 MB / 0.5505 GB, free: 15.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.5236, allocations: 1.688 kB / 0.5505 GB, free: 15.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004202/0.524, allocations: 411 kB / 0.5509 GB, free: 15.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001446/0.5255, allocations: 178.5 kB / 0.5511 GB, free: 14.94 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003958/0.5294, allocations: 3.685 MB / 0.5547 GB, free: 11.17 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008571/0.5303, allocations: 1.458 MB / 0.5561 GB, free: 9.684 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001878/0.5305, allocations: 83.44 kB / 0.5562 GB, free: 9.602 MB / 382.1 MB Notification: Performance of SimCode: time 1.283e-06/0.5305, allocations: 0 / 0.5562 GB, free: 9.602 MB / 382.1 MB Notification: Performance of Templates: time 0.02933/0.5598, allocations: 22.08 MB / 0.5778 GB, free: 3.539 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches