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.001393/0.001393, allocations: 107.6 kB / 17.21 MB, free: 6.289 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.001343/0.001343, allocations: 194 kB / 18.12 MB, free: 5.383 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.455/1.455, allocations: 222.9 MB / 241.8 MB, free: 15.5 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.2288/0.2288, allocations: 44.18 MB / 336.1 MB, free: 3.012 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 67.34 kB / 407.7 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1324, allocations: 60.83 MB / 468.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.03242/0.1649, allocations: 29.69 MB / 498.2 MB, free: 1.035 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01748/0.1824, allocations: 6.765 MB / 0.4931 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006398/0.1888, allocations: 119.7 kB / 0.4933 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003594/0.1925, allocations: 1.27 MB / 0.4945 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005264/0.1978, allocations: 1.639 MB / 0.4961 GB, free: 7.211 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001277/0.1991, allocations: 387.4 kB / 0.4965 GB, free: 6.832 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006614/0.2057, allocations: 4.989 MB / 0.5013 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2924/0.4982, allocations: 1.982 MB / 0.5033 GB, free: 11.72 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003149/0.5014, allocations: 1.041 MB / 0.5043 GB, free: 11.72 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004119/0.5056, allocations: 1.83 MB / 0.5061 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001083/0.5067, allocations: 172 kB / 0.5062 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0027/0.5094, allocations: 0.8112 MB / 0.507 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00239/0.5118, allocations: 1.545 MB / 0.5085 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002642/0.5144, allocations: 1.833 MB / 0.5103 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008885/0.5233, allocations: 5.792 MB / 0.516 GB, free: 9.852 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.5234, allocations: 1.125 kB / 0.516 GB, free: 9.852 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.5234, allocations: 0.9688 kB / 0.516 GB, free: 9.852 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002562/0.5236, allocations: 0 / 0.516 GB, free: 9.852 MB / 382.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.01311/0.5368, allocations: 4.061 MB / 0.52 GB, free: 8.105 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/0.5368, allocations: 9.625 kB / 0.52 GB, free: 8.105 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01158/0.5484, allocations: 3.072 MB / 0.523 GB, free: 7.844 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006881/0.5554, allocations: 1.916 MB / 0.5248 GB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001678/0.5556, allocations: 182.7 kB / 0.525 GB, free: 7.164 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001108/0.5567, allocations: 251.1 kB / 0.5253 GB, free: 7.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02095/0.5776, allocations: 10.18 MB / 0.5352 GB, free: 2.582 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001146/0.5778, allocations: 20.97 kB / 0.5352 GB, free: 2.582 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003911/0.5782, allocations: 121.7 kB / 0.5353 GB, free: 2.543 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003613/0.5818, allocations: 2.472 MB / 0.5377 GB, free: 1.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02027/0.6021, allocations: 9.352 MB / 0.5469 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05561/0.6578, allocations: 31.67 MB / 0.5778 GB, free: 9.527 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006281/0.6641, allocations: 3.351 MB / 0.5811 GB, free: 5.961 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0017/0.6658, allocations: 1.068 MB / 0.5821 GB, free: 4.895 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001206/0.6671, allocations: 1.299 MB / 0.5834 GB, free: 3.379 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.947e-05/0.6671, allocations: 51.86 kB / 0.5834 GB, free: 3.32 MB / 430.1 MB Notification: Performance of pre-optimization done (n=185): time 6.843e-06/0.6671, allocations: 4 kB / 0.5834 GB, free: 3.316 MB / 430.1 MB Notification: Performance of matching and sorting (n=191): time 0.01992/0.687, allocations: 9.102 MB / 0.5923 GB, free: 10.14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.169e-05/0.6871, allocations: 68.72 kB / 0.5924 GB, free: 10.06 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003877/0.691, allocations: 2.603 MB / 0.5949 GB, free: 7.438 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001051/0.6912, allocations: 51.89 kB / 0.595 GB, free: 7.383 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001954/0.6931, allocations: 2.675 MB / 0.5976 GB, free: 4.703 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006589/0.6938, allocations: 0.7036 MB / 0.5983 GB, free: 4.008 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001284/0.6951, allocations: 0.9646 MB / 0.5992 GB, free: 3.031 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.6952, allocations: 305.1 kB / 0.5995 GB, free: 2.73 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002267/0.6975, allocations: 1.552 MB / 0.601 GB, free: 1.172 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004415/0.7019, allocations: 4.382 MB / 0.6053 GB, free: 11.43 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008221/0.7101, allocations: 6.571 MB / 0.6117 GB, free: 3.875 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-05/0.7102, allocations: 28 kB / 0.6118 GB, free: 3.848 MB / 462.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.009923/0.7202, allocations: 5.85 MB / 0.6175 GB, free: 14.58 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.927e-05/0.7203, allocations: 54.28 kB / 0.6175 GB, free: 14.53 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001316/0.7204, allocations: 100 kB / 0.6176 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003908/0.7208, allocations: 172.8 kB / 0.6178 GB, free: 14.26 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003101/0.7239, allocations: 1.074 MB / 0.6188 GB, free: 13.29 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001875/0.7258, allocations: 1.68 MB / 0.6205 GB, free: 11.53 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003139/0.729, allocations: 216 kB / 0.6207 GB, free: 11.32 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003965/0.7294, allocations: 288 kB / 0.621 GB, free: 11.04 MB / 478.1 MB 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.004659/0.734, allocations: 1.994 MB / 0.6229 GB, free: 9.125 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005124/0.7346, allocations: 240.8 kB / 0.6231 GB, free: 8.887 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00393/0.7385, allocations: 2.537 MB / 0.6256 GB, free: 6.328 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.404e-05/0.7385, allocations: 26.89 kB / 0.6256 GB, free: 6.305 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/0.7386, allocations: 4.281 kB / 0.6256 GB, free: 6.301 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.448e-05/0.7386, allocations: 11.91 kB / 0.6256 GB, free: 6.289 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01395/0.7525, allocations: 7.957 MB / 0.6334 GB, free: 14.17 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.068e-05/0.7526, allocations: 12 kB / 0.6334 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000965/0.7536, allocations: 247.6 kB / 0.6337 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001605/0.7538, allocations: 53.55 kB / 0.6337 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001024/0.7539, allocations: 50.41 kB / 0.6338 GB, free: 13.81 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001325/0.7552, allocations: 1.509 MB / 0.6352 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.038e-05/0.7552, allocations: 16 kB / 0.6353 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005447/0.7607, allocations: 4.023 MB / 0.6392 GB, free: 7.992 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001063/0.7618, allocations: 313.7 kB / 0.6395 GB, free: 7.664 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003025/0.7621, allocations: 32 kB / 0.6395 GB, free: 7.633 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008844/0.763, allocations: 51.95 kB / 0.6396 GB, free: 7.582 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002539/0.7632, allocations: 120.7 kB / 0.6397 GB, free: 7.465 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001339/0.7634, allocations: 66.88 kB / 0.6397 GB, free: 7.402 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00274/0.7661, allocations: 1.603 MB / 0.6413 GB, free: 5.789 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.7661, allocations: 0 / 0.6413 GB, free: 5.789 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004403/0.7705, allocations: 0.7997 MB / 0.6421 GB, free: 4.992 MB / 494.1 MB 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.0005472/0.7711, allocations: 182.8 kB / 0.6423 GB, free: 4.805 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006666/0.7778, allocations: 3.841 MB / 0.646 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.193e-05/0.7778, allocations: 4 kB / 0.646 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001771/0.7796, allocations: 1.229 MB / 0.6472 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002262/0.7819, allocations: 341 kB / 0.6475 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02041/0.8023, allocations: 10.52 MB / 0.6578 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004069/0.8064, allocations: 3.134 MB / 0.6609 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004419/0.8109, allocations: 1.706 MB / 0.6625 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004804/0.8114, allocations: 187.3 kB / 0.6627 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of SimCode: time 1.483e-06/0.8114, allocations: 0 / 0.6627 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of Templates: time 0.05128/0.8627, allocations: 22.34 MB / 0.6845 GB, free: 9.5 MB / 0.5294 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