Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_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.001519/0.001518, allocations: 115.2 kB / 17.04 MB, free: 5.801 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.00181/0.00181, allocations: 195 kB / 17.97 MB, free: 5.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.462/1.462, allocations: 205.1 MB / 223.8 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2034/0.2034, allocations: 43.51 MB / 314.7 MB, free: 488 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 73.75 kB / 384.2 MB, free: 56.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1042, allocations: 57.79 MB / 442 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01095/0.1152, allocations: 12.66 MB / 454.6 MB, free: 9.441 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007458/0.1227, allocations: 3.891 MB / 458.5 MB, free: 5.539 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001513/0.1243, allocations: 63.88 kB / 458.6 MB, free: 5.477 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002398/0.1267, allocations: 1.323 MB / 459.9 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003473/0.1302, allocations: 1.778 MB / 461.7 MB, free: 2.363 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009266/0.1311, allocations: 427.2 kB / 462.1 MB, free: 1.945 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004194/0.1353, allocations: 3.66 MB / 465.8 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002298/0.1377, allocations: 2.052 MB / 467.8 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001587/0.1393, allocations: 1.234 MB / 469 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002239/0.1415, allocations: 1.771 MB / 470.8 MB, free: 9.176 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004547/0.142, allocations: 240 kB / 471.1 MB, free: 8.941 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001615/0.1436, allocations: 0.8308 MB / 471.9 MB, free: 8.109 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001432/0.145, allocations: 1.628 MB / 473.5 MB, free: 6.477 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001911/0.147, allocations: 1.933 MB / 475.4 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006808/0.1538, allocations: 6.258 MB / 481.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.1538, allocations: 0 / 481.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.1538, allocations: 0 / 481.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001654/0.154, allocations: 3.938 kB / 481.7 MB, free: 14.24 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1557 * Number of variables: 1557 Notification: Performance of Generate backend data structure: time 0.007096/0.1611, allocations: 4.148 MB / 485.9 MB, free: 10.02 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.1612, allocations: 15.89 kB / 485.9 MB, free: 10.01 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009829/0.171, allocations: 3.072 MB / 488.9 MB, free: 6.926 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004693/0.1757, allocations: 1.991 MB / 490.9 MB, free: 4.887 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001502/0.1759, allocations: 193.2 kB / 491.1 MB, free: 4.695 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005138/0.1764, allocations: 255.8 kB / 491.4 MB, free: 4.445 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01379/0.1902, allocations: 10.4 MB / 0.49 GB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.771e-05/0.1903, allocations: 23.81 kB / 0.49 GB, free: 9.562 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003281/0.1906, allocations: 123.8 kB / 0.4901 GB, free: 9.441 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003998/0.1946, allocations: 2.557 MB / 0.4926 GB, free: 6.883 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01583/0.2105, allocations: 9.455 MB / 0.5019 GB, free: 13.42 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2741/0.4846, allocations: 32.23 MB / 0.5334 GB, free: 67.37 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005724/0.4904, allocations: 3.366 MB / 0.5366 GB, free: 66.19 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001579/0.492, allocations: 1.082 MB / 0.5377 GB, free: 66.17 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001031/0.493, allocations: 1.304 MB / 0.539 GB, free: 65.04 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/0.4931, allocations: 48.7 kB / 0.539 GB, free: 65 MB / 414.1 MB Notification: Performance of pre-optimization done (n=187): time 4.458e-06/0.4931, allocations: 0 / 0.539 GB, free: 65 MB / 414.1 MB Notification: Performance of matching and sorting (n=193): time 0.01943/0.5125, allocations: 9.782 MB / 0.5486 GB, free: 63.09 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.215e-05/0.5126, allocations: 90.33 kB / 0.5487 GB, free: 63 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002814/0.5155, allocations: 2.663 MB / 0.5513 GB, free: 62.19 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.712e-05/0.5156, allocations: 50.58 kB / 0.5513 GB, free: 62.14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001283/0.5169, allocations: 2.742 MB / 0.554 GB, free: 60.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004858/0.5174, allocations: 0.7171 MB / 0.5547 GB, free: 59.53 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009378/0.5183, allocations: 0.9828 MB / 0.5556 GB, free: 59.06 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.964e-05/0.5184, allocations: 301.1 kB / 0.5559 GB, free: 58.76 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001794/0.5202, allocations: 1.567 MB / 0.5575 GB, free: 58.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00313/0.5233, allocations: 4.478 MB / 0.5618 GB, free: 53.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005322/0.5286, allocations: 6.702 MB / 0.5684 GB, free: 48.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.273e-05/0.5287, allocations: 28.38 kB / 0.5684 GB, free: 48.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=661) (initialization): time 0.007025/0.5357, allocations: 5.955 MB / 0.5742 GB, free: 44.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.187e-05/0.5358, allocations: 48 kB / 0.5743 GB, free: 44.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.36e-05/0.5359, allocations: 104 kB / 0.5744 GB, free: 44.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000281/0.5361, allocations: 176.8 kB / 0.5745 GB, free: 43.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002604/0.5388, allocations: 1.099 MB / 0.5756 GB, free: 42.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001196/0.54, allocations: 1.802 MB / 0.5774 GB, free: 40.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002375/0.5424, allocations: 208 kB / 0.5776 GB, free: 40.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002868/0.5427, allocations: 302.6 kB / 0.5779 GB, free: 40.34 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * Number of states: 0 () * Number of discrete variables: 27 (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 (609): * Single equations (assignments): 602 * 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.002564/0.5452, allocations: 2.035 MB / 0.5798 GB, free: 38.29 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000331/0.5456, allocations: 254.8 kB / 0.5801 GB, free: 38.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002805/0.5484, allocations: 2.535 MB / 0.5826 GB, free: 35.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.34e-05/0.5484, allocations: 27.06 kB / 0.5826 GB, free: 35.46 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.5484, allocations: 4 kB / 0.5826 GB, free: 35.46 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.341e-05/0.5484, allocations: 12.8 kB / 0.5826 GB, free: 35.45 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009836/0.5583, allocations: 8.135 MB / 0.5905 GB, free: 27.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.157e-05/0.5583, allocations: 12 kB / 0.5906 GB, free: 27.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008677/0.5592, allocations: 247.6 kB / 0.5908 GB, free: 26.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001356/0.5593, allocations: 60.86 kB / 0.5909 GB, free: 26.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.902e-05/0.5594, allocations: 50.64 kB / 0.5909 GB, free: 26.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009395/0.5604, allocations: 1.629 MB / 0.5925 GB, free: 25.01 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.716e-06/0.5604, allocations: 20.8 kB / 0.5925 GB, free: 24.99 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003766/0.5642, allocations: 4.047 MB / 0.5965 GB, free: 20.79 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001057/0.5653, allocations: 0.4978 MB / 0.597 GB, free: 20.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002536/0.5655, allocations: 36 kB / 0.597 GB, free: 20.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007242/0.5662, allocations: 59.77 kB / 0.597 GB, free: 20.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001639/0.5664, allocations: 132.5 kB / 0.5972 GB, free: 20.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.361e-05/0.5665, allocations: 60 kB / 0.5972 GB, free: 19.99 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001777/0.5683, allocations: 1.644 MB / 0.5988 GB, free: 18.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.5683, allocations: 0 / 0.5988 GB, free: 18.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003144/0.5715, allocations: 0.8154 MB / 0.5996 GB, free: 17.53 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * 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 (141): * Single equations (assignments): 134 * 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.0002906/0.5718, allocations: 174.9 kB / 0.5998 GB, free: 17.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004252/0.576, allocations: 3.928 MB / 0.6036 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.77e-06/0.576, allocations: 4 kB / 0.6036 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00119/0.5772, allocations: 1.249 MB / 0.6049 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001317/0.5786, allocations: 343 kB / 0.6052 GB, free: 11.87 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009907/0.5885, allocations: 8.619 MB / 0.6136 GB, free: 3.113 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002541/0.591, allocations: 3.199 MB / 0.6167 GB, free: 15.89 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003486/0.5945, allocations: 1.726 MB / 0.6184 GB, free: 14.17 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004353/0.595, allocations: 191.4 kB / 0.6186 GB, free: 13.98 MB / 430.1 MB Notification: Performance of SimCode: time 9.81e-07/0.595, allocations: 0 / 0.6186 GB, free: 13.98 MB / 430.1 MB Notification: Performance of Templates: time 0.04137/0.6364, allocations: 19.47 MB / 0.6376 GB, free: 10.7 MB / 446.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches