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.001488/0.001488, allocations: 110.2 kB / 17.33 MB, free: 6 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.001704/0.001704, allocations: 193.3 kB / 18.25 MB, free: 5.09 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.442/1.442, allocations: 222.9 MB / 241.9 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2459/0.2459, allocations: 44.18 MB / 336.2 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 67.7 kB / 407.9 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1389, allocations: 60.82 MB / 468.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.02722/0.1662, allocations: 26.13 MB / 494.8 MB, free: 4.484 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0165/0.1827, allocations: 6.275 MB / 0.4894 GB, free: 14.19 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006207/0.189, allocations: 107.8 kB / 0.4895 GB, free: 14.08 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003591/0.1926, allocations: 1.321 MB / 0.4908 GB, free: 12.76 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003027/0.1957, allocations: 0.8761 MB / 0.4916 GB, free: 11.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001281/0.197, allocations: 491.3 kB / 0.4921 GB, free: 11.4 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003084/0.2001, allocations: 1.675 MB / 0.4937 GB, free: 9.723 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002517/0.2026, allocations: 1.741 MB / 0.4954 GB, free: 7.941 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001408/0.2041, allocations: 0.6737 MB / 0.4961 GB, free: 7.266 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001642/0.2057, allocations: 0.9659 MB / 0.497 GB, free: 6.297 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004773/0.2062, allocations: 140 kB / 0.4972 GB, free: 6.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001503/0.2077, allocations: 0.6007 MB / 0.4977 GB, free: 5.559 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001068/0.2088, allocations: 0.7403 MB / 0.4985 GB, free: 4.816 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001691/0.2105, allocations: 0.8315 MB / 0.4993 GB, free: 3.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003484/0.214, allocations: 2.461 MB / 0.5017 GB, free: 1.512 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/0.2141, allocations: 7.938 kB / 0.5017 GB, free: 1.504 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.2141, allocations: 3.938 kB / 0.5017 GB, free: 1.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.62e-05/0.2142, allocations: 0 / 0.5017 GB, free: 1.5 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.2611/0.4753, allocations: 1.997 MB / 0.5036 GB, free: 52.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.4754, allocations: 10.31 kB / 0.5037 GB, free: 52.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001231/0.4766, allocations: 260.7 kB / 0.5039 GB, free: 52.74 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001898/0.4785, allocations: 1.062 MB / 0.5049 GB, free: 52.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.673e-05/0.4786, allocations: 94.62 kB / 0.505 GB, free: 52.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001901/0.4788, allocations: 124.7 kB / 0.5051 GB, free: 52.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005375/0.4842, allocations: 2.991 MB / 0.5081 GB, free: 50.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.758e-05/0.4843, allocations: 15.42 kB / 0.5081 GB, free: 50.79 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001229/0.4844, allocations: 62.61 kB / 0.5081 GB, free: 50.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006311/0.485, allocations: 436.3 kB / 0.5086 GB, free: 50.67 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004644/0.4897, allocations: 2.164 MB / 0.5107 GB, free: 50.01 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01225/0.502, allocations: 10.72 MB / 0.5211 GB, free: 42.67 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003531/0.5055, allocations: 1.248 MB / 0.5224 GB, free: 42.08 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000505/0.506, allocations: 400.6 kB / 0.5227 GB, free: 41.88 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003617/0.5097, allocations: 2.995 MB / 0.5257 GB, free: 39.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.5097, allocations: 37.62 kB / 0.5257 GB, free: 39.39 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 1.964e-06/0.5097, allocations: 4 kB / 0.5257 GB, free: 39.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.01041/0.5201, allocations: 3.751 MB / 0.5294 GB, free: 36.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/0.5202, allocations: 81.67 kB / 0.5294 GB, free: 36.74 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001191/0.5214, allocations: 1.201 MB / 0.5306 GB, free: 35.53 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.177e-05/0.5215, allocations: 41.64 kB / 0.5307 GB, free: 35.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004442/0.5219, allocations: 0.9434 MB / 0.5316 GB, free: 34.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00012/0.522, allocations: 209.2 kB / 0.5318 GB, free: 34.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002808/0.5223, allocations: 315.1 kB / 0.5321 GB, free: 34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.382e-05/0.5224, allocations: 305.1 kB / 0.5324 GB, free: 33.7 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004891/0.5229, allocations: 415.7 kB / 0.5328 GB, free: 33.3 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008406/0.5237, allocations: 1.261 MB / 0.534 GB, free: 31.63 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001355/0.5251, allocations: 1.806 MB / 0.5358 GB, free: 29.41 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.017e-05/0.5251, allocations: 8 kB / 0.5358 GB, free: 29.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.001955/0.5271, allocations: 1.723 MB / 0.5375 GB, free: 27.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/0.5271, allocations: 20 kB / 0.5375 GB, free: 27.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.224e-05/0.5271, allocations: 28 kB / 0.5375 GB, free: 27.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001839/0.5273, allocations: 88.81 kB / 0.5376 GB, free: 27.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009355/0.5283, allocations: 359.3 kB / 0.5379 GB, free: 27.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001154/0.5294, allocations: 1.881 MB / 0.5398 GB, free: 25.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008287/0.5303, allocations: 67.98 kB / 0.5398 GB, free: 25.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.585e-05/0.5304, allocations: 91.84 kB / 0.5399 GB, free: 25 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.0006842/0.5311, allocations: 0.6361 MB / 0.5405 GB, free: 24.36 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/0.5312, allocations: 114.7 kB / 0.5406 GB, free: 24.24 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009711/0.5322, allocations: 0.7146 MB / 0.5413 GB, free: 23.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.5322, allocations: 4 kB / 0.5413 GB, free: 23.51 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.5322, allocations: 0 / 0.5413 GB, free: 23.51 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.5322, allocations: 11.92 kB / 0.5414 GB, free: 23.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002615/0.5348, allocations: 2.231 MB / 0.5435 GB, free: 21.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.5348, allocations: 4 kB / 0.5435 GB, free: 21.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003454/0.5352, allocations: 103.8 kB / 0.5436 GB, free: 21.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001607/0.5354, allocations: 60.81 kB / 0.5437 GB, free: 20.99 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.992e-05/0.5354, allocations: 16 kB / 0.5437 GB, free: 20.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001164/0.5366, allocations: 1.952 MB / 0.5456 GB, free: 18.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.5366, allocations: 4 kB / 0.5456 GB, free: 18.88 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.5377, allocations: 1.099 MB / 0.5467 GB, free: 17.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001613/0.5379, allocations: 179.6 kB / 0.5469 GB, free: 17.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.538, allocations: 16 kB / 0.5469 GB, free: 17.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003613/0.5383, allocations: 32.03 kB / 0.5469 GB, free: 17.47 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.186e-05/0.5384, allocations: 47.83 kB / 0.547 GB, free: 17.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.537e-05/0.5384, allocations: 20.88 kB / 0.547 GB, free: 17.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007177/0.5392, allocations: 0.7519 MB / 0.5477 GB, free: 16.65 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5392, allocations: 0 / 0.5477 GB, free: 16.65 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001224/0.5404, allocations: 312.7 kB / 0.548 GB, free: 16.34 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.0002002/0.5406, allocations: 129.5 kB / 0.5481 GB, free: 16.21 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001474/0.5421, allocations: 1.205 MB / 0.5493 GB, free: 15.01 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.5421, allocations: 0 / 0.5493 GB, free: 15.01 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004198/0.5425, allocations: 402.2 kB / 0.5497 GB, free: 14.6 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009321/0.5435, allocations: 192.5 kB / 0.5499 GB, free: 14.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003549/0.547, allocations: 3.49 MB / 0.5533 GB, free: 10.86 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00082/0.5479, allocations: 1.447 MB / 0.5547 GB, free: 9.383 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008819/0.5488, allocations: 417.8 kB / 0.5551 GB, free: 8.973 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/0.5489, allocations: 75.44 kB / 0.5552 GB, free: 8.898 MB / 382.1 MB Notification: Performance of SimCode: time 1.874e-06/0.5489, allocations: 0 / 0.5552 GB, free: 8.898 MB / 382.1 MB Notification: Performance of Templates: time 0.01983/0.5688, allocations: 10.43 MB / 0.5654 GB, free: 14.53 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