Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.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.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009131/0.0009132, allocations: 97.91 kB / 18.01 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00107/0.00107, allocations: 201.5 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, allocations: 227.7 MB / 247.5 MB, free: 11.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2066/0.2066, allocations: 46.19 MB / 345.9 MB, free: 11.36 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004416/0.0004415, allocations: 8 kB / 420.2 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1408, allocations: 63.57 MB / 483.7 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.02723/0.1681, allocations: 28.59 MB / 0.5003 GB, free: 7.422 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01638/0.1845, allocations: 6.633 MB / 0.5068 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005418/0.1899, allocations: 119.7 kB / 0.5069 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001461/0.1914, allocations: 442.1 kB / 0.5073 GB, free: 224 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2506/0.442, allocations: 1.615 MB / 0.5089 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001155/0.4432, allocations: 389 kB / 0.5093 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007679/0.4509, allocations: 5.004 MB / 0.5142 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005165/0.4561, allocations: 2.423 MB / 0.5165 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00253/0.4587, allocations: 0.9482 MB / 0.5175 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003528/0.4622, allocations: 1.729 MB / 0.5191 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00106/0.4633, allocations: 133.2 kB / 0.5193 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002438/0.4658, allocations: 0.749 MB / 0.52 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003124/0.4689, allocations: 1.48 MB / 0.5214 GB, free: 9.875 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004298/0.4732, allocations: 1.78 MB / 0.5232 GB, free: 9.113 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00598/0.4792, allocations: 4.581 MB / 0.5277 GB, free: 7.156 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.4793, allocations: 0 / 0.5277 GB, free: 7.156 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.626e-06/0.4793, allocations: 1.594 kB / 0.5277 GB, free: 7.156 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002855/0.4796, allocations: 0 / 0.5277 GB, free: 7.156 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: 1514 * Number of variables: 1514 Notification: Performance of Generate backend data structure: time 0.009568/0.4891, allocations: 3.286 MB / 0.5309 GB, free: 5.027 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.4892, allocations: 10.47 kB / 0.5309 GB, free: 5.027 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01145/0.5007, allocations: 3.169 MB / 0.534 GB, free: 3.531 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005236/0.5059, allocations: 1.886 MB / 0.5358 GB, free: 2.789 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003961/0.5064, allocations: 191 kB / 0.536 GB, free: 2.738 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001791/0.5082, allocations: 242.4 kB / 0.5362 GB, free: 2.699 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01997/0.5282, allocations: 10.19 MB / 0.5462 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001443/0.5284, allocations: 30.72 kB / 0.5462 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001112/0.5295, allocations: 116.2 kB / 0.5463 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004414/0.534, allocations: 2.462 MB / 0.5487 GB, free: 8.367 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02013/0.5541, allocations: 9.37 MB / 0.5579 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05269/0.6068, allocations: 31.69 MB / 0.5888 GB, free: 15.09 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006288/0.6132, allocations: 3.357 MB / 0.5921 GB, free: 11.51 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001751/0.615, allocations: 1.072 MB / 0.5932 GB, free: 10.43 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001168/0.6162, allocations: 1.304 MB / 0.5944 GB, free: 8.918 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.09e-05/0.6162, allocations: 47.88 kB / 0.5945 GB, free: 8.859 MB / 446.1 MB Notification: Performance of pre-optimization done (n=185): time 4.708e-06/0.6162, allocations: 0 / 0.5945 GB, free: 8.859 MB / 446.1 MB Notification: Performance of matching and sorting (n=191): time 0.02166/0.6379, allocations: 9.107 MB / 0.6034 GB, free: 15.68 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.573e-05/0.638, allocations: 64.72 kB / 0.6034 GB, free: 15.61 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004294/0.6423, allocations: 2.603 MB / 0.606 GB, free: 12.98 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002362/0.6426, allocations: 49.7 kB / 0.606 GB, free: 12.93 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001833/0.6444, allocations: 2.667 MB / 0.6086 GB, free: 10.25 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009137/0.6453, allocations: 0.7057 MB / 0.6093 GB, free: 9.555 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008252/0.6462, allocations: 435 kB / 0.6097 GB, free: 9.125 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.6463, allocations: 305.1 kB / 0.61 GB, free: 8.824 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002657/0.649, allocations: 1.548 MB / 0.6115 GB, free: 7.27 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005367/0.6544, allocations: 4.394 MB / 0.6158 GB, free: 1.52 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007882/0.6623, allocations: 6.563 MB / 0.6222 GB, free: 9.777 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001332/0.6625, allocations: 32 kB / 0.6223 GB, free: 9.746 MB / 478.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01135/0.6738, allocations: 5.849 MB / 0.628 GB, free: 3.887 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001181/0.674, allocations: 53.97 kB / 0.628 GB, free: 3.836 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001804/0.6742, allocations: 100.8 kB / 0.6281 GB, free: 3.738 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000554/0.6747, allocations: 180.8 kB / 0.6283 GB, free: 3.559 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003702/0.6785, allocations: 1.072 MB / 0.6293 GB, free: 2.484 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00156/0.68, allocations: 1.675 MB / 0.631 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003115/0.6832, allocations: 207.9 kB / 0.6312 GB, free: 488 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007312/0.6839, allocations: 294.3 kB / 0.6314 GB, free: 196 kB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 453 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[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 (596): * Single equations (assignments): 589 * Array equations: 6 * 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.0043/0.6882, allocations: 1.999 MB / 0.6334 GB, free: 14.18 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005016/0.6887, allocations: 240.9 kB / 0.6336 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004369/0.6931, allocations: 2.53 MB / 0.6361 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.524e-05/0.6932, allocations: 22.03 kB / 0.6361 GB, free: 11.37 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.467e-05/0.6932, allocations: 7.938 kB / 0.6361 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.57e-05/0.6932, allocations: 7.969 kB / 0.6361 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01453/0.7078, allocations: 7.963 MB / 0.6439 GB, free: 3.223 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.488e-05/0.7078, allocations: 8 kB / 0.6439 GB, free: 3.215 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/0.7089, allocations: 247.7 kB / 0.6442 GB, free: 2.973 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001725/0.7091, allocations: 64.83 kB / 0.6442 GB, free: 2.906 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001283/0.7092, allocations: 39.12 kB / 0.6443 GB, free: 2.871 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001286/0.7105, allocations: 1.511 MB / 0.6457 GB, free: 1.23 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.004e-05/0.7105, allocations: 15.94 kB / 0.6457 GB, free: 1.215 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005144/0.7157, allocations: 4.019 MB / 0.6497 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006145/0.7163, allocations: 309.7 kB / 0.65 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003978/0.7167, allocations: 32 kB / 0.65 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009282/0.7177, allocations: 55.95 kB / 0.6501 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002254/0.7179, allocations: 123.3 kB / 0.6502 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001211/0.718, allocations: 60 kB / 0.6502 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002781/0.7208, allocations: 1.607 MB / 0.6518 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7208, allocations: 0 / 0.6518 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004114/0.725, allocations: 0.7756 MB / 0.6526 GB, free: 10.08 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * 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 (139): * Single equations (assignments): 132 * Array equations: 6 * 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 Backend phase and start with SimCode phase: time 0.0005435/0.7255, allocations: 178.2 kB / 0.6527 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006058/0.7316, allocations: 3.838 MB / 0.6565 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.887e-06/0.7316, allocations: 7.938 kB / 0.6565 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001652/0.7333, allocations: 1.232 MB / 0.6577 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004752/0.738, allocations: 341.5 kB / 0.658 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01724/0.7553, allocations: 11.01 MB / 0.6688 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004455/0.7598, allocations: 3.136 MB / 0.6718 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007957/0.7606, allocations: 227.4 kB / 0.672 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of SimCode: time 9.72e-07/0.7606, allocations: 0 / 0.672 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of Templates: time 0.298/1.059, allocations: 64.02 MB / 0.7346 GB, free: 185.9 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches