Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001393/0.001393, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001445/0.001445, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.482/1.482, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2591/0.2591, allocations: 46.1 MB / 344.2 MB, free: 11.61 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002275/0.002275, allocations: 81.05 kB / 417.6 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1358, allocations: 62.44 MB / 480.1 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01085/0.1466, allocations: 8.652 MB / 488.7 MB, free: 12.58 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007005/0.1537, allocations: 3.463 MB / 492.2 MB, free: 9.109 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001142/0.1549, allocations: 47.88 kB / 492.3 MB, free: 9.062 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002778/0.1577, allocations: 1.367 MB / 493.6 MB, free: 7.691 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002448/0.1602, allocations: 0.9027 MB / 494.5 MB, free: 6.785 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001163/0.1613, allocations: 0.5185 MB / 495 MB, free: 6.266 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002435/0.1638, allocations: 1.714 MB / 496.8 MB, free: 4.547 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001918/0.1657, allocations: 1.655 MB / 498.4 MB, free: 2.848 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009196/0.1667, allocations: 0.6659 MB / 499.1 MB, free: 2.18 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001193/0.1679, allocations: 0.884 MB / 500 MB, free: 1.293 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002255/0.1681, allocations: 143.9 kB / 0.4884 GB, free: 1.152 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001153/0.1693, allocations: 0.5617 MB / 0.4889 GB, free: 0.5898 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007776/0.17, allocations: 0.7247 MB / 0.4896 GB, free: 15.86 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009186/0.171, allocations: 0.8315 MB / 0.4904 GB, free: 15.03 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003096/0.1741, allocations: 2.41 MB / 0.4928 GB, free: 12.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1741, allocations: 4 kB / 0.4928 GB, free: 12.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1741, allocations: 0 / 0.4928 GB, free: 12.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.813e-05/0.1742, allocations: 0 / 0.4928 GB, free: 12.61 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.004235/0.1784, allocations: 1.99 MB / 0.4948 GB, free: 10.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.1785, allocations: 12.03 kB / 0.4948 GB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00111/0.1796, allocations: 266.5 kB / 0.495 GB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002143/0.1817, allocations: 1.032 MB / 0.496 GB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001085/0.1819, allocations: 94.58 kB / 0.4961 GB, free: 9.117 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002139/0.1821, allocations: 132 kB / 0.4962 GB, free: 8.988 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005987/0.1881, allocations: 3.004 MB / 0.4992 GB, free: 5.793 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.5e-05/0.1881, allocations: 11.84 kB / 0.4992 GB, free: 5.781 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001324/0.1883, allocations: 55.97 kB / 0.4992 GB, free: 5.727 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000644/0.1889, allocations: 430 kB / 0.4996 GB, free: 5.305 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005121/0.1941, allocations: 2.183 MB / 0.5018 GB, free: 3.113 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2837/0.4778, allocations: 10.72 MB / 0.5122 GB, free: 35.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00422/0.4821, allocations: 1.256 MB / 0.5135 GB, free: 35 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006105/0.4827, allocations: 411.3 kB / 0.5139 GB, free: 34.85 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004031/0.4868, allocations: 3.088 MB / 0.5169 GB, free: 32.7 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/0.4868, allocations: 41.17 kB / 0.5169 GB, free: 32.66 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 3.056e-06/0.4868, allocations: 0 / 0.5169 GB, free: 32.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.01247/0.4993, allocations: 3.78 MB / 0.5206 GB, free: 31.17 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.4994, allocations: 87.83 kB / 0.5207 GB, free: 31.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00181/0.5012, allocations: 1.184 MB / 0.5219 GB, free: 30.6 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.77e-05/0.5012, allocations: 39.02 kB / 0.5219 GB, free: 30.56 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000594/0.5018, allocations: 0.9344 MB / 0.5228 GB, free: 29.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001542/0.502, allocations: 215.1 kB / 0.523 GB, free: 29.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003967/0.5024, allocations: 316.6 kB / 0.5233 GB, free: 29.52 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.462e-05/0.5025, allocations: 306.1 kB / 0.5236 GB, free: 29.22 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007187/0.5032, allocations: 418.8 kB / 0.524 GB, free: 29.1 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001099/0.5043, allocations: 1.26 MB / 0.5252 GB, free: 27.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001697/0.506, allocations: 1.824 MB / 0.527 GB, free: 26.21 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.481e-05/0.506, allocations: 12.38 kB / 0.527 GB, free: 26.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.002595/0.5086, allocations: 1.73 MB / 0.5287 GB, free: 25.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.995e-05/0.5087, allocations: 23.88 kB / 0.5287 GB, free: 25.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-05/0.5087, allocations: 32.56 kB / 0.5288 GB, free: 25.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002594/0.509, allocations: 84.95 kB / 0.5288 GB, free: 25.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/0.5101, allocations: 364.2 kB / 0.5292 GB, free: 25.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001306/0.5114, allocations: 1.873 MB / 0.531 GB, free: 23.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/0.5124, allocations: 71.41 kB / 0.5311 GB, free: 23.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001197/0.5126, allocations: 88.91 kB / 0.5312 GB, free: 23.65 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.0009988/0.5136, allocations: 0.6419 MB / 0.5318 GB, free: 23.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002316/0.5138, allocations: 112.1 kB / 0.5319 GB, free: 23.17 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002155/0.514, allocations: 135.7 kB / 0.532 GB, free: 23.08 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.514, allocations: 9.75 kB / 0.532 GB, free: 23.08 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.736e-05/0.5141, allocations: 2.438 kB / 0.5321 GB, free: 23.08 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.5141, allocations: 4.859 kB / 0.5321 GB, free: 23.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003076/0.5172, allocations: 2.238 MB / 0.5342 GB, free: 21.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.5172, allocations: 3.625 kB / 0.5342 GB, free: 21.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003341/0.5175, allocations: 102.1 kB / 0.5343 GB, free: 21.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001759/0.5177, allocations: 68.94 kB / 0.5344 GB, free: 21.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.872e-05/0.5177, allocations: 15.88 kB / 0.5344 GB, free: 21.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001126/0.5189, allocations: 1.936 MB / 0.5363 GB, free: 19.76 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.5189, allocations: 3.438 kB / 0.5363 GB, free: 19.76 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001193/0.5201, allocations: 1.118 MB / 0.5374 GB, free: 19.01 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00016/0.5203, allocations: 189.8 kB / 0.5376 GB, free: 18.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.5204, allocations: 16.62 kB / 0.5376 GB, free: 18.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003442/0.5207, allocations: 23.05 kB / 0.5376 GB, free: 18.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.988e-05/0.5208, allocations: 51.25 kB / 0.5377 GB, free: 18.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.074e-05/0.5208, allocations: 23.69 kB / 0.5377 GB, free: 18.79 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009628/0.5218, allocations: 0.7523 MB / 0.5384 GB, free: 18.37 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5218, allocations: 0 / 0.5384 GB, free: 18.37 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001671/0.5235, allocations: 295.3 kB / 0.5387 GB, free: 18.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.0003103/0.5238, allocations: 129.5 kB / 0.5388 GB, free: 18.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001938/0.5258, allocations: 1.219 MB / 0.54 GB, free: 17.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.5258, allocations: 0 / 0.54 GB, free: 17.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004581/0.5262, allocations: 416.5 kB / 0.5404 GB, free: 16.92 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009003/0.5271, allocations: 183.3 kB / 0.5406 GB, free: 16.74 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003404/0.5306, allocations: 2.839 MB / 0.5434 GB, free: 13.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008069/0.5314, allocations: 1.454 MB / 0.5448 GB, free: 12.35 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008344/0.5322, allocations: 417.7 kB / 0.5452 GB, free: 11.94 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.5324, allocations: 75.44 kB / 0.5453 GB, free: 11.87 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.5324, allocations: 0 / 0.5453 GB, free: 11.87 MB / 382.1 MB Notification: Performance of Templates: time 0.01742/0.5498, allocations: 10.34 MB / 0.5554 GB, free: 1.617 MB / 382.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches