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.000986/0.000986, allocations: 96.5 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001157/0.001157, allocations: 207.8 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 227.7 MB / 247.5 MB, free: 11.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2015/0.2015, allocations: 46.18 MB / 345.9 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002875/0.0002876, allocations: 8 kB / 420.2 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.118, allocations: 63.57 MB / 483.7 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.02297/0.141, allocations: 25.15 MB / 0.497 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01338/0.1545, allocations: 6.265 MB / 0.5031 GB, free: 4.621 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00448/0.159, allocations: 107.8 kB / 0.5032 GB, free: 4.516 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007491/0.1597, allocations: 163 kB / 0.5033 GB, free: 4.355 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002579/0.1623, allocations: 0.8449 MB / 0.5042 GB, free: 3.508 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.1634, allocations: 471.3 kB / 0.5046 GB, free: 3.047 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002791/0.1662, allocations: 2.346 MB / 0.5069 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2331/0.3994, allocations: 2.267 MB / 0.5091 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009736/0.4004, allocations: 0.4884 MB / 0.5096 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001267/0.4017, allocations: 0.7932 MB / 0.5104 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001605/0.4018, allocations: 55.19 kB / 0.5104 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001042/0.4029, allocations: 0.5261 MB / 0.5109 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007555/0.4037, allocations: 0.6243 MB / 0.5115 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007391/0.4044, allocations: 0.7341 MB / 0.5123 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002357/0.4068, allocations: 1.883 MB / 0.5141 GB, free: 10.44 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.4068, allocations: 1.062 kB / 0.5141 GB, free: 10.44 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.4068, allocations: 0 / 0.5141 GB, free: 10.44 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.001e-05/0.4069, allocations: 0 / 0.5141 GB, free: 10.44 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.003496/0.4104, allocations: 1.69 MB / 0.5157 GB, free: 9.527 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.4104, allocations: 10.31 kB / 0.5158 GB, free: 9.527 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001107/0.4115, allocations: 269.1 kB / 0.516 GB, free: 9.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001877/0.4134, allocations: 1.037 MB / 0.517 GB, free: 9.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.05e-05/0.4135, allocations: 95.41 kB / 0.5171 GB, free: 9.066 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002192/0.4137, allocations: 128.9 kB / 0.5172 GB, free: 9.062 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005951/0.4197, allocations: 3.008 MB / 0.5202 GB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.524e-05/0.4198, allocations: 21.28 kB / 0.5202 GB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001397/0.4199, allocations: 56.12 kB / 0.5203 GB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006406/0.4206, allocations: 435.1 kB / 0.5207 GB, free: 8.496 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005103/0.4257, allocations: 2.196 MB / 0.5228 GB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01161/0.4373, allocations: 10.73 MB / 0.5333 GB, free: 2.289 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00396/0.4413, allocations: 1.252 MB / 0.5345 GB, free: 1.715 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005367/0.4419, allocations: 415.5 kB / 0.5349 GB, free: 1.508 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003874/0.4458, allocations: 3.092 MB / 0.5379 GB, free: 14.97 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/0.4458, allocations: 44.59 kB / 0.538 GB, free: 14.93 MB / 398.1 MB Notification: Performance of pre-optimization done (n=51): time 3.397e-06/0.4458, allocations: 0 / 0.538 GB, free: 14.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=57): time 0.0125/0.4583, allocations: 3.803 MB / 0.5417 GB, free: 12.85 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.995e-05/0.4584, allocations: 84.64 kB / 0.5418 GB, free: 12.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002006/0.4605, allocations: 1.187 MB / 0.5429 GB, free: 12.09 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.181e-05/0.4605, allocations: 37.27 kB / 0.543 GB, free: 12.05 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008783/0.4614, allocations: 0.9334 MB / 0.5439 GB, free: 11.23 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002214/0.4616, allocations: 223.8 kB / 0.5441 GB, free: 11.05 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001976/0.4618, allocations: 139.1 kB / 0.5442 GB, free: 10.96 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.462, allocations: 305.1 kB / 0.5445 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007154/0.4627, allocations: 427.3 kB / 0.5449 GB, free: 10.46 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001482/0.4642, allocations: 1.26 MB / 0.5462 GB, free: 9.105 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002213/0.4664, allocations: 1.818 MB / 0.5479 GB, free: 7.523 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.484e-05/0.4665, allocations: 11.25 kB / 0.5479 GB, free: 7.523 MB / 398.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.002971/0.4694, allocations: 1.747 MB / 0.5496 GB, free: 6.691 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.838e-05/0.4695, allocations: 16 kB / 0.5497 GB, free: 6.676 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.296e-05/0.4695, allocations: 28 kB / 0.5497 GB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002518/0.4698, allocations: 92.81 kB / 0.5498 GB, free: 6.555 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/0.471, allocations: 362.7 kB / 0.5501 GB, free: 6.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001809/0.4728, allocations: 1.692 MB / 0.5518 GB, free: 4.422 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/0.474, allocations: 71.98 kB / 0.5518 GB, free: 4.352 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001472/0.4742, allocations: 91.98 kB / 0.5519 GB, free: 4.262 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.001255/0.4755, allocations: 0.6319 MB / 0.5525 GB, free: 3.652 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002291/0.4757, allocations: 118.6 kB / 0.5527 GB, free: 3.535 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003558/0.4761, allocations: 139.3 kB / 0.5528 GB, free: 3.391 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.4761, allocations: 4 kB / 0.5528 GB, free: 3.387 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.317e-05/0.4761, allocations: 4 kB / 0.5528 GB, free: 3.383 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.4761, allocations: 4.078 kB / 0.5528 GB, free: 3.379 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004389/0.4805, allocations: 2.254 MB / 0.555 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/0.4805, allocations: 4 kB / 0.555 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003954/0.4809, allocations: 97.7 kB / 0.5551 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002021/0.4812, allocations: 69.83 kB / 0.5552 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.821e-05/0.4812, allocations: 16 kB / 0.5552 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001646/0.4829, allocations: 1.752 MB / 0.5569 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.271e-06/0.4829, allocations: 7 kB / 0.5569 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001642/0.4845, allocations: 1.113 MB / 0.558 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003737/0.4849, allocations: 183.6 kB / 0.5582 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001971/0.4851, allocations: 22.52 kB / 0.5582 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004769/0.4856, allocations: 27.98 kB / 0.5582 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.924e-05/0.4857, allocations: 54.14 kB / 0.5583 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.945e-05/0.4857, allocations: 23.98 kB / 0.5583 GB, free: 13.51 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001258/0.487, allocations: 0.7515 MB / 0.559 GB, free: 12.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.487, allocations: 0 / 0.559 GB, free: 12.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001596/0.4886, allocations: 296 kB / 0.5593 GB, free: 12.46 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.0002616/0.4889, allocations: 125.2 kB / 0.5594 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001987/0.4909, allocations: 1.113 MB / 0.5605 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/0.4909, allocations: 4 kB / 0.5605 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005991/0.4915, allocations: 415 kB / 0.5609 GB, free: 10.9 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001656/0.4932, allocations: 181.1 kB / 0.5611 GB, free: 10.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0059/0.4991, allocations: 3.689 MB / 0.5647 GB, free: 6.973 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001502/0.5006, allocations: 1.451 MB / 0.5661 GB, free: 5.492 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002334/0.5009, allocations: 87.38 kB / 0.5662 GB, free: 5.406 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.5009, allocations: 0 / 0.5662 GB, free: 5.406 MB / 414.1 MB Notification: Performance of Templates: time 0.03317/0.534, allocations: 21.95 MB / 0.5876 GB, free: 15.52 MB / 446.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/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_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches