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.001146/0.001146, allocations: 113.3 kB / 17.78 MB, free: 5.258 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.001313/0.001313, allocations: 188.9 kB / 18.72 MB, free: 4.332 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.321/1.321, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2056/0.2056, allocations: 44.19 MB / 336.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 63.89 kB / 470.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3933/0.3946, allocations: 60.82 MB / 0.5189 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01386/0.4086, allocations: 12.31 MB / 0.5309 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01019/0.4188, allocations: 3.851 MB / 0.5347 GB, free: 7.891 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003256/0.4221, allocations: 61.28 kB / 0.5347 GB, free: 7.883 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003667/0.4259, allocations: 1.311 MB / 0.536 GB, free: 6.984 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006404/0.4323, allocations: 1.753 MB / 0.5377 GB, free: 5.793 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001434/0.4338, allocations: 418.2 kB / 0.5381 GB, free: 5.535 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007248/0.441, allocations: 3.584 MB / 0.5416 GB, free: 3.609 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003728/0.4448, allocations: 2.007 MB / 0.5436 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002787/0.4476, allocations: 1.199 MB / 0.5448 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003407/0.451, allocations: 1.748 MB / 0.5465 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009664/0.452, allocations: 240 kB / 0.5467 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003282/0.4553, allocations: 0.8308 MB / 0.5475 GB, free: 14.67 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002972/0.4583, allocations: 1.589 MB / 0.5491 GB, free: 13.07 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004627/0.463, allocations: 1.89 MB / 0.5509 GB, free: 11.17 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009725/0.4727, allocations: 6.169 MB / 0.5569 GB, free: 4.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.117e-06/0.4728, allocations: 8 kB / 0.5569 GB, free: 4.973 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.4728, allocations: 0 / 0.5569 GB, free: 4.973 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002809/0.4731, allocations: 0 / 0.5569 GB, free: 4.973 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.009269/0.4823, allocations: 4.174 MB / 0.561 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.4824, allocations: 15.97 kB / 0.561 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009837/0.4922, allocations: 3.098 MB / 0.5641 GB, free: 13.61 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003796/0.4961, allocations: 1.933 MB / 0.566 GB, free: 11.62 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001389/0.4962, allocations: 185 kB / 0.5661 GB, free: 11.44 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004594/0.4967, allocations: 259.7 kB / 0.5664 GB, free: 11.18 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01664/0.5133, allocations: 10.19 MB / 0.5763 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.995e-05/0.5135, allocations: 19.81 kB / 0.5763 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003255/0.5138, allocations: 115.8 kB / 0.5765 GB, free: 444 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003731/0.5175, allocations: 2.471 MB / 0.5789 GB, free: 13.96 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01809/0.5356, allocations: 9.353 MB / 0.588 GB, free: 4.598 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05158/0.5873, allocations: 31.51 MB / 0.6188 GB, free: 4.266 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006504/0.5938, allocations: 3.363 MB / 0.6221 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001862/0.5957, allocations: 1.064 MB / 0.6231 GB, free: 15.61 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001222/0.597, allocations: 1.307 MB / 0.6244 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.918e-05/0.597, allocations: 47.88 kB / 0.6244 GB, free: 14.03 MB / 494.1 MB Notification: Performance of pre-optimization done (n=185): time 4.769e-06/0.5971, allocations: 0 / 0.6244 GB, free: 14.03 MB / 494.1 MB Notification: Performance of matching and sorting (n=191): time 0.0215/0.6186, allocations: 9.175 MB / 0.6334 GB, free: 4.762 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.102e-05/0.6187, allocations: 68.72 kB / 0.6334 GB, free: 4.68 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005533/0.6242, allocations: 2.612 MB / 0.636 GB, free: 2.047 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001367/0.6244, allocations: 49.7 kB / 0.636 GB, free: 1.992 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002557/0.6269, allocations: 2.78 MB / 0.6388 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008329/0.6278, allocations: 0.7402 MB / 0.6395 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001726/0.6295, allocations: 0.9732 MB / 0.6404 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.6297, allocations: 305.1 kB / 0.6407 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002581/0.6322, allocations: 1.552 MB / 0.6422 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005544/0.6378, allocations: 4.383 MB / 0.6465 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009968/0.6478, allocations: 6.567 MB / 0.6529 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001435/0.648, allocations: 28 kB / 0.653 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01347/0.6615, allocations: 5.868 MB / 0.6587 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001636/0.6617, allocations: 50.97 kB / 0.6587 GB, free: 7.883 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002303/0.6619, allocations: 100 kB / 0.6588 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005826/0.6625, allocations: 176.9 kB / 0.659 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00372/0.6663, allocations: 1.072 MB / 0.66 GB, free: 6.535 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001934/0.6682, allocations: 1.789 MB / 0.6618 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003299/0.6716, allocations: 219.8 kB / 0.662 GB, free: 4.398 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008061/0.6724, allocations: 292 kB / 0.6623 GB, free: 4.113 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.004108/0.6765, allocations: 1.989 MB / 0.6642 GB, free: 2.113 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005624/0.6771, allocations: 258.2 kB / 0.6645 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004596/0.6817, allocations: 2.537 MB / 0.6669 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.423e-05/0.6817, allocations: 20 kB / 0.667 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.6817, allocations: 4 kB / 0.667 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.64e-05/0.6818, allocations: 11.91 kB / 0.667 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0172/0.699, allocations: 7.934 MB / 0.6747 GB, free: 7.133 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.074e-05/0.6991, allocations: 8 kB / 0.6747 GB, free: 7.125 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001185/0.7003, allocations: 251.5 kB / 0.675 GB, free: 6.879 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000248/0.7006, allocations: 64.89 kB / 0.675 GB, free: 6.812 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000193/0.7008, allocations: 43.98 kB / 0.6751 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001893/0.7027, allocations: 1.625 MB / 0.6767 GB, free: 5.008 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.456e-05/0.7027, allocations: 15.94 kB / 0.6767 GB, free: 4.992 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006207/0.7089, allocations: 4.028 MB / 0.6806 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001027/0.71, allocations: 315.3 kB / 0.6809 GB, free: 492 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005072/0.7105, allocations: 39.94 kB / 0.681 GB, free: 452 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/0.7116, allocations: 51.95 kB / 0.681 GB, free: 400 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002158/0.7118, allocations: 124.6 kB / 0.6811 GB, free: 276 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000127/0.7119, allocations: 71.98 kB / 0.6812 GB, free: 204 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003021/0.715, allocations: 1.603 MB / 0.6828 GB, free: 14.58 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.715, allocations: 0 / 0.6828 GB, free: 14.58 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004161/0.7191, allocations: 0.7968 MB / 0.6835 GB, free: 13.79 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.0005505/0.7197, allocations: 188.6 kB / 0.6837 GB, free: 13.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00694/0.7267, allocations: 3.876 MB / 0.6875 GB, free: 9.734 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-05/0.7267, allocations: 5 kB / 0.6875 GB, free: 9.73 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001864/0.7286, allocations: 1.24 MB / 0.6887 GB, free: 8.477 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003052/0.7316, allocations: 351.4 kB / 0.6891 GB, free: 8.137 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01739/0.7491, allocations: 8.536 MB / 0.6974 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004827/0.7539, allocations: 3.134 MB / 0.7005 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00409/0.7581, allocations: 1.706 MB / 0.7021 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006633/0.7587, allocations: 183.4 kB / 0.7023 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of SimCode: time 1.933e-06/0.7588, allocations: 0 / 0.7023 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of Templates: time 0.04457/0.8033, allocations: 20.96 MB / 0.7228 GB, free: 5.492 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