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.0008678/0.0008678, allocations: 95.88 kB / 17 MB, free: 6.418 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.0008851/0.0008849, allocations: 188.4 kB / 17.89 MB, free: 5.945 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.432/1.432, allocations: 223.2 MB / 241.9 MB, free: 340 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.2319/0.2319, allocations: 44.25 MB / 337.3 MB, free: 2.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003448/0.0003448, allocations: 12 kB / 409.7 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.153, allocations: 61.93 MB / 471.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.02316/0.1762, allocations: 23.58 MB / 495.2 MB, free: 6.07 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01523/0.1915, allocations: 5.967 MB / 0.4894 GB, free: 84 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004647/0.1962, allocations: 107.8 kB / 0.4895 GB, free: 15.97 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003031/0.1993, allocations: 1.038 MB / 0.4905 GB, free: 14.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009387/0.2087, allocations: 3.318 MB / 0.4938 GB, free: 11.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001732/0.2104, allocations: 447.3 kB / 0.4942 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002914/0.2133, allocations: 1.862 MB / 0.496 GB, free: 9.301 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003403/0.2168, allocations: 1.969 MB / 0.4979 GB, free: 7.293 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001428/0.2182, allocations: 0.5254 MB / 0.4984 GB, free: 6.766 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001556/0.2198, allocations: 0.7828 MB / 0.4992 GB, free: 5.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003306/0.2201, allocations: 56 kB / 0.4992 GB, free: 5.926 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001195/0.2213, allocations: 455.4 kB / 0.4997 GB, free: 5.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006753/0.222, allocations: 0.6233 MB / 0.5003 GB, free: 4.855 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003428/0.2224, allocations: 308.8 kB / 0.5006 GB, free: 4.547 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001825/0.2242, allocations: 1.902 MB / 0.5024 GB, free: 2.641 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/0.2242, allocations: 0 / 0.5024 GB, free: 2.641 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2242, allocations: 3.938 kB / 0.5024 GB, free: 2.637 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.667e-05/0.2243, allocations: 0 / 0.5024 GB, free: 2.637 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.002802/0.2271, allocations: 1.713 MB / 0.5041 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.2271, allocations: 8.562 kB / 0.5041 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009566/0.2281, allocations: 269.5 kB / 0.5044 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3247/0.5528, allocations: 1.04 MB / 0.5054 GB, free: 18.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001446/0.553, allocations: 91.41 kB / 0.5055 GB, free: 18.17 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000264/0.5533, allocations: 127.7 kB / 0.5056 GB, free: 18.17 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006815/0.5601, allocations: 2.988 MB / 0.5085 GB, free: 17.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.446e-05/0.5602, allocations: 14.81 kB / 0.5085 GB, free: 17.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001344/0.5603, allocations: 55.95 kB / 0.5086 GB, free: 17.64 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007304/0.5611, allocations: 435.1 kB / 0.509 GB, free: 17.64 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005473/0.5666, allocations: 2.157 MB / 0.5111 GB, free: 17.62 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01747/0.5841, allocations: 10.73 MB / 0.5216 GB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004022/0.5882, allocations: 1.233 MB / 0.5228 GB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007956/0.589, allocations: 406.6 kB / 0.5232 GB, free: 12.28 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004651/0.5937, allocations: 3.005 MB / 0.5261 GB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.387e-05/0.5937, allocations: 48.14 kB / 0.5262 GB, free: 10.6 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 2.534e-06/0.5937, allocations: 0 / 0.5262 GB, free: 10.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.01126/0.605, allocations: 3.75 MB / 0.5298 GB, free: 9.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.919e-05/0.6051, allocations: 84.64 kB / 0.5299 GB, free: 9.586 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001784/0.6069, allocations: 1.181 MB / 0.5311 GB, free: 9.398 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.923e-05/0.6069, allocations: 35.58 kB / 0.5311 GB, free: 9.367 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00067/0.6076, allocations: 0.9389 MB / 0.532 GB, free: 8.852 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000161/0.6078, allocations: 219.3 kB / 0.5322 GB, free: 8.727 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.461e-05/0.6079, allocations: 29.47 kB / 0.5323 GB, free: 8.727 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.608, allocations: 374 kB / 0.5326 GB, free: 8.422 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000603/0.6086, allocations: 406.8 kB / 0.533 GB, free: 8.418 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001047/0.6097, allocations: 1.253 MB / 0.5342 GB, free: 7.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/0.6107, allocations: 0.6761 MB / 0.5349 GB, free: 7.277 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-05/0.6107, allocations: 10.09 kB / 0.5349 GB, free: 7.277 MB / 382.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.002566/0.6133, allocations: 1.723 MB / 0.5366 GB, free: 7.141 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.265e-05/0.6133, allocations: 16.06 kB / 0.5366 GB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.714e-05/0.6134, allocations: 29.81 kB / 0.5366 GB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002448/0.6136, allocations: 90.64 kB / 0.5367 GB, free: 7.133 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/0.6147, allocations: 360.4 kB / 0.5371 GB, free: 7.133 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001429/0.6161, allocations: 1.69 MB / 0.5387 GB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009499/0.6171, allocations: 73.5 kB / 0.5388 GB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/0.6172, allocations: 85.25 kB / 0.5389 GB, free: 5.742 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001032/0.6183, allocations: 0.6431 MB / 0.5395 GB, free: 5.535 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001406/0.6184, allocations: 115.2 kB / 0.5396 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001227/0.6196, allocations: 0.7091 MB / 0.5403 GB, free: 5.293 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.6197, allocations: 5.719 kB / 0.5403 GB, free: 5.293 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.6197, allocations: 0 / 0.5403 GB, free: 5.293 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.6197, allocations: 6.516 kB / 0.5403 GB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00348/0.6232, allocations: 2.222 MB / 0.5425 GB, free: 4.445 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.6232, allocations: 7.172 kB / 0.5425 GB, free: 4.445 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003731/0.6236, allocations: 98.73 kB / 0.5426 GB, free: 4.434 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001897/0.6238, allocations: 71.39 kB / 0.5426 GB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.264e-05/0.6238, allocations: 17.83 kB / 0.5427 GB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001389/0.6252, allocations: 1.746 MB / 0.5444 GB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.756e-06/0.6252, allocations: 6.344 kB / 0.5444 GB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001387/0.6266, allocations: 1.097 MB / 0.5454 GB, free: 2.355 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001851/0.6268, allocations: 182.2 kB / 0.5456 GB, free: 2.164 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.602e-05/0.6269, allocations: 15.62 kB / 0.5456 GB, free: 2.156 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003266/0.6273, allocations: 32.56 kB / 0.5457 GB, free: 2.133 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.225e-05/0.6273, allocations: 49.59 kB / 0.5457 GB, free: 2.094 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-05/0.6274, allocations: 15.06 kB / 0.5457 GB, free: 2.082 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008695/0.6282, allocations: 0.7545 MB / 0.5465 GB, free: 1.508 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6283, allocations: 4 kB / 0.5465 GB, free: 1.504 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00168/0.6299, allocations: 298.8 kB / 0.5467 GB, free: 1.246 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002913/0.6302, allocations: 131.9 kB / 0.5469 GB, free: 1.125 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001664/0.6319, allocations: 1.088 MB / 0.5479 GB, free: 348 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.6319, allocations: 0 / 0.5479 GB, free: 348 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004471/0.6324, allocations: 404.1 kB / 0.5483 GB, free: 28 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009759/0.6334, allocations: 182.6 kB / 0.5485 GB, free: 15.91 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005662/0.639, allocations: 3.381 MB / 0.5518 GB, free: 12.74 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001507/0.6406, allocations: 1.452 MB / 0.5532 GB, free: 11.38 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00115/0.6417, allocations: 415.9 kB / 0.5536 GB, free: 10.97 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002002/0.6419, allocations: 76.88 kB / 0.5537 GB, free: 10.9 MB / 398.1 MB Notification: Performance of SimCode: time 1.463e-06/0.6419, allocations: 0 / 0.5537 GB, free: 10.9 MB / 398.1 MB Notification: Performance of Templates: time 0.02429/0.6662, allocations: 9.712 MB / 0.5632 GB, free: 1.32 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins/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