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.001061/0.001061, allocations: 111.6 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001185/0.001185, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.384/1.384, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2101/0.2101, allocations: 46.1 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 79.88 kB / 482 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.301, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01233/0.3133, allocations: 12.26 MB / 0.5436 GB, free: 4 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007687/0.321, allocations: 3.858 MB / 0.5474 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00178/0.3228, allocations: 61.66 kB / 0.5475 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002521/0.3254, allocations: 1.311 MB / 0.5487 GB, free: 120 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003882/0.3293, allocations: 1.719 MB / 0.5504 GB, free: 14.46 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.3304, allocations: 431.1 kB / 0.5508 GB, free: 14.04 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004198/0.3346, allocations: 3.605 MB / 0.5544 GB, free: 10.43 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002091/0.3367, allocations: 1.995 MB / 0.5563 GB, free: 8.406 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001422/0.3381, allocations: 1.195 MB / 0.5575 GB, free: 7.207 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002001/0.3401, allocations: 1.74 MB / 0.5592 GB, free: 5.461 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004265/0.3406, allocations: 240 kB / 0.5594 GB, free: 5.227 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001545/0.3421, allocations: 0.8113 MB / 0.5602 GB, free: 4.414 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001313/0.3435, allocations: 1.566 MB / 0.5617 GB, free: 2.844 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001569/0.345, allocations: 1.867 MB / 0.5635 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00565/0.3507, allocations: 6.067 MB / 0.5695 GB, free: 10.88 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3507, allocations: 0 / 0.5695 GB, free: 10.88 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.3507, allocations: 0 / 0.5695 GB, free: 10.88 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000116/0.3509, allocations: 3.938 kB / 0.5695 GB, free: 10.88 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.006717/0.3576, allocations: 4.027 MB / 0.5734 GB, free: 6.781 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.3576, allocations: 8.031 kB / 0.5734 GB, free: 6.773 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01005/0.3677, allocations: 3.072 MB / 0.5764 GB, free: 3.691 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003677/0.3714, allocations: 1.898 MB / 0.5783 GB, free: 1.742 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001387/0.3715, allocations: 189 kB / 0.5784 GB, free: 1.555 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005344/0.3721, allocations: 247.8 kB / 0.5787 GB, free: 1.312 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0145/0.3866, allocations: 10.18 MB / 0.5886 GB, free: 6.695 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.372e-05/0.3867, allocations: 27.72 kB / 0.5887 GB, free: 6.668 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005434/0.3873, allocations: 123.8 kB / 0.5888 GB, free: 6.547 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003908/0.3912, allocations: 2.463 MB / 0.5912 GB, free: 4.078 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0171/0.4083, allocations: 9.345 MB / 0.6003 GB, free: 10.72 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0424/0.4507, allocations: 31.46 MB / 0.631 GB, free: 10.44 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005941/0.4567, allocations: 3.353 MB / 0.6343 GB, free: 6.859 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001671/0.4584, allocations: 1.064 MB / 0.6353 GB, free: 5.793 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001212/0.4597, allocations: 1.318 MB / 0.6366 GB, free: 4.254 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/0.4597, allocations: 43.88 kB / 0.6367 GB, free: 4.203 MB / 494.1 MB Notification: Performance of pre-optimization done (n=185): time 6.522e-06/0.4597, allocations: 3.938 kB / 0.6367 GB, free: 4.199 MB / 494.1 MB Notification: Performance of matching and sorting (n=191): time 0.0202/0.4799, allocations: 9.094 MB / 0.6455 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.48, allocations: 68.72 kB / 0.6456 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003811/0.4838, allocations: 2.603 MB / 0.6482 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.741e-05/0.4839, allocations: 53.69 kB / 0.6482 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0017/0.4856, allocations: 2.67 MB / 0.6508 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006119/0.4863, allocations: 0.7015 MB / 0.6515 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001207/0.4875, allocations: 0.9685 MB / 0.6524 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.4876, allocations: 305.1 kB / 0.6527 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00224/0.4899, allocations: 1.552 MB / 0.6542 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004637/0.4945, allocations: 4.387 MB / 0.6585 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007588/0.5021, allocations: 6.567 MB / 0.6649 GB, free: 4.223 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-05/0.5022, allocations: 31.94 kB / 0.665 GB, free: 4.191 MB / 0.5137 GB Notification: Performance of matching and sorting (n=648) (initialization): time 0.009392/0.5116, allocations: 5.847 MB / 0.6707 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.291e-05/0.5117, allocations: 51.94 kB / 0.6707 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001379/0.5119, allocations: 100 kB / 0.6708 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003394/0.5122, allocations: 176.9 kB / 0.671 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003261/0.5155, allocations: 1.068 MB / 0.672 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00191/0.5174, allocations: 1.801 MB / 0.6738 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002674/0.5201, allocations: 208 kB / 0.674 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000456/0.5206, allocations: 299.8 kB / 0.6743 GB, free: 10.5 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.003066/0.5236, allocations: 1.993 MB / 0.6762 GB, free: 8.504 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005007/0.5242, allocations: 240.8 kB / 0.6765 GB, free: 8.266 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003961/0.5281, allocations: 2.53 MB / 0.6789 GB, free: 5.707 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.705e-05/0.5282, allocations: 7.969 kB / 0.6789 GB, free: 5.699 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.5282, allocations: 0 / 0.6789 GB, free: 5.699 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005643/0.5287, allocations: 285.9 kB / 0.6792 GB, free: 5.398 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003543/0.5291, allocations: 23.98 kB / 0.6792 GB, free: 5.375 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007176/0.5298, allocations: 47.95 kB / 0.6793 GB, free: 5.328 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002075/0.53, allocations: 89.19 kB / 0.6794 GB, free: 5.242 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003438/0.5335, allocations: 2.245 MB / 0.6816 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004836/0.5383, allocations: 3.784 MB / 0.6853 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00122/0.5396, allocations: 0.983 MB / 0.6862 GB, free: 14.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002867/0.5425, allocations: 1.587 MB / 0.6878 GB, free: 12.6 MB / 0.545 GB Notification: Performance of Backend: time 9.42e-07/0.5425, allocations: 0 / 0.6878 GB, free: 12.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006442/0.5489, allocations: 3.136 MB / 0.6908 GB, free: 9.469 MB / 0.545 GB Notification: Performance of SimCode: time 0.01306/0.562, allocations: 8.156 MB / 0.6988 GB, free: 1.262 MB / 0.545 GB Notification: Performance of Templates: time 0.3079/0.8699, allocations: 30.75 MB / 0.7288 GB, free: 162.1 MB / 0.5606 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