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.00106/0.00106, allocations: 106.8 kB / 18.45 MB, free: 4.699 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.001014/0.001014, allocations: 183.1 kB / 19.38 MB, free: 3.777 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.381/1.381, allocations: 222.9 MB / 243.1 MB, free: 15.1 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.2127/0.2127, allocations: 44.18 MB / 337.4 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001276, allocations: 59.91 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.3441, allocations: 60.83 MB / 0.5196 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01355/0.3577, allocations: 12.31 MB / 0.5316 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009291/0.367, allocations: 3.854 MB / 0.5354 GB, free: 7.914 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002263/0.3693, allocations: 61.97 kB / 0.5354 GB, free: 7.906 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002934/0.3722, allocations: 1.31 MB / 0.5367 GB, free: 7.008 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004661/0.377, allocations: 1.791 MB / 0.5384 GB, free: 5.793 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.378, allocations: 421.7 kB / 0.5388 GB, free: 5.531 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005119/0.3832, allocations: 3.58 MB / 0.5423 GB, free: 3.609 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002597/0.3858, allocations: 2.015 MB / 0.5443 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002211/0.388, allocations: 1.21 MB / 0.5455 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002365/0.3904, allocations: 1.74 MB / 0.5472 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000504/0.3909, allocations: 243.9 kB / 0.5474 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001686/0.3926, allocations: 0.8385 MB / 0.5482 GB, free: 14.61 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001404/0.394, allocations: 1.589 MB / 0.5498 GB, free: 13.02 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001837/0.3959, allocations: 1.89 MB / 0.5516 GB, free: 11.12 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006872/0.4028, allocations: 6.173 MB / 0.5577 GB, free: 4.922 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.4028, allocations: 0 / 0.5577 GB, free: 4.922 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4028, allocations: 0 / 0.5577 GB, free: 4.922 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001719/0.403, allocations: 0 / 0.5577 GB, free: 4.922 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.007708/0.4107, allocations: 4.167 MB / 0.5617 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.4108, allocations: 12.03 kB / 0.5617 GB, free: 0.668 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01093/0.4217, allocations: 3.098 MB / 0.5648 GB, free: 13.56 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004416/0.4262, allocations: 1.937 MB / 0.5667 GB, free: 11.57 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001789/0.4264, allocations: 189 kB / 0.5668 GB, free: 11.39 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001015/0.4274, allocations: 255.7 kB / 0.5671 GB, free: 11.14 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0165/0.4439, allocations: 10.18 MB / 0.577 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.227e-05/0.444, allocations: 23.81 kB / 0.5771 GB, free: 0.5 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003559/0.4444, allocations: 115.8 kB / 0.5772 GB, free: 396 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003955/0.4483, allocations: 2.467 MB / 0.5796 GB, free: 13.92 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0167/0.4651, allocations: 9.353 MB / 0.5887 GB, free: 4.555 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04085/0.5059, allocations: 31.52 MB / 0.6195 GB, free: 4.215 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005884/0.5119, allocations: 3.355 MB / 0.6228 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001481/0.5134, allocations: 1.071 MB / 0.6238 GB, free: 15.56 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001076/0.5145, allocations: 1.307 MB / 0.6251 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.81e-05/0.5145, allocations: 47.88 kB / 0.6251 GB, free: 13.98 MB / 494.1 MB Notification: Performance of pre-optimization done (n=185): time 3.867e-06/0.5145, allocations: 0 / 0.6251 GB, free: 13.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=191): time 0.01997/0.5345, allocations: 9.175 MB / 0.6341 GB, free: 4.711 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.523e-05/0.5346, allocations: 68.72 kB / 0.6342 GB, free: 4.629 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003406/0.538, allocations: 2.612 MB / 0.6367 GB, free: 1.996 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001271/0.5381, allocations: 49.7 kB / 0.6368 GB, free: 1.941 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001925/0.5401, allocations: 2.78 MB / 0.6395 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000635/0.5407, allocations: 0.7402 MB / 0.6402 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001252/0.542, allocations: 0.9693 MB / 0.6411 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.5421, allocations: 308.9 kB / 0.6414 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002226/0.5444, allocations: 1.552 MB / 0.643 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004794/0.5492, allocations: 4.387 MB / 0.6472 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007521/0.5567, allocations: 6.563 MB / 0.6536 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.546e-05/0.5568, allocations: 28 kB / 0.6537 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of matching and sorting (n=648) (initialization): time 0.008623/0.5654, allocations: 5.867 MB / 0.6594 GB, free: 7.879 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.5e-05/0.5655, allocations: 51.98 kB / 0.6595 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.441e-05/0.5656, allocations: 100.8 kB / 0.6595 GB, free: 7.73 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003219/0.5659, allocations: 172.8 kB / 0.6597 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002902/0.5688, allocations: 1.076 MB / 0.6608 GB, free: 6.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001569/0.5704, allocations: 1.793 MB / 0.6625 GB, free: 4.551 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002279/0.5727, allocations: 211.9 kB / 0.6627 GB, free: 4.344 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003524/0.5731, allocations: 300 kB / 0.663 GB, free: 4.051 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.002627/0.5757, allocations: 1.981 MB / 0.6649 GB, free: 2.059 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003298/0.576, allocations: 266.2 kB / 0.6652 GB, free: 1.801 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003608/0.5797, allocations: 2.537 MB / 0.6677 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/0.5797, allocations: 3.984 kB / 0.6677 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.5797, allocations: 0 / 0.6677 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003788/0.5801, allocations: 295.3 kB / 0.668 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002517/0.5803, allocations: 28 kB / 0.668 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006627/0.581, allocations: 51.95 kB / 0.668 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001737/0.5812, allocations: 81.19 kB / 0.6681 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003307/0.5845, allocations: 2.241 MB / 0.6703 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004982/0.5895, allocations: 3.801 MB / 0.674 GB, free: 8.699 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001298/0.5908, allocations: 0.987 MB / 0.675 GB, free: 7.715 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002211/0.593, allocations: 1.587 MB / 0.6765 GB, free: 6.117 MB / 0.5294 GB Notification: Performance of Backend: time 5.01e-07/0.5931, allocations: 0 / 0.6765 GB, free: 6.117 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005537/0.5986, allocations: 3.148 MB / 0.6796 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of SimCode: time 0.01228/0.6109, allocations: 8.279 MB / 0.6877 GB, free: 10.63 MB / 0.545 GB Notification: Performance of Templates: time 0.05956/0.6705, allocations: 31.13 MB / 0.7181 GB, free: 11.57 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/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_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches