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.001414/0.001414, allocations: 110 kB / 17.04 MB, free: 5.77 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.001372/0.001372, allocations: 196 kB / 17.98 MB, free: 5.004 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.552/1.552, allocations: 205.1 MB / 223.8 MB, free: 12.25 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.2033/0.2033, allocations: 43.52 MB / 314.7 MB, free: 484 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.001622/0.001622, allocations: 69.39 kB / 384.2 MB, free: 56.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1025, allocations: 57.79 MB / 442 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.0115/0.1141, allocations: 12.66 MB / 454.6 MB, free: 9.434 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008328/0.1224, allocations: 3.895 MB / 458.5 MB, free: 5.527 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001964/0.1245, allocations: 63.88 kB / 458.6 MB, free: 5.465 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002588/0.1271, allocations: 1.323 MB / 459.9 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00385/0.131, allocations: 1.775 MB / 461.7 MB, free: 2.355 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00089/0.1319, allocations: 435.2 kB / 462.1 MB, free: 1.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004249/0.1361, allocations: 3.661 MB / 465.8 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002287/0.1384, allocations: 2.04 MB / 467.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001513/0.14, allocations: 1.23 MB / 469 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002092/0.1421, allocations: 1.775 MB / 470.8 MB, free: 9.168 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004328/0.1425, allocations: 244 kB / 471 MB, free: 8.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001782/0.1443, allocations: 0.827 MB / 471.9 MB, free: 8.102 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001326/0.1456, allocations: 1.621 MB / 473.5 MB, free: 6.477 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001642/0.1473, allocations: 1.937 MB / 475.4 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005594/0.1529, allocations: 6.262 MB / 481.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1529, allocations: 0 / 481.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.1529, allocations: 4 kB / 481.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.793e-05/0.153, allocations: 0 / 481.7 MB, free: 14.23 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.005973/0.159, allocations: 4.144 MB / 485.8 MB, free: 10.02 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.1591, allocations: 11.89 kB / 485.9 MB, free: 10.01 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009936/0.169, allocations: 3.076 MB / 488.9 MB, free: 6.922 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004982/0.174, allocations: 1.995 MB / 490.9 MB, free: 4.879 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001626/0.1742, allocations: 189.2 kB / 491.1 MB, free: 4.691 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007814/0.175, allocations: 255.8 kB / 491.4 MB, free: 4.441 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01705/0.1921, allocations: 10.4 MB / 0.49 GB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-05/0.1922, allocations: 23.81 kB / 0.49 GB, free: 9.555 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003916/0.1926, allocations: 119.8 kB / 0.4901 GB, free: 9.438 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004269/0.1969, allocations: 2.561 MB / 0.4926 GB, free: 6.875 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01761/0.2145, allocations: 9.453 MB / 0.5019 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2306/0.4451, allocations: 32.23 MB / 0.5333 GB, free: 67.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00539/0.4506, allocations: 3.373 MB / 0.5366 GB, free: 66.78 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001435/0.452, allocations: 1.083 MB / 0.5377 GB, free: 66.76 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009532/0.453, allocations: 1.301 MB / 0.539 GB, free: 65.63 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.453, allocations: 44.47 kB / 0.539 GB, free: 65.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=187): time 3.767e-06/0.453, allocations: 1.562 kB / 0.539 GB, free: 65.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=193): time 0.01793/0.471, allocations: 9.786 MB / 0.5486 GB, free: 63.4 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.471, allocations: 94.3 kB / 0.5487 GB, free: 63.31 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003063/0.4741, allocations: 2.655 MB / 0.5513 GB, free: 62.31 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002224/0.4744, allocations: 49.05 kB / 0.5513 GB, free: 62.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001265/0.4756, allocations: 2.751 MB / 0.554 GB, free: 60.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005992/0.4762, allocations: 0.712 MB / 0.5547 GB, free: 59.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009467/0.4772, allocations: 0.9797 MB / 0.5556 GB, free: 59.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.893e-05/0.4773, allocations: 309.1 kB / 0.5559 GB, free: 58.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001911/0.4792, allocations: 1.568 MB / 0.5575 GB, free: 58.42 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002823/0.482, allocations: 4.477 MB / 0.5618 GB, free: 54.09 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005942/0.488, allocations: 6.698 MB / 0.5684 GB, free: 48.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001001/0.4881, allocations: 28.75 kB / 0.5684 GB, free: 48.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=661) (initialization): time 0.007491/0.4956, allocations: 5.956 MB / 0.5742 GB, free: 44.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.313e-05/0.4957, allocations: 48 kB / 0.5743 GB, free: 44.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.894e-05/0.4958, allocations: 104 kB / 0.5744 GB, free: 44.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002539/0.496, allocations: 180.8 kB / 0.5745 GB, free: 44.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00253/0.4986, allocations: 1.099 MB / 0.5756 GB, free: 42.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001094/0.4997, allocations: 1.795 MB / 0.5774 GB, free: 41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002338/0.502, allocations: 218.1 kB / 0.5776 GB, free: 40.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002663/0.5023, allocations: 300 kB / 0.5779 GB, free: 40.5 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.002135/0.5044, allocations: 2.032 MB / 0.5798 GB, free: 38.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002952/0.5047, allocations: 248.7 kB / 0.5801 GB, free: 38.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002786/0.5075, allocations: 2.538 MB / 0.5826 GB, free: 35.64 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.272e-05/0.5076, allocations: 23.94 kB / 0.5826 GB, free: 35.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.5076, allocations: 0 / 0.5826 GB, free: 35.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.5076, allocations: 19 kB / 0.5826 GB, free: 35.61 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01038/0.518, allocations: 8.135 MB / 0.5905 GB, free: 27.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.284e-05/0.518, allocations: 12 kB / 0.5906 GB, free: 27.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008915/0.5189, allocations: 248.5 kB / 0.5908 GB, free: 27.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001407/0.5191, allocations: 64.02 kB / 0.5909 GB, free: 26.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.79e-05/0.5192, allocations: 49.14 kB / 0.5909 GB, free: 26.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009078/0.5201, allocations: 1.629 MB / 0.5925 GB, free: 25.17 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.074e-06/0.5201, allocations: 15.94 kB / 0.5925 GB, free: 25.15 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00369/0.5238, allocations: 4.048 MB / 0.5965 GB, free: 20.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001113/0.525, allocations: 0.4939 MB / 0.5969 GB, free: 20.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002643/0.5252, allocations: 43.67 kB / 0.597 GB, free: 20.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007473/0.526, allocations: 59.94 kB / 0.597 GB, free: 20.33 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001712/0.5262, allocations: 124.7 kB / 0.5972 GB, free: 20.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.831e-05/0.5263, allocations: 71.52 kB / 0.5972 GB, free: 20.14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001707/0.528, allocations: 1.632 MB / 0.5988 GB, free: 18.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.528, allocations: 3.938 kB / 0.5988 GB, free: 18.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003207/0.5312, allocations: 0.812 MB / 0.5996 GB, free: 17.69 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.0003508/0.5316, allocations: 179 kB / 0.5998 GB, free: 17.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004502/0.5361, allocations: 3.933 MB / 0.6036 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.5361, allocations: 4 kB / 0.6036 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001201/0.5373, allocations: 1.251 MB / 0.6049 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001704/0.539, allocations: 339.1 kB / 0.6052 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01157/0.5506, allocations: 8.619 MB / 0.6136 GB, free: 3.273 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002738/0.5534, allocations: 3.197 MB / 0.6167 GB, free: 56 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.003979/0.5574, allocations: 1.737 MB / 0.6184 GB, free: 14.32 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005241/0.5579, allocations: 191.4 kB / 0.6186 GB, free: 14.13 MB / 430.1 MB Notification: Performance of SimCode: time 1.904e-06/0.5579, allocations: 0 / 0.6186 GB, free: 14.13 MB / 430.1 MB Notification: Performance of Templates: time 0.04441/0.6024, allocations: 19.46 MB / 0.6376 GB, free: 10.86 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 cvode -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