Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001033, allocations: 97.47 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 187.9 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 223.3 MB / 241.9 MB, free: 324 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2258/0.2258, allocations: 44.26 MB / 337.3 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003646/0.0003647, allocations: 8 kB / 409.7 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1269, allocations: 61.93 MB / 471.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.02711/0.154, allocations: 26.79 MB / 498.4 MB, free: 2.82 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01725/0.1713, allocations: 6.33 MB / 0.4929 GB, free: 12.47 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007185/0.1786, allocations: 123.7 kB / 0.493 GB, free: 12.35 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005093/0.1837, allocations: 1.275 MB / 0.4943 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01048/0.1942, allocations: 3.993 MB / 0.4982 GB, free: 7.059 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001436/0.1957, allocations: 367.4 kB / 0.4985 GB, free: 6.699 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004992/0.2007, allocations: 3.834 MB / 0.5022 GB, free: 2.859 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003995/0.2047, allocations: 2.241 MB / 0.5044 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2734/0.4781, allocations: 1.02 MB / 0.5054 GB, free: 12.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003706/0.4818, allocations: 1.695 MB / 0.5071 GB, free: 12.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009834/0.4828, allocations: 133.7 kB / 0.5072 GB, free: 12.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002277/0.4851, allocations: 0.6629 MB / 0.5079 GB, free: 12.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00227/0.4874, allocations: 1.462 MB / 0.5093 GB, free: 12.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001595/0.489, allocations: 0.741 MB / 0.51 GB, free: 12.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007485/0.4965, allocations: 4.634 MB / 0.5145 GB, free: 12.56 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.4966, allocations: 0 / 0.5145 GB, free: 12.56 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.717e-06/0.4966, allocations: 1.25 kB / 0.5145 GB, free: 12.56 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002488/0.4968, allocations: 0 / 0.5145 GB, free: 12.56 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.008416/0.5053, allocations: 3.378 MB / 0.5178 GB, free: 10.86 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.5053, allocations: 9.312 kB / 0.5178 GB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01048/0.5158, allocations: 3.162 MB / 0.5209 GB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004957/0.5208, allocations: 1.882 MB / 0.5228 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002209/0.5211, allocations: 193.5 kB / 0.523 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001254/0.5223, allocations: 249 kB / 0.5232 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01619/0.5385, allocations: 10.16 MB / 0.5331 GB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.583e-05/0.5386, allocations: 27.98 kB / 0.5331 GB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003944/0.539, allocations: 121.5 kB / 0.5333 GB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003114/0.5422, allocations: 2.464 MB / 0.5357 GB, free: 7.074 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01606/0.5582, allocations: 9.323 MB / 0.5448 GB, free: 2.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04706/0.6053, allocations: 31.68 MB / 0.5757 GB, free: 5.117 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005633/0.611, allocations: 3.331 MB / 0.579 GB, free: 1.562 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001495/0.6125, allocations: 1.072 MB / 0.58 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001063/0.6136, allocations: 1.313 MB / 0.5813 GB, free: 14.97 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.6137, allocations: 45.61 kB / 0.5813 GB, free: 14.92 MB / 430.1 MB Notification: Performance of pre-optimization done (n=185): time 3.667e-06/0.6137, allocations: 0 / 0.5813 GB, free: 14.92 MB / 430.1 MB Notification: Performance of matching and sorting (n=191): time 0.01895/0.6326, allocations: 9.081 MB / 0.5902 GB, free: 5.77 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.485e-05/0.6327, allocations: 68.72 kB / 0.5903 GB, free: 5.691 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003557/0.6363, allocations: 2.587 MB / 0.5928 GB, free: 3.086 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.649e-05/0.6364, allocations: 47.67 kB / 0.5928 GB, free: 3.035 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001813/0.6382, allocations: 2.671 MB / 0.5955 GB, free: 384 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006378/0.6389, allocations: 0.7039 MB / 0.5961 GB, free: 15.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002034/0.6391, allocations: 99.75 kB / 0.5962 GB, free: 15.58 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003242/0.6394, allocations: 0.5128 MB / 0.5967 GB, free: 15.06 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00229/0.6417, allocations: 1.536 MB / 0.5982 GB, free: 13.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004263/0.646, allocations: 4.359 MB / 0.6025 GB, free: 7.805 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003552/0.6495, allocations: 2.618 MB / 0.6051 GB, free: 5.277 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.902e-05/0.6496, allocations: 28 kB / 0.6051 GB, free: 5.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.008619/0.6582, allocations: 5.809 MB / 0.6108 GB, free: 24 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.681e-05/0.6583, allocations: 48.05 kB / 0.6108 GB, free: 15.97 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001029/0.6584, allocations: 100 kB / 0.6109 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002953/0.6587, allocations: 188.8 kB / 0.6111 GB, free: 15.69 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003034/0.6618, allocations: 1.067 MB / 0.6121 GB, free: 14.72 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001448/0.6632, allocations: 1.674 MB / 0.6138 GB, free: 12.96 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002412/0.6656, allocations: 219.6 kB / 0.614 GB, free: 12.75 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003509/0.666, allocations: 290 kB / 0.6142 GB, free: 12.47 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003205/0.6692, allocations: 1.993 MB / 0.6162 GB, free: 10.47 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003269/0.6696, allocations: 249 kB / 0.6164 GB, free: 10.23 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003681/0.6732, allocations: 2.525 MB / 0.6189 GB, free: 7.68 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.029e-05/0.6733, allocations: 23.95 kB / 0.6189 GB, free: 7.656 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.6733, allocations: 4 kB / 0.6189 GB, free: 7.652 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-05/0.6733, allocations: 7.969 kB / 0.6189 GB, free: 7.645 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01174/0.6851, allocations: 7.939 MB / 0.6267 GB, free: 15.55 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.45e-05/0.6851, allocations: 8 kB / 0.6267 GB, free: 15.54 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009782/0.6861, allocations: 251.6 kB / 0.6269 GB, free: 15.29 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000159/0.6863, allocations: 56.83 kB / 0.627 GB, free: 15.23 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001027/0.6864, allocations: 39.98 kB / 0.627 GB, free: 15.2 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001277/0.6877, allocations: 1.51 MB / 0.6285 GB, free: 13.55 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.146e-05/0.6877, allocations: 15.94 kB / 0.6285 GB, free: 13.54 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005041/0.6927, allocations: 3.997 MB / 0.6324 GB, free: 9.395 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006076/0.6934, allocations: 298 kB / 0.6327 GB, free: 9.082 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002714/0.6936, allocations: 52.28 kB / 0.6327 GB, free: 9.035 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007289/0.6944, allocations: 51.95 kB / 0.6328 GB, free: 8.984 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001786/0.6946, allocations: 120.7 kB / 0.6329 GB, free: 8.863 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001182/0.6947, allocations: 62.97 kB / 0.633 GB, free: 8.805 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002404/0.6971, allocations: 1.572 MB / 0.6345 GB, free: 7.223 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6971, allocations: 0 / 0.6345 GB, free: 7.223 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00342/0.7005, allocations: 0.8007 MB / 0.6353 GB, free: 6.422 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004531/0.701, allocations: 184.6 kB / 0.6355 GB, free: 6.234 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005875/0.7069, allocations: 3.824 MB / 0.6392 GB, free: 2.43 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.7069, allocations: 0 / 0.6392 GB, free: 2.43 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001677/0.7086, allocations: 1.229 MB / 0.6404 GB, free: 1.191 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001808/0.7104, allocations: 344.7 kB / 0.6407 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01517/0.7256, allocations: 10.19 MB / 0.6507 GB, free: 6.52 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003359/0.729, allocations: 3.136 MB / 0.6537 GB, free: 3.355 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003907/0.7329, allocations: 1.706 MB / 0.6554 GB, free: 1.645 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004825/0.7334, allocations: 191.4 kB / 0.6556 GB, free: 1.457 MB / 494.1 MB Notification: Performance of SimCode: time 9.52e-07/0.7334, allocations: 0 / 0.6556 GB, free: 1.457 MB / 494.1 MB Notification: Performance of Templates: time 0.04388/0.7773, allocations: 21.66 MB / 0.6767 GB, free: 11.96 MB / 0.5137 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches