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.00165/0.00165, allocations: 109.5 kB / 17.78 MB, free: 5.312 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.001738/0.001738, allocations: 188 kB / 18.71 MB, free: 4.387 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.401/1.401, allocations: 222.9 MB / 242.4 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.216/0.216, allocations: 44.19 MB / 336.7 MB, free: 2.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 55.91 kB / 470.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4567/0.4579, allocations: 60.82 MB / 0.5189 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.0143/0.4723, allocations: 12.31 MB / 0.5309 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01087/0.4832, allocations: 3.857 MB / 0.5347 GB, free: 7.906 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003074/0.4863, allocations: 61.59 kB / 0.5347 GB, free: 7.898 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003285/0.4896, allocations: 1.306 MB / 0.536 GB, free: 7.004 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006344/0.4961, allocations: 1.753 MB / 0.5377 GB, free: 5.812 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001792/0.4979, allocations: 426.6 kB / 0.5381 GB, free: 5.547 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01101/0.5089, allocations: 3.575 MB / 0.5416 GB, free: 3.633 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00641/0.5154, allocations: 2.019 MB / 0.5436 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005071/0.5205, allocations: 1.201 MB / 0.5448 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004861/0.5254, allocations: 1.748 MB / 0.5465 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00233/0.5278, allocations: 236 kB / 0.5467 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004067/0.5319, allocations: 0.8386 MB / 0.5475 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003324/0.5352, allocations: 1.589 MB / 0.5491 GB, free: 13.09 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00553/0.5408, allocations: 1.894 MB / 0.5509 GB, free: 11.18 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01456/0.5554, allocations: 6.139 MB / 0.5569 GB, free: 5.02 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.453e-05/0.5555, allocations: 0 / 0.5569 GB, free: 5.02 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.5555, allocations: 0 / 0.5569 GB, free: 5.02 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000298/0.5558, allocations: 0 / 0.5569 GB, free: 5.02 MB / 414.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.01519/0.571, allocations: 4.058 MB / 0.5609 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.952e-05/0.5711, allocations: 8.031 kB / 0.5609 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02074/0.5918, allocations: 3.08 MB / 0.5639 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009206/0.6011, allocations: 1.929 MB / 0.5658 GB, free: 11.82 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003662/0.6015, allocations: 189 kB / 0.566 GB, free: 11.63 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001876/0.6035, allocations: 255.6 kB / 0.5662 GB, free: 11.38 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03053/0.634, allocations: 10.18 MB / 0.5762 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001313/0.6342, allocations: 23.81 kB / 0.5762 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006072/0.6348, allocations: 119.8 kB / 0.5763 GB, free: 0.625 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007397/0.6422, allocations: 2.467 MB / 0.5787 GB, free: 14.16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02972/0.672, allocations: 9.349 MB / 0.5878 GB, free: 4.797 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07484/0.7469, allocations: 31.44 MB / 0.6185 GB, free: 4.535 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.011/0.758, allocations: 3.361 MB / 0.6218 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002955/0.761, allocations: 1.076 MB / 0.6229 GB, free: 15.87 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00219/0.7632, allocations: 1.303 MB / 0.6241 GB, free: 14.35 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.933e-05/0.7633, allocations: 55.81 kB / 0.6242 GB, free: 14.29 MB / 494.1 MB Notification: Performance of pre-optimization done (n=185): time 1.323e-05/0.7634, allocations: 0 / 0.6242 GB, free: 14.29 MB / 494.1 MB Notification: Performance of matching and sorting (n=191): time 0.03887/0.8023, allocations: 9.096 MB / 0.6331 GB, free: 5.086 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.8024, allocations: 68.66 kB / 0.6331 GB, free: 5.004 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008979/0.8114, allocations: 2.611 MB / 0.6357 GB, free: 2.371 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005435/0.8121, allocations: 53.69 kB / 0.6357 GB, free: 2.312 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004124/0.8162, allocations: 2.662 MB / 0.6383 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00178/0.8181, allocations: 0.7093 MB / 0.639 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003857/0.822, allocations: 0.9646 MB / 0.64 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001901/0.8222, allocations: 309 kB / 0.6403 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004765/0.827, allocations: 1.548 MB / 0.6418 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009257/0.8363, allocations: 4.391 MB / 0.6461 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0125/0.8488, allocations: 6.555 MB / 0.6525 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001521/0.849, allocations: 28 kB / 0.6525 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01352/0.8626, allocations: 5.858 MB / 0.6582 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001087/0.8627, allocations: 48.92 kB / 0.6583 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002198/0.863, allocations: 100 kB / 0.6584 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004454/0.8634, allocations: 176.8 kB / 0.6585 GB, free: 8.082 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003632/0.8671, allocations: 1.072 MB / 0.6596 GB, free: 7.008 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002081/0.8692, allocations: 1.792 MB / 0.6613 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004123/0.8733, allocations: 211.9 kB / 0.6615 GB, free: 4.871 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009243/0.8743, allocations: 288.2 kB / 0.6618 GB, free: 4.59 MB / 0.5137 GB 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.004876/0.8792, allocations: 1.989 MB / 0.6637 GB, free: 2.59 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008013/0.88, allocations: 256.7 kB / 0.664 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004717/0.8847, allocations: 2.53 MB / 0.6665 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.626e-05/0.8848, allocations: 27.98 kB / 0.6665 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.8848, allocations: 0 / 0.6665 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/0.8848, allocations: 3.984 kB / 0.6665 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01471/0.8995, allocations: 7.933 MB / 0.6742 GB, free: 7.621 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.501e-05/0.8996, allocations: 12 kB / 0.6742 GB, free: 7.609 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/0.9006, allocations: 247.6 kB / 0.6745 GB, free: 7.367 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002156/0.9008, allocations: 60.83 kB / 0.6745 GB, free: 7.305 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001447/0.901, allocations: 47.97 kB / 0.6746 GB, free: 7.258 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00143/0.9024, allocations: 1.618 MB / 0.6762 GB, free: 5.504 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.247e-05/0.9025, allocations: 15.94 kB / 0.6762 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00555/0.908, allocations: 4.015 MB / 0.6801 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008784/0.9089, allocations: 305.8 kB / 0.6804 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004686/0.9094, allocations: 36 kB / 0.6804 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001087/0.9105, allocations: 67.92 kB / 0.6805 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002225/0.9107, allocations: 124.6 kB / 0.6806 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001201/0.9109, allocations: 60 kB / 0.6807 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00313/0.914, allocations: 1.603 MB / 0.6822 GB, free: 15.1 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.41e-07/0.914, allocations: 0 / 0.6822 GB, free: 15.1 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004843/0.9188, allocations: 0.8007 MB / 0.683 GB, free: 14.3 MB / 0.545 GB 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.0005429/0.9194, allocations: 182.9 kB / 0.6832 GB, free: 14.11 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006656/0.9261, allocations: 3.884 MB / 0.687 GB, free: 10.24 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-05/0.9261, allocations: 0 / 0.687 GB, free: 10.24 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001818/0.9279, allocations: 1.233 MB / 0.6882 GB, free: 8.996 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002736/0.9307, allocations: 339.7 kB / 0.6885 GB, free: 8.668 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01809/0.9488, allocations: 8.426 MB / 0.6967 GB, free: 92 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003597/0.9524, allocations: 3.137 MB / 0.6998 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00346/0.9559, allocations: 1.706 MB / 0.7015 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004397/0.9564, allocations: 183.4 kB / 0.7016 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of SimCode: time 1.042e-06/0.9564, allocations: 0 / 0.7016 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of Templates: time 0.04377/1, allocations: 20.51 MB / 0.7217 GB, free: 6.594 MB / 0.5762 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