Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.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.002259/0.002259, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 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.002584/0.002584, allocations: 161.3 kB / 24.27 MB, free: 156 kB / 18.57 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.676/1.676, allocations: 177.1 MB / 204.6 MB, free: 5.625 MB / 186.7 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.3844/0.3844, allocations: 34.27 MB / 295.3 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 179] 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.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 377.3 MB, free: 2.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.495e-05/3.674e-05, allocations: 6.25 kB / 377.3 MB, free: 2.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01987/0.0199, allocations: 12.72 MB / 390 MB, free: 6.184 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01319/0.03309, allocations: 4.751 MB / 394.8 MB, free: 1.422 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003294/0.03639, allocations: 95.56 kB / 394.9 MB, free: 1.328 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01007/0.04646, allocations: 4.268 MB / 399.1 MB, free: 13.05 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007281/0.05374, allocations: 2.325 MB / 401.5 MB, free: 10.71 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003793/0.05754, allocations: 1.31 MB / 402.8 MB, free: 9.398 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01155/0.06909, allocations: 6.537 MB / 409.3 MB, free: 2.852 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008604/0.07769, allocations: 4.682 MB / 414 MB, free: 14.09 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008966/0.08666, allocations: 3.333 MB / 417.3 MB, free: 10.76 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00744/0.0941, allocations: 3.309 MB / 420.6 MB, free: 7.441 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002017/0.09611, allocations: 0.5117 MB / 421.1 MB, free: 6.93 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004387/0.1005, allocations: 1.595 MB / 422.7 MB, free: 5.332 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004874/0.1054, allocations: 2.852 MB / 425.6 MB, free: 2.473 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004561/0.1099, allocations: 1.796 MB / 427.4 MB, free: 0.6719 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01693/0.1269, allocations: 10.11 MB / 437.5 MB, free: 6.531 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.115e-05/0.1269, allocations: 4 kB / 437.5 MB, free: 6.527 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1269, allocations: 0 / 437.5 MB, free: 6.527 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004106/0.1273, allocations: 0 / 437.5 MB, free: 6.527 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.217/0.3443, allocations: 7.665 MB / 445.2 MB, free: 95.81 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.3444, allocations: 11.28 kB / 445.2 MB, free: 95.81 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01859/0.363, allocations: 3.35 MB / 448.5 MB, free: 95.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009111/0.3721, allocations: 3.342 MB / 451.9 MB, free: 94.47 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003094/0.3724, allocations: 375.1 kB / 452.2 MB, free: 94.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001628/0.374, allocations: 429.2 kB / 452.6 MB, free: 94.19 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01945/0.3935, allocations: 9.14 MB / 461.8 MB, free: 89.22 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001512/0.3936, allocations: 58.48 kB / 461.8 MB, free: 89.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005555/0.3942, allocations: 199.1 kB / 462 MB, free: 89.09 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003106/0.3973, allocations: 2.41 MB / 464.4 MB, free: 88.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01652/0.4138, allocations: 5.173 MB / 469.6 MB, free: 87.81 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0668/0.4806, allocations: 63.56 MB / 0.5207 GB, free: 32.79 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01035/0.491, allocations: 2.759 MB / 0.5234 GB, free: 30.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002074/0.493, allocations: 0.9989 MB / 0.5244 GB, free: 29.67 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01569/0.5087, allocations: 7.46 MB / 0.5316 GB, free: 22.64 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.5088, allocations: 62.64 kB / 0.5317 GB, free: 22.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=197): time 5.07e-06/0.5088, allocations: 4 kB / 0.5317 GB, free: 22.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=248): time 0.1413/0.6501, allocations: 31.69 MB / 0.5627 GB, free: 6.789 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000213/0.6503, allocations: 235.6 kB / 0.5629 GB, free: 6.512 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009666/0.66, allocations: 5.279 MB / 0.568 GB, free: 1.207 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006946/0.6607, allocations: 65.69 kB / 0.5681 GB, free: 1.137 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005008/0.6657, allocations: 4.426 MB / 0.5724 GB, free: 12.66 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001957/0.6676, allocations: 1.067 MB / 0.5735 GB, free: 11.59 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003747/0.6714, allocations: 1.877 MB / 0.5753 GB, free: 9.703 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002528/0.6716, allocations: 480.8 kB / 0.5757 GB, free: 9.23 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003716/0.6754, allocations: 1.268 MB / 0.577 GB, free: 7.961 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01146/0.6868, allocations: 7.858 MB / 0.5847 GB, free: 13.22 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01658/0.7034, allocations: 10.14 MB / 0.5946 GB, free: 220 kB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002439/0.7036, allocations: 40 kB / 0.5946 GB, free: 180 kB / 458.7 MB Notification: Performance of matching and sorting (n=963) (initialization): time 0.03089/0.7345, allocations: 9.398 MB / 0.6038 GB, free: 6.762 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001558/0.7347, allocations: 72 kB / 0.6038 GB, free: 6.691 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002643/0.735, allocations: 148 kB / 0.604 GB, free: 6.547 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01408/0.749, allocations: 2.91 MB / 0.6068 GB, free: 3.629 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006442/0.7555, allocations: 1.626 MB / 0.6084 GB, free: 2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2082/0.9637, allocations: 7.513 MB / 0.6158 GB, free: 129 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006722/0.9704, allocations: 0.4902 MB / 0.6162 GB, free: 129 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00135/0.9718, allocations: 428.1 kB / 0.6166 GB, free: 129 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 679 * Number of states: 0 () * Number of discrete variables: 37 (jointUSP.prismatic.positiveBranch,bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (880): * Single equations (assignments): 876 * Array equations: 3 * 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 {(2,58,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00296/0.9747, allocations: 0.8542 MB / 0.6175 GB, free: 128.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001081/0.9758, allocations: 480 kB / 0.6179 GB, free: 128.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01479/0.9906, allocations: 4.889 MB / 0.6227 GB, free: 128.6 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.261e-05/0.9906, allocations: 26.69 kB / 0.6227 GB, free: 128.6 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.229e-05/0.9907, allocations: 11.03 kB / 0.6227 GB, free: 128.6 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.922e-05/0.9907, allocations: 20.61 kB / 0.6228 GB, free: 128.6 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03166/1.022, allocations: 12.9 MB / 0.6354 GB, free: 126.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.137e-05/1.022, allocations: 0 / 0.6354 GB, free: 126.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002177/1.025, allocations: 397.4 kB / 0.6357 GB, free: 126.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01238/1.037, allocations: 2.97 MB / 0.6386 GB, free: 126.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006077/1.038, allocations: 45.42 kB / 0.6387 GB, free: 126.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01604/1.054, allocations: 6.303 MB / 0.6448 GB, free: 122.9 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/1.054, allocations: 6.203 kB / 0.6448 GB, free: 122.9 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02116/1.075, allocations: 6.839 MB / 0.6515 GB, free: 121.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001562/1.076, allocations: 393 kB / 0.6519 GB, free: 121.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008374/1.077, allocations: 36.62 kB / 0.6519 GB, free: 121.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00268/1.08, allocations: 252.2 kB / 0.6522 GB, free: 121.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007998/1.081, allocations: 157.2 kB / 0.6523 GB, free: 121.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002553/1.081, allocations: 76.03 kB / 0.6524 GB, free: 121.2 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003954/1.085, allocations: 2.136 MB / 0.6545 GB, free: 120.5 MB / 474.7 MB Notification: Performance of sort global known variables: time 1e-07/1.085, allocations: 0 / 0.6545 GB, free: 120.5 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007957/1.093, allocations: 1.57 MB / 0.656 GB, free: 120.3 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (revolute.phi,revolute.w) * 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 (173): * Single equations (assignments): 169 * Array equations: 3 * 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 {(2,52,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007904/1.094, allocations: 229.8 kB / 0.6562 GB, free: 120.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00948/1.103, allocations: 5.068 MB / 0.6612 GB, free: 118.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.966e-06/1.103, allocations: 2 kB / 0.6612 GB, free: 118.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003072/1.106, allocations: 1.736 MB / 0.6629 GB, free: 117.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002989/1.109, allocations: 497.5 kB / 0.6634 GB, free: 117.6 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01672/1.126, allocations: 10.36 MB / 0.6735 GB, free: 109.9 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003692/1.13, allocations: 3.255 MB / 0.6767 GB, free: 106.6 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004312/1.134, allocations: 1.807 MB / 0.6784 GB, free: 104.8 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008439/1.135, allocations: 276.5 kB / 0.6787 GB, free: 104.5 MB / 474.7 MB Notification: Performance of SimCode: time 1.794e-06/1.135, allocations: 0 / 0.6787 GB, free: 104.5 MB / 474.7 MB Notification: Performance of Templates: time 0.08499/1.22, allocations: 59.9 MB / 0.7372 GB, free: 45.04 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/JointUSP2/JointUSP2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.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: 8.186597757041454]