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.001351/0.001351, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001455/0.001455, allocations: 206.6 kB / 24.47 MB, free: 3.977 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.475/1.475, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.2262/0.2262, allocations: 46.96 MB / 361.6 MB, free: 4.035 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.002019/0.002019, allocations: 63.91 kB / 0.4973 GB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.3128, allocations: 66.04 MB / 0.5618 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01404/0.3268, allocations: 10.71 MB / 0.5723 GB, free: 9.395 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007996/0.3348, allocations: 3.684 MB / 0.5759 GB, free: 5.699 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001061/0.3359, allocations: 71.75 kB / 0.5759 GB, free: 5.629 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002786/0.3387, allocations: 1.3 MB / 0.5772 GB, free: 4.324 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004042/0.3427, allocations: 1.779 MB / 0.5789 GB, free: 2.539 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001025/0.3438, allocations: 423.2 kB / 0.5794 GB, free: 2.125 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004876/0.3486, allocations: 3.605 MB / 0.5829 GB, free: 14.52 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002354/0.351, allocations: 1.832 MB / 0.5847 GB, free: 12.65 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001919/0.3529, allocations: 1.214 MB / 0.5858 GB, free: 11.43 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00261/0.3555, allocations: 1.923 MB / 0.5877 GB, free: 9.5 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005221/0.356, allocations: 236 kB / 0.588 GB, free: 9.27 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001585/0.3576, allocations: 0.7254 MB / 0.5887 GB, free: 8.543 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001593/0.3592, allocations: 1.604 MB / 0.5902 GB, free: 6.934 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001686/0.3609, allocations: 1.339 MB / 0.5915 GB, free: 5.586 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007412/0.3683, allocations: 6.109 MB / 0.5975 GB, free: 15.45 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.3683, allocations: 4 kB / 0.5975 GB, free: 15.45 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3683, allocations: 3.938 kB / 0.5975 GB, free: 15.45 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.472e-05/0.3684, allocations: 0 / 0.5975 GB, free: 15.45 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.006587/0.375, allocations: 4.061 MB / 0.6015 GB, free: 11.33 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.375, allocations: 8.031 kB / 0.6015 GB, free: 11.32 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01091/0.3859, allocations: 3.098 MB / 0.6045 GB, free: 8.215 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005039/0.391, allocations: 1.869 MB / 0.6063 GB, free: 6.309 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002059/0.3912, allocations: 193 kB / 0.6065 GB, free: 6.117 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007944/0.392, allocations: 243.8 kB / 0.6067 GB, free: 5.879 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01657/0.4085, allocations: 10.17 MB / 0.6167 GB, free: 11.27 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.477e-05/0.4086, allocations: 27.77 kB / 0.6167 GB, free: 11.25 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003701/0.409, allocations: 119.8 kB / 0.6168 GB, free: 11.13 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004083/0.4131, allocations: 2.467 MB / 0.6192 GB, free: 8.66 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01781/0.4309, allocations: 9.337 MB / 0.6284 GB, free: 15.31 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04308/0.474, allocations: 28.64 MB / 0.6563 GB, free: 1.852 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005747/0.4797, allocations: 2.337 MB / 0.6586 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001542/0.4813, allocations: 0.9859 MB / 0.6596 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008946/0.4822, allocations: 438.6 kB / 0.66 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.171e-05/0.4822, allocations: 47.88 kB / 0.66 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=185): time 4.288e-06/0.4822, allocations: 0 / 0.66 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of matching and sorting (n=191): time 0.0203/0.5025, allocations: 8.928 MB / 0.6688 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.726e-05/0.5026, allocations: 68.72 kB / 0.6688 GB, free: 5 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003444/0.506, allocations: 2.605 MB / 0.6714 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001184/0.5061, allocations: 49.7 kB / 0.6714 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002118/0.5083, allocations: 2.788 MB / 0.6741 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007025/0.509, allocations: 0.7325 MB / 0.6748 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001279/0.5102, allocations: 0.9771 MB / 0.6758 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001915/0.5104, allocations: 369.7 kB / 0.6762 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002379/0.5128, allocations: 1.548 MB / 0.6777 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004808/0.5176, allocations: 4.383 MB / 0.6819 GB, free: 6.055 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008429/0.526, allocations: 6.567 MB / 0.6884 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.172e-05/0.5261, allocations: 28 kB / 0.6884 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01012/0.5362, allocations: 5.856 MB / 0.6941 GB, free: 8.199 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.143e-05/0.5363, allocations: 55.88 kB / 0.6942 GB, free: 8.145 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001236/0.5365, allocations: 100 kB / 0.6943 GB, free: 8.047 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003741/0.5368, allocations: 173.5 kB / 0.6944 GB, free: 7.875 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003357/0.5402, allocations: 1.068 MB / 0.6955 GB, free: 6.805 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002037/0.5422, allocations: 1.659 MB / 0.6971 GB, free: 5.035 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002475/0.5447, allocations: 215.9 kB / 0.6973 GB, free: 4.824 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004172/0.5451, allocations: 292 kB / 0.6976 GB, free: 4.539 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.003101/0.5482, allocations: 1.993 MB / 0.6995 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004343/0.5487, allocations: 246.3 kB / 0.6997 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004075/0.5527, allocations: 2.527 MB / 0.7022 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.258e-05/0.5528, allocations: 20 kB / 0.7022 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.5528, allocations: 0 / 0.7022 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-05/0.5528, allocations: 11.97 kB / 0.7022 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01185/0.5646, allocations: 6.52 MB / 0.7086 GB, free: 9.023 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-05/0.5646, allocations: 16.06 kB / 0.7086 GB, free: 9.008 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001023/0.5657, allocations: 243.6 kB / 0.7089 GB, free: 8.77 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001653/0.5658, allocations: 56.83 kB / 0.7089 GB, free: 8.711 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/0.5659, allocations: 39.98 kB / 0.709 GB, free: 8.672 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001461/0.5674, allocations: 1.495 MB / 0.7104 GB, free: 7.059 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-05/0.5674, allocations: 16 kB / 0.7104 GB, free: 7.043 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005494/0.5729, allocations: 4.018 MB / 0.7143 GB, free: 2.879 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005544/0.5735, allocations: 218.3 kB / 0.7146 GB, free: 2.664 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002618/0.5737, allocations: 44.05 kB / 0.7146 GB, free: 2.621 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007377/0.5745, allocations: 55.95 kB / 0.7147 GB, free: 2.566 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00022/0.5747, allocations: 120.6 kB / 0.7148 GB, free: 2.445 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001239/0.5748, allocations: 67.98 kB / 0.7148 GB, free: 2.379 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002165/0.577, allocations: 1.469 MB / 0.7163 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.577, allocations: 0 / 0.7163 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003299/0.5803, allocations: 0.7772 MB / 0.717 GB, free: 120 kB / 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.0003907/0.5807, allocations: 178.7 kB / 0.7172 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005758/0.5864, allocations: 3.724 MB / 0.7208 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/0.5864, allocations: 4 kB / 0.7208 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001683/0.5881, allocations: 1.166 MB / 0.722 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001493/0.5896, allocations: 265.5 kB / 0.7222 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01461/0.6042, allocations: 8.645 MB / 0.7307 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2388/0.843, allocations: 2.585 MB / 0.7332 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004279/0.8473, allocations: 1.692 MB / 0.7348 GB, free: 153.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004892/0.8478, allocations: 177.8 kB / 0.735 GB, free: 153.8 MB / 0.5606 GB Notification: Performance of SimCode: time 1.613e-06/0.8478, allocations: 0 / 0.735 GB, free: 153.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.03807/0.8858, allocations: 21.83 MB / 0.7563 GB, free: 140.8 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 -s gbode -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.427861064003082]