Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001385/0.001385, allocations: 103.2 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001404/0.001404, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.439/1.439, allocations: 227.4 MB / 246.3 MB, free: 9.129 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2389/0.2389, allocations: 46.12 MB / 343.7 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00227/0.00227, allocations: 79.2 kB / 416.9 MB, free: 20.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1369, allocations: 62.47 MB / 479.4 MB, free: 5.656 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.03487/0.1718, allocations: 25.97 MB / 0.4935 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02125/0.1931, allocations: 6.335 MB / 0.4997 GB, free: 5.215 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007157/0.2003, allocations: 107.8 kB / 0.4998 GB, free: 5.109 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004574/0.205, allocations: 1.364 MB / 0.5011 GB, free: 3.742 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003753/0.2088, allocations: 0.8293 MB / 0.5019 GB, free: 2.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001854/0.2106, allocations: 475.3 kB / 0.5024 GB, free: 2.445 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004613/0.2153, allocations: 2.338 MB / 0.5047 GB, free: 104 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2583/0.4736, allocations: 1.627 MB / 0.5063 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001099/0.4747, allocations: 0.5999 MB / 0.5069 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001263/0.476, allocations: 0.9443 MB / 0.5078 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002275/0.4763, allocations: 103.7 kB / 0.5079 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001139/0.4774, allocations: 0.573 MB / 0.5084 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007743/0.4782, allocations: 0.7008 MB / 0.5091 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000764/0.479, allocations: 0.7903 MB / 0.5099 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003059/0.482, allocations: 2.395 MB / 0.5122 GB, free: 10.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.482, allocations: 4.609 kB / 0.5122 GB, free: 10.33 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.482, allocations: 0 / 0.5122 GB, free: 10.33 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.428e-05/0.4821, allocations: 1.375 kB / 0.5122 GB, free: 10.33 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.003936/0.486, allocations: 1.981 MB / 0.5142 GB, free: 9.402 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.4861, allocations: 13.66 kB / 0.5142 GB, free: 9.398 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001132/0.4872, allocations: 263.1 kB / 0.5144 GB, free: 9.301 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00183/0.4891, allocations: 1.044 MB / 0.5155 GB, free: 8.938 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.52e-05/0.4892, allocations: 93.64 kB / 0.5155 GB, free: 8.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000194/0.4894, allocations: 128.1 kB / 0.5157 GB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005733/0.4951, allocations: 2.995 MB / 0.5186 GB, free: 8.371 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.041e-05/0.4952, allocations: 15.64 kB / 0.5186 GB, free: 8.371 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001446/0.4953, allocations: 56.27 kB / 0.5187 GB, free: 8.371 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006497/0.496, allocations: 429.7 kB / 0.5191 GB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004727/0.5007, allocations: 2.185 MB / 0.5212 GB, free: 8.344 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01075/0.5115, allocations: 10.73 MB / 0.5317 GB, free: 1.379 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003722/0.5152, allocations: 1.242 MB / 0.5329 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005104/0.5158, allocations: 411.5 kB / 0.5333 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004115/0.5199, allocations: 3.087 MB / 0.5363 GB, free: 14.08 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.264e-05/0.52, allocations: 41.61 kB / 0.5363 GB, free: 14.03 MB / 398.1 MB Notification: Performance of pre-optimization done (n=51): time 2.484e-06/0.52, allocations: 4 kB / 0.5364 GB, free: 14.03 MB / 398.1 MB Notification: Performance of matching and sorting (n=57): time 0.01219/0.5322, allocations: 3.78 MB / 0.54 GB, free: 11.95 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.404e-05/0.5323, allocations: 84.23 kB / 0.5401 GB, free: 11.86 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00161/0.5339, allocations: 1.185 MB / 0.5413 GB, free: 11.2 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.032e-05/0.5339, allocations: 37.7 kB / 0.5413 GB, free: 11.16 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007307/0.5347, allocations: 0.9351 MB / 0.5422 GB, free: 10.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001985/0.5349, allocations: 219.5 kB / 0.5424 GB, free: 10.16 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004063/0.5353, allocations: 313.6 kB / 0.5427 GB, free: 9.977 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.5355, allocations: 301.1 kB / 0.543 GB, free: 9.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006553/0.5361, allocations: 421.8 kB / 0.5434 GB, free: 9.484 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001378/0.5375, allocations: 1.26 MB / 0.5447 GB, free: 8.121 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002352/0.5399, allocations: 1.815 MB / 0.5464 GB, free: 6.539 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-05/0.5399, allocations: 15.5 kB / 0.5464 GB, free: 6.535 MB / 398.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.00292/0.5428, allocations: 1.739 MB / 0.5481 GB, free: 5.457 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.654e-05/0.5429, allocations: 16 kB / 0.5482 GB, free: 5.441 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-05/0.5429, allocations: 33.33 kB / 0.5482 GB, free: 5.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002376/0.5432, allocations: 87.48 kB / 0.5483 GB, free: 5.324 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/0.5443, allocations: 365.8 kB / 0.5486 GB, free: 4.996 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001874/0.5462, allocations: 1.695 MB / 0.5503 GB, free: 3.188 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001098/0.5473, allocations: 63.98 kB / 0.5503 GB, free: 3.125 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001306/0.5475, allocations: 88 kB / 0.5504 GB, free: 3.039 MB / 398.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.001251/0.5487, allocations: 0.6358 MB / 0.551 GB, free: 2.426 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002712/0.549, allocations: 118.6 kB / 0.5512 GB, free: 2.309 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000332/0.5494, allocations: 139.3 kB / 0.5513 GB, free: 2.168 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.5494, allocations: 8.078 kB / 0.5513 GB, free: 2.16 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.358e-05/0.5494, allocations: 4 kB / 0.5513 GB, free: 2.156 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.5494, allocations: 192 / 0.5513 GB, free: 2.156 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004689/0.5541, allocations: 2.253 MB / 0.5535 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.5541, allocations: 4.5 kB / 0.5535 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004116/0.5545, allocations: 97.3 kB / 0.5536 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002229/0.5548, allocations: 67.7 kB / 0.5537 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.102e-05/0.5548, allocations: 19.94 kB / 0.5537 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001907/0.5568, allocations: 1.74 MB / 0.5554 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.5568, allocations: 7.094 kB / 0.5554 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001868/0.5587, allocations: 1.118 MB / 0.5565 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004985/0.5592, allocations: 175.8 kB / 0.5566 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002353/0.5594, allocations: 16 kB / 0.5567 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005139/0.5599, allocations: 23.98 kB / 0.5567 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.164e-05/0.56, allocations: 58.62 kB / 0.5567 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.463e-05/0.5601, allocations: 16 kB / 0.5568 GB, free: 12.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00155/0.5616, allocations: 0.7593 MB / 0.5575 GB, free: 11.56 MB / 414.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5616, allocations: 0 / 0.5575 GB, free: 11.56 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001819/0.5635, allocations: 292 kB / 0.5578 GB, free: 11.27 MB / 414.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.0002721/0.5637, allocations: 132.8 kB / 0.5579 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002309/0.5661, allocations: 1.11 MB / 0.559 GB, free: 10.11 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.5661, allocations: 0 / 0.559 GB, free: 10.11 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006951/0.5668, allocations: 413.7 kB / 0.5594 GB, free: 9.711 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001351/0.5682, allocations: 174.3 kB / 0.5595 GB, free: 9.539 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007707/0.5759, allocations: 3.484 MB / 0.563 GB, free: 5.996 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002274/0.5782, allocations: 1.454 MB / 0.5644 GB, free: 4.512 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001398/0.5796, allocations: 405.6 kB / 0.5648 GB, free: 4.113 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002708/0.5799, allocations: 79.44 kB / 0.5648 GB, free: 4.035 MB / 414.1 MB Notification: Performance of SimCode: time 1.102e-06/0.5799, allocations: 0 / 0.5648 GB, free: 4.035 MB / 414.1 MB Notification: Performance of Templates: time 0.0254/0.6053, allocations: 9.943 MB / 0.5745 GB, free: 10.2 MB / 430.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches