Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Prismatic.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_cpp_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_cpp_ModelicaTest.MultiBody.Joints.Prismatic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00156/0.00156, allocations: 194.5 kB / 16.78 MB, free: 5.012 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.262/1.262, allocations: 226.5 MB / 244.1 MB, free: 8.109 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007929/0.0007929, allocations: 98.55 kB / 296.1 MB, free: 6.914 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3003/0.3003, allocations: 44.82 MB / 393 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002781/0.0002782, allocations: 12 kB / 465.9 MB, free: 12.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2857, allocations: 62.95 MB / 0.5165 GB, free: 37.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1246/0.4103, allocations: 104.2 MB / 0.6183 GB, free: 1.172 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000201/0.4106, allocations: 79.95 kB / 0.6183 GB, free: 1.094 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4492/0.8598, allocations: 84.15 MB / 0.7005 GB, free: 100.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.779e-06/0.8599, allocations: 0.75 kB / 0.7005 GB, free: 100.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001332/0.86, allocations: 69.56 kB / 0.7006 GB, free: 100.5 MB / 490.7 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.01126/0.8713, allocations: 3.537 MB / 0.704 GB, free: 98.78 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.8714, allocations: 10.03 kB / 0.704 GB, free: 98.78 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01537/0.8867, allocations: 3.458 MB / 0.7074 GB, free: 98.52 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007596/0.8944, allocations: 2.855 MB / 0.7102 GB, free: 98 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003944/0.8948, allocations: 293.8 kB / 0.7105 GB, free: 97.99 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002315/0.8972, allocations: 371.3 kB / 0.7108 GB, free: 97.99 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02488/0.9221, allocations: 9.734 MB / 0.7203 GB, free: 95.79 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002483/0.9224, allocations: 27.34 kB / 0.7204 GB, free: 95.77 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002162/0.9246, allocations: 176.5 kB / 0.7205 GB, free: 95.67 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001666/0.9263, allocations: 1.128 MB / 0.7216 GB, free: 95.48 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01893/0.9452, allocations: 9.277 MB / 0.7307 GB, free: 92.62 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04546/0.9907, allocations: 31.67 MB / 0.7616 GB, free: 72.89 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005582/0.9964, allocations: 3.34 MB / 0.7649 GB, free: 71.09 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001716/0.9981, allocations: 1.066 MB / 0.7659 GB, free: 70.75 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001017/0.9992, allocations: 1.308 MB / 0.7672 GB, free: 69.56 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.182e-05/0.9992, allocations: 47.44 kB / 0.7673 GB, free: 69.51 MB / 490.7 MB Notification: Performance of pre-optimization done (n=185): time 5.64e-06/0.9993, allocations: 0 / 0.7673 GB, free: 69.51 MB / 490.7 MB Notification: Performance of matching and sorting (n=191): time 0.02014/1.019, allocations: 9.057 MB / 0.7761 GB, free: 62 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/1.019, allocations: 68.72 kB / 0.7762 GB, free: 61.93 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004153/1.024, allocations: 2.615 MB / 0.7787 GB, free: 59.72 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001831/1.024, allocations: 45.7 kB / 0.7788 GB, free: 59.67 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001233/1.025, allocations: 2.664 MB / 0.7814 GB, free: 57.29 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006007/1.026, allocations: 0.7014 MB / 0.782 GB, free: 56.67 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003534/1.026, allocations: 95.44 kB / 0.7821 GB, free: 56.58 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003286/1.026, allocations: 0.5086 MB / 0.7826 GB, free: 56.12 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00235/1.029, allocations: 1.523 MB / 0.7841 GB, free: 54.84 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00326/1.032, allocations: 4.358 MB / 0.7884 GB, free: 49.41 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005724/1.038, allocations: 6.535 MB / 0.7948 GB, free: 41.73 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.286e-05/1.038, allocations: 28 kB / 0.7948 GB, free: 41.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=643) (initialization): time 0.00861/1.047, allocations: 5.796 MB / 0.8004 GB, free: 35.89 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.459e-05/1.047, allocations: 48.22 kB / 0.8005 GB, free: 35.85 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.657e-05/1.047, allocations: 104 kB / 0.8006 GB, free: 35.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003189/1.047, allocations: 172.8 kB / 0.8008 GB, free: 35.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003059/1.05, allocations: 1.072 MB / 0.8018 GB, free: 34.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00121/1.051, allocations: 1.667 MB / 0.8034 GB, free: 32.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002826/1.054, allocations: 207.3 kB / 0.8036 GB, free: 32.51 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005746/1.055, allocations: 296 kB / 0.8039 GB, free: 32.22 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 454 * Number of states: 0 () * Number of discrete variables: 29 (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.arrowLine.twoHeadedArrow,axis.headAtOrigin,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 (591): * Single equations (assignments): 584 * 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.003274/1.058, allocations: 1.996 MB / 0.8059 GB, free: 30.21 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003846/1.059, allocations: 248.7 kB / 0.8061 GB, free: 29.97 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003371/1.062, allocations: 2.518 MB / 0.8086 GB, free: 27.42 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.909e-05/1.062, allocations: 31.92 kB / 0.8086 GB, free: 27.39 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/1.062, allocations: 0 / 0.8086 GB, free: 27.39 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/1.062, allocations: 3.984 kB / 0.8086 GB, free: 27.39 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01142/1.073, allocations: 7.988 MB / 0.8164 GB, free: 19.24 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-05/1.073, allocations: 12 kB / 0.8164 GB, free: 19.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000871/1.074, allocations: 247.6 kB / 0.8166 GB, free: 18.99 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001506/1.074, allocations: 56.83 kB / 0.8167 GB, free: 18.93 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001008/1.075, allocations: 43.03 kB / 0.8167 GB, free: 18.89 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009495/1.076, allocations: 1.503 MB / 0.8182 GB, free: 17.26 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.436e-06/1.076, allocations: 11.94 kB / 0.8182 GB, free: 17.25 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004231/1.08, allocations: 4.015 MB / 0.8221 GB, free: 13.08 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008339/1.081, allocations: 301.9 kB / 0.8224 GB, free: 12.77 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003684/1.081, allocations: 42.73 kB / 0.8225 GB, free: 12.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007951/1.082, allocations: 55.95 kB / 0.8225 GB, free: 12.67 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001911/1.082, allocations: 120.7 kB / 0.8226 GB, free: 12.55 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001097/1.082, allocations: 70.8 kB / 0.8227 GB, free: 12.49 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002331/1.085, allocations: 1.58 MB / 0.8242 GB, free: 10.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.085, allocations: 3.938 kB / 0.8242 GB, free: 10.89 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004001/1.089, allocations: 0.8047 MB / 0.825 GB, free: 10.09 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * 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 (140): * Single equations (assignments): 133 * 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.0005179/1.089, allocations: 186.2 kB / 0.8252 GB, free: 9.902 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005335/1.094, allocations: 3.816 MB / 0.8289 GB, free: 6.098 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.858e-06/1.094, allocations: 4 kB / 0.8289 GB, free: 6.094 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00159/1.096, allocations: 1.229 MB / 0.8301 GB, free: 4.855 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004732/1.101, allocations: 332.3 kB / 0.8305 GB, free: 4.543 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01812/1.119, allocations: 10.67 MB / 0.8409 GB, free: 9.719 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005047/1.124, allocations: 3.153 MB / 0.844 GB, free: 6.555 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008078/1.125, allocations: 223.4 kB / 0.8442 GB, free: 6.336 MB / 0.4949 GB Notification: Performance of SimCode: time 8.61e-07/1.125, allocations: 3.938 kB / 0.8442 GB, free: 6.332 MB / 0.4949 GB Notification: Performance of Templates: time 0.2999/1.425, allocations: 64.24 MB / 0.9069 GB, free: 129.8 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Prismatic.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Prismatic --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches