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.001114/0.001114, allocations: 114.9 kB / 18.41 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001269/0.001269, allocations: 204.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2061/0.2061, allocations: 46.1 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 75.67 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1046, allocations: 62.45 MB / 481.5 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01288/0.1175, allocations: 12.25 MB / 493.7 MB, free: 8.219 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008219/0.1258, allocations: 3.866 MB / 497.6 MB, free: 4.34 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002339/0.1282, allocations: 59.88 kB / 497.6 MB, free: 4.281 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002992/0.1312, allocations: 1.312 MB / 499 MB, free: 2.965 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004568/0.1359, allocations: 1.72 MB / 0.4889 GB, free: 1.238 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.137, allocations: 419.2 kB / 0.4893 GB, free: 0.8281 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0051/0.1421, allocations: 3.602 MB / 0.4929 GB, free: 13.22 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002825/0.145, allocations: 2.009 MB / 0.4948 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002042/0.147, allocations: 1.187 MB / 0.496 GB, free: 9.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002646/0.1497, allocations: 1.74 MB / 0.4977 GB, free: 8.234 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007085/0.1504, allocations: 236 kB / 0.4979 GB, free: 8.004 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001851/0.1523, allocations: 0.8113 MB / 0.4987 GB, free: 7.191 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001944/0.1542, allocations: 1.57 MB / 0.5002 GB, free: 5.617 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003086/0.1573, allocations: 1.871 MB / 0.5021 GB, free: 3.734 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2151/0.3724, allocations: 6.054 MB / 0.508 GB, free: 19.19 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.3725, allocations: 1.406 kB / 0.508 GB, free: 19.19 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3725, allocations: 0 / 0.508 GB, free: 19.19 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002471/0.3727, allocations: 0 / 0.508 GB, free: 19.19 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.00829/0.381, allocations: 4.018 MB / 0.5119 GB, free: 17.49 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.3811, allocations: 10.42 kB / 0.5119 GB, free: 17.49 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01018/0.3913, allocations: 3.081 MB / 0.5149 GB, free: 17.22 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005416/0.3967, allocations: 1.901 MB / 0.5168 GB, free: 16.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001654/0.3969, allocations: 186.1 kB / 0.5169 GB, free: 16.72 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008191/0.3977, allocations: 247.9 kB / 0.5172 GB, free: 16.72 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01676/0.4145, allocations: 10.18 MB / 0.5271 GB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.985e-05/0.4147, allocations: 23.31 kB / 0.5271 GB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004158/0.4151, allocations: 121.6 kB / 0.5273 GB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00338/0.4185, allocations: 2.465 MB / 0.5297 GB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01654/0.435, allocations: 9.352 MB / 0.5388 GB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04654/0.4816, allocations: 31.44 MB / 0.5695 GB, free: 9.145 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00593/0.4876, allocations: 3.351 MB / 0.5728 GB, free: 5.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001583/0.4892, allocations: 1.075 MB / 0.5738 GB, free: 4.496 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00121/0.4904, allocations: 1.307 MB / 0.5751 GB, free: 2.977 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.111e-05/0.4905, allocations: 47.88 kB / 0.5752 GB, free: 2.922 MB / 414.1 MB Notification: Performance of pre-optimization done (n=185): time 5.29e-06/0.4905, allocations: 0 / 0.5752 GB, free: 2.922 MB / 414.1 MB Notification: Performance of matching and sorting (n=191): time 0.02007/0.5106, allocations: 9.097 MB / 0.584 GB, free: 9.758 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/0.5107, allocations: 68.72 kB / 0.5841 GB, free: 9.676 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004007/0.5147, allocations: 2.599 MB / 0.5866 GB, free: 7.059 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001684/0.5149, allocations: 52.91 kB / 0.5867 GB, free: 7.004 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001825/0.5167, allocations: 2.662 MB / 0.5893 GB, free: 4.348 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000807/0.5176, allocations: 0.7012 MB / 0.59 GB, free: 3.652 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001671/0.5192, allocations: 0.9697 MB / 0.5909 GB, free: 2.676 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.5194, allocations: 305.1 kB / 0.5912 GB, free: 2.375 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002505/0.5219, allocations: 1.553 MB / 0.5927 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004674/0.5266, allocations: 4.389 MB / 0.597 GB, free: 11.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007893/0.5345, allocations: 6.56 MB / 0.6034 GB, free: 3.531 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.703e-05/0.5346, allocations: 32 kB / 0.6035 GB, free: 3.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.009784/0.5444, allocations: 5.851 MB / 0.6092 GB, free: 14.04 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.904e-05/0.5445, allocations: 55.92 kB / 0.6092 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001289/0.5447, allocations: 100 kB / 0.6093 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000342/0.545, allocations: 169.6 kB / 0.6095 GB, free: 13.72 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003157/0.5482, allocations: 1.076 MB / 0.6105 GB, free: 12.64 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00158/0.5498, allocations: 1.795 MB / 0.6123 GB, free: 10.71 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002683/0.5525, allocations: 210.5 kB / 0.6125 GB, free: 10.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005178/0.553, allocations: 292 kB / 0.6128 GB, free: 10.22 MB / 462.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.003065/0.5561, allocations: 1.992 MB / 0.6147 GB, free: 8.223 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004177/0.5565, allocations: 248.9 kB / 0.6149 GB, free: 7.977 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003832/0.5603, allocations: 2.53 MB / 0.6174 GB, free: 5.418 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.055e-05/0.5604, allocations: 28.23 kB / 0.6174 GB, free: 5.395 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.5604, allocations: 0 / 0.6174 GB, free: 5.395 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.404e-05/0.5604, allocations: 3.984 kB / 0.6174 GB, free: 5.391 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01412/0.5746, allocations: 7.931 MB / 0.6252 GB, free: 13.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.087e-05/0.5746, allocations: 16.06 kB / 0.6252 GB, free: 13.28 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001006/0.5756, allocations: 250.7 kB / 0.6254 GB, free: 13.04 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001705/0.5758, allocations: 52.83 kB / 0.6255 GB, free: 12.98 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001402/0.576, allocations: 47.11 kB / 0.6255 GB, free: 12.94 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001379/0.5773, allocations: 1.629 MB / 0.6271 GB, free: 11.17 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.049e-05/0.5774, allocations: 18.23 kB / 0.6271 GB, free: 11.16 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005106/0.5825, allocations: 4.02 MB / 0.6311 GB, free: 6.988 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007058/0.5832, allocations: 297.9 kB / 0.6314 GB, free: 6.676 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004673/0.5837, allocations: 38.81 kB / 0.6314 GB, free: 6.641 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009694/0.5847, allocations: 60.02 kB / 0.6315 GB, free: 6.582 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002151/0.5849, allocations: 120.6 kB / 0.6316 GB, free: 6.465 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001257/0.585, allocations: 63.34 kB / 0.6316 GB, free: 6.406 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002749/0.5878, allocations: 1.603 MB / 0.6332 GB, free: 4.793 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5878, allocations: 0 / 0.6332 GB, free: 4.793 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003841/0.5917, allocations: 0.7734 MB / 0.6339 GB, free: 4.02 MB / 478.1 MB 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.0005494/0.5922, allocations: 185.5 kB / 0.6341 GB, free: 3.832 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006014/0.5982, allocations: 3.877 MB / 0.6379 GB, free: 15.97 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.175e-05/0.5983, allocations: 9.812 kB / 0.6379 GB, free: 15.96 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001664/0.6, allocations: 1.225 MB / 0.6391 GB, free: 14.73 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002315/0.6023, allocations: 358.5 kB / 0.6395 GB, free: 14.39 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01657/0.6189, allocations: 8.407 MB / 0.6477 GB, free: 5.84 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00463/0.6236, allocations: 3.129 MB / 0.6507 GB, free: 2.684 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003928/0.6275, allocations: 1.706 MB / 0.6524 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006359/0.6282, allocations: 195.4 kB / 0.6526 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of SimCode: time 9.92e-07/0.6282, allocations: 0 / 0.6526 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of Templates: time 0.04292/0.6711, allocations: 19.21 MB / 0.6713 GB, free: 13.77 MB / 0.5137 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 -s gbode -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