Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 110.4 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 205.7 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.499/1.499, allocations: 230.6 MB / 258.3 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2383/0.2383, allocations: 46.95 MB / 361.6 MB, free: 4.07 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 71.88 kB / 0.4973 GB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3598/0.3618, allocations: 66.03 MB / 0.5618 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01363/0.3755, allocations: 10.72 MB / 0.5723 GB, free: 9.438 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009052/0.3845, allocations: 3.676 MB / 0.5759 GB, free: 5.75 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002119/0.3866, allocations: 75.69 kB / 0.576 GB, free: 5.676 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002953/0.3896, allocations: 1.304 MB / 0.5772 GB, free: 4.367 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004425/0.394, allocations: 1.779 MB / 0.579 GB, free: 2.582 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001152/0.3952, allocations: 419.2 kB / 0.5794 GB, free: 2.172 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005325/0.4005, allocations: 3.599 MB / 0.5829 GB, free: 14.57 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002385/0.4029, allocations: 1.831 MB / 0.5847 GB, free: 12.7 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001915/0.4048, allocations: 1.218 MB / 0.5859 GB, free: 11.48 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00268/0.4075, allocations: 1.923 MB / 0.5877 GB, free: 9.547 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004988/0.408, allocations: 236 kB / 0.588 GB, free: 9.316 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001592/0.4096, allocations: 0.7177 MB / 0.5887 GB, free: 8.598 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001582/0.4111, allocations: 1.601 MB / 0.5902 GB, free: 6.992 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001487/0.4126, allocations: 1.339 MB / 0.5915 GB, free: 5.645 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007339/0.42, allocations: 6.118 MB / 0.5975 GB, free: 15.5 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.42, allocations: 4 kB / 0.5975 GB, free: 15.5 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.42, allocations: 0 / 0.5975 GB, free: 15.5 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001586/0.4201, allocations: 0 / 0.5975 GB, free: 15.5 MB / 446.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.007803/0.4279, allocations: 4.057 MB / 0.6015 GB, free: 11.39 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.428, allocations: 12.03 kB / 0.6015 GB, free: 11.38 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01051/0.4385, allocations: 3.098 MB / 0.6045 GB, free: 8.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005187/0.4437, allocations: 1.869 MB / 0.6063 GB, free: 6.363 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000196/0.4439, allocations: 189 kB / 0.6065 GB, free: 6.176 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008971/0.4448, allocations: 251.8 kB / 0.6068 GB, free: 5.93 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01718/0.462, allocations: 10.17 MB / 0.6167 GB, free: 11.33 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.992e-05/0.4621, allocations: 27.75 kB / 0.6167 GB, free: 11.3 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000385/0.4624, allocations: 119.8 kB / 0.6168 GB, free: 11.18 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004101/0.4665, allocations: 2.467 MB / 0.6192 GB, free: 8.715 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01904/0.4856, allocations: 9.337 MB / 0.6284 GB, free: 15.37 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04835/0.5339, allocations: 28.65 MB / 0.6563 GB, free: 1.902 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005917/0.5398, allocations: 2.333 MB / 0.6586 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001629/0.5415, allocations: 0.9899 MB / 0.6596 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009007/0.5424, allocations: 438.6 kB / 0.66 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.094e-05/0.5424, allocations: 43.88 kB / 0.66 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=185): time 6.763e-06/0.5424, allocations: 0 / 0.66 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=191): time 0.02071/0.5631, allocations: 8.932 MB / 0.6688 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.012e-05/0.5632, allocations: 68.72 kB / 0.6688 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00373/0.5669, allocations: 2.613 MB / 0.6714 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001522/0.5671, allocations: 49.7 kB / 0.6714 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002403/0.5695, allocations: 2.784 MB / 0.6741 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008163/0.5703, allocations: 0.7364 MB / 0.6749 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001349/0.5716, allocations: 0.9732 MB / 0.6758 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002574/0.5719, allocations: 369.7 kB / 0.6762 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002511/0.5744, allocations: 1.548 MB / 0.6777 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004894/0.5793, allocations: 4.387 MB / 0.682 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008775/0.5881, allocations: 6.567 MB / 0.6884 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001064/0.5882, allocations: 28 kB / 0.6884 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01115/0.5993, allocations: 5.849 MB / 0.6941 GB, free: 8.25 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.057e-05/0.5994, allocations: 51.94 kB / 0.6942 GB, free: 8.199 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001385/0.5996, allocations: 107.9 kB / 0.6943 GB, free: 8.094 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003916/0.5999, allocations: 168.8 kB / 0.6944 GB, free: 7.926 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003488/0.6034, allocations: 1.068 MB / 0.6955 GB, free: 6.855 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001868/0.6053, allocations: 1.659 MB / 0.6971 GB, free: 5.086 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002881/0.6082, allocations: 212.1 kB / 0.6973 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005291/0.6087, allocations: 300 kB / 0.6976 GB, free: 4.586 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.003451/0.6122, allocations: 1.985 MB / 0.6995 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004372/0.6126, allocations: 246.3 kB / 0.6997 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004033/0.6166, allocations: 2.531 MB / 0.7022 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.649e-05/0.6167, allocations: 7.969 kB / 0.7022 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.6167, allocations: 0 / 0.7022 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005517/0.6172, allocations: 198.3 kB / 0.7024 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002477/0.6175, allocations: 28 kB / 0.7024 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006104/0.6181, allocations: 51.94 kB / 0.7025 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001847/0.6183, allocations: 85.14 kB / 0.7026 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003639/0.6219, allocations: 2.233 MB / 0.7048 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005139/0.627, allocations: 3.781 MB / 0.7084 GB, free: 9.387 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001304/0.6283, allocations: 0.905 MB / 0.7093 GB, free: 8.48 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002221/0.6306, allocations: 1.469 MB / 0.7108 GB, free: 6.996 MB / 0.545 GB Notification: Performance of Backend: time 8.12e-07/0.6306, allocations: 0 / 0.7108 GB, free: 6.996 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006266/0.6368, allocations: 2.987 MB / 0.7137 GB, free: 4.016 MB / 0.545 GB Notification: Performance of SimCode: time 0.0154/0.6522, allocations: 8.303 MB / 0.7218 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of Templates: time 0.3464/0.9987, allocations: 33.18 MB / 0.7542 GB, free: 145 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.805899102000694]