Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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_ModelicaTest.MultiBody.Joints.Prismatic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001189/0.001189, allocations: 109.8 kB / 18.45 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00132/0.00132, allocations: 209.9 kB / 19.4 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 227.4 MB / 247.6 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2163/0.2163, allocations: 46.1 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 71.88 kB / 482 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.334, allocations: 62.44 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01391/0.3479, allocations: 12.26 MB / 0.5436 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008684/0.3567, allocations: 3.855 MB / 0.5474 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002432/0.3591, allocations: 61.09 kB / 0.5475 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003069/0.3622, allocations: 1.312 MB / 0.5487 GB, free: 108 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00488/0.3672, allocations: 1.717 MB / 0.5504 GB, free: 14.47 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001215/0.3684, allocations: 419.2 kB / 0.5508 GB, free: 14.06 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005362/0.3738, allocations: 3.604 MB / 0.5543 GB, free: 10.45 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002856/0.3767, allocations: 2.013 MB / 0.5563 GB, free: 8.41 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002132/0.3789, allocations: 1.191 MB / 0.5575 GB, free: 7.215 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002707/0.3816, allocations: 1.74 MB / 0.5592 GB, free: 5.469 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007898/0.3824, allocations: 240 kB / 0.5594 GB, free: 5.234 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001977/0.3844, allocations: 0.8074 MB / 0.5602 GB, free: 4.426 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001658/0.3861, allocations: 1.566 MB / 0.5617 GB, free: 2.855 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002653/0.3887, allocations: 1.867 MB / 0.5635 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006814/0.3956, allocations: 6.062 MB / 0.5695 GB, free: 10.89 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3956, allocations: 0 / 0.5695 GB, free: 10.89 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3956, allocations: 3.938 kB / 0.5695 GB, free: 10.89 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001339/0.3958, allocations: 4 kB / 0.5695 GB, free: 10.89 MB / 430.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.007003/0.4028, allocations: 4.027 MB / 0.5734 GB, free: 6.793 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.4028, allocations: 8.031 kB / 0.5734 GB, free: 6.785 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01079/0.4136, allocations: 3.076 MB / 0.5764 GB, free: 3.699 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004434/0.4181, allocations: 1.905 MB / 0.5783 GB, free: 1.742 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000165/0.4183, allocations: 185 kB / 0.5784 GB, free: 1.559 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006733/0.419, allocations: 251.8 kB / 0.5787 GB, free: 1.312 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01489/0.4339, allocations: 10.18 MB / 0.5886 GB, free: 6.695 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.395e-05/0.434, allocations: 23.72 kB / 0.5887 GB, free: 6.672 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003596/0.4344, allocations: 115.8 kB / 0.5888 GB, free: 6.559 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003871/0.4382, allocations: 2.471 MB / 0.5912 GB, free: 4.082 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01756/0.4558, allocations: 9.353 MB / 0.6003 GB, free: 10.72 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0483/0.5042, allocations: 31.45 MB / 0.631 GB, free: 10.44 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0065/0.5107, allocations: 3.358 MB / 0.6343 GB, free: 6.859 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001783/0.5126, allocations: 1.068 MB / 0.6353 GB, free: 5.789 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001271/0.5139, allocations: 1.31 MB / 0.6366 GB, free: 4.258 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.933e-05/0.5139, allocations: 47.88 kB / 0.6367 GB, free: 4.203 MB / 494.1 MB Notification: Performance of pre-optimization done (n=185): time 5.33e-06/0.5139, allocations: 0 / 0.6367 GB, free: 4.203 MB / 494.1 MB Notification: Performance of matching and sorting (n=191): time 0.02099/0.5349, allocations: 9.099 MB / 0.6456 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.111e-05/0.535, allocations: 64.72 kB / 0.6456 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004016/0.5391, allocations: 2.603 MB / 0.6482 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000283/0.5394, allocations: 45.7 kB / 0.6482 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001994/0.5414, allocations: 2.662 MB / 0.6508 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008504/0.5422, allocations: 0.7093 MB / 0.6515 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001179/0.5434, allocations: 0.9685 MB / 0.6524 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.783e-05/0.5435, allocations: 309.1 kB / 0.6527 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002394/0.5459, allocations: 1.548 MB / 0.6542 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004292/0.5503, allocations: 4.387 MB / 0.6585 GB, free: 12.2 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007788/0.5581, allocations: 6.567 MB / 0.6649 GB, free: 4.234 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.583e-05/0.5582, allocations: 28 kB / 0.665 GB, free: 4.207 MB / 0.5138 GB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01126/0.5695, allocations: 5.859 MB / 0.6707 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001153/0.5696, allocations: 48 kB / 0.6707 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001749/0.5698, allocations: 96 kB / 0.6708 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004166/0.5702, allocations: 172.8 kB / 0.671 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003595/0.5738, allocations: 1.072 MB / 0.672 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002025/0.5759, allocations: 1.794 MB / 0.6738 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00304/0.579, allocations: 215.8 kB / 0.674 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007568/0.5797, allocations: 288 kB / 0.6743 GB, free: 10.53 MB / 0.5294 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.003912/0.5837, allocations: 1.993 MB / 0.6762 GB, free: 8.523 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005368/0.5842, allocations: 244.8 kB / 0.6765 GB, free: 8.281 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004324/0.5886, allocations: 2.537 MB / 0.6789 GB, free: 5.715 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-05/0.5886, allocations: 24 kB / 0.679 GB, free: 5.691 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.375e-06/0.5886, allocations: 192 / 0.679 GB, free: 5.691 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/0.5887, allocations: 3.984 kB / 0.679 GB, free: 5.688 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0156/0.6043, allocations: 7.936 MB / 0.6867 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.253e-05/0.6043, allocations: 8 kB / 0.6867 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001094/0.6054, allocations: 247.6 kB / 0.687 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001904/0.6056, allocations: 57.55 kB / 0.687 GB, free: 13.24 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001672/0.6058, allocations: 47.98 kB / 0.6871 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001515/0.6074, allocations: 1.622 MB / 0.6886 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.166e-05/0.6074, allocations: 11.94 kB / 0.6886 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005211/0.6126, allocations: 4.023 MB / 0.6926 GB, free: 7.25 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006711/0.6133, allocations: 297.9 kB / 0.6929 GB, free: 6.938 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005145/0.6138, allocations: 36 kB / 0.6929 GB, free: 6.902 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/0.6149, allocations: 55.94 kB / 0.6929 GB, free: 6.848 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002416/0.6151, allocations: 128.6 kB / 0.6931 GB, free: 6.723 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001296/0.6153, allocations: 60 kB / 0.6931 GB, free: 6.664 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003032/0.6183, allocations: 1.603 MB / 0.6947 GB, free: 5.051 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6183, allocations: 0 / 0.6947 GB, free: 5.051 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00395/0.6223, allocations: 0.7812 MB / 0.6955 GB, free: 4.27 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.0005222/0.6228, allocations: 178.8 kB / 0.6956 GB, free: 4.086 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006148/0.629, allocations: 3.875 MB / 0.6994 GB, free: 224 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.149e-05/0.629, allocations: 6 kB / 0.6994 GB, free: 220 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001804/0.6308, allocations: 1.239 MB / 0.7006 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002359/0.6332, allocations: 352.1 kB / 0.701 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01595/0.6492, allocations: 8.848 MB / 0.7096 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004417/0.6536, allocations: 3.141 MB / 0.7127 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007996/0.6545, allocations: 223.4 kB / 0.7129 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of SimCode: time 9.02e-07/0.6545, allocations: 0 / 0.7129 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of Templates: time 0.348/1.002, allocations: 65.27 MB / 0.7766 GB, free: 145.5 MB / 0.5763 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches