Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.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.001448/0.001448, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001742/0.001742, allocations: 167.3 kB / 24.91 MB, free: 9.152 MB / 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 0.9382/0.9382, allocations: 177.1 MB / 205.3 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] 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.2786/0.2786, allocations: 34.25 MB / 296.1 MB, free: 0.668 MB / 266.7 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.Forces.LineForceWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.LineForceWithMass") translateModel(ModelicaTest.MultiBody.Forces.LineForceWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.LineForceWithMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 325.2 MB, free: 7.684 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.093e-05/2.224e-05, allocations: 10 kB / 325.3 MB, free: 7.676 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01037/0.01039, allocations: 14.08 MB / 339.3 MB, free: 9.531 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009241/0.01963, allocations: 5.103 MB / 344.4 MB, free: 4.406 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002329/0.02196, allocations: 119.4 kB / 344.6 MB, free: 4.289 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004471/0.02643, allocations: 4.295 MB / 348.9 MB, free: 15.98 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004799/0.03123, allocations: 2.539 MB / 351.4 MB, free: 13.43 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001926/0.03316, allocations: 1.298 MB / 352.7 MB, free: 12.13 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007411/0.04057, allocations: 7.336 MB / 360 MB, free: 4.781 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005579/0.04615, allocations: 4.55 MB / 364.6 MB, free: 144 kB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00631/0.05246, allocations: 4.351 MB / 368.9 MB, free: 11.78 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004322/0.05678, allocations: 3.145 MB / 372.1 MB, free: 8.629 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001462/0.05824, allocations: 464 kB / 372.5 MB, free: 8.176 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002727/0.06097, allocations: 1.474 MB / 374 MB, free: 6.699 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002898/0.06387, allocations: 2.922 MB / 376.9 MB, free: 3.77 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003278/0.06715, allocations: 1.772 MB / 378.7 MB, free: 1.992 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007941/0.07509, allocations: 6.294 MB / 385 MB, free: 11.68 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.0751, allocations: 0 / 385 MB, free: 11.68 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.0751, allocations: 0 / 385 MB, free: 11.68 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003388/0.07544, allocations: 0 / 385 MB, free: 11.68 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1941 * Number of variables: 1941 Notification: Performance of Generate backend data structure: time 0.01114/0.08657, allocations: 6.225 MB / 391.2 MB, free: 5.387 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.08661, allocations: 8.031 kB / 391.2 MB, free: 5.379 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00544/0.09205, allocations: 1.448 MB / 392.7 MB, free: 3.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005465/0.09752, allocations: 2.807 MB / 395.5 MB, free: 1.043 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002282/0.09775, allocations: 316.4 kB / 395.8 MB, free: 0.7305 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008136/0.09856, allocations: 420.3 kB / 396.2 MB, free: 328 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01108/0.1096, allocations: 6.89 MB / 403.1 MB, free: 8.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001436/0.1098, allocations: 55.5 kB / 403.1 MB, free: 8.445 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005024/0.1103, allocations: 199.8 kB / 403.3 MB, free: 8.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002465/0.1127, allocations: 2.262 MB / 405.6 MB, free: 5.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008798/0.1215, allocations: 3.481 MB / 409.1 MB, free: 2.488 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2335/0.3551, allocations: 40.18 MB / 449.3 MB, free: 67.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006715/0.3618, allocations: 2.985 MB / 452.2 MB, free: 66.8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001043/0.3628, allocations: 0.6763 MB / 452.9 MB, free: 66.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008442/0.3713, allocations: 6.125 MB / 459 MB, free: 66.05 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.943e-05/0.3713, allocations: 55.19 kB / 459.1 MB, free: 66.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=199): time 6.092e-06/0.3713, allocations: 7.828 kB / 459.1 MB, free: 66.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=225): time 0.02044/0.3918, allocations: 8.836 MB / 467.9 MB, free: 64.92 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.958e-05/0.3918, allocations: 260.2 kB / 468.2 MB, free: 64.64 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004061/0.3959, allocations: 4.066 MB / 472.3 MB, free: 63.78 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002248/0.3961, allocations: 61.19 kB / 472.3 MB, free: 63.74 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001328/0.3974, allocations: 3.865 MB / 476.2 MB, free: 60.74 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006074/0.398, allocations: 0.9025 MB / 477.1 MB, free: 60.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001185/0.3992, allocations: 1.442 MB / 478.5 MB, free: 59.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.057e-05/0.3993, allocations: 301.1 kB / 478.8 MB, free: 59.08 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001388/0.4007, allocations: 0.9551 MB / 479.8 MB, free: 58.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002617/0.4033, allocations: 5.512 MB / 485.3 MB, free: 51.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005056/0.4083, allocations: 7.055 MB / 492.3 MB, free: 43.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001065/0.4084, allocations: 44 kB / 492.4 MB, free: 43.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=1002) (initialization): time 0.006722/0.4152, allocations: 5.151 MB / 497.5 MB, free: 39.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.333e-05/0.4152, allocations: 76 kB / 497.6 MB, free: 39.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001761/0.4154, allocations: 160 kB / 497.8 MB, free: 39.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005477/0.416, allocations: 291.5 kB / 498 MB, free: 38.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003326/0.4193, allocations: 1.759 MB / 499.8 MB, free: 37.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001529/0.4208, allocations: 2.721 MB / 0.4908 GB, free: 34.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004959/0.4258, allocations: 339.7 kB / 0.4911 GB, free: 33.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006689/0.4265, allocations: 393.8 kB / 0.4914 GB, free: 33.64 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 739 * Number of states: 0 () * Number of discrete variables: 57 (lineForceWithMass.lineShapeColor[3],lineForceWithMass.lineShapeColor[2],lineForceWithMass.lineShapeColor[1],lineForceWithMass.massColor[3],lineForceWithMass.massColor[2],lineForceWithMass.massColor[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[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 (976): * Single equations (assignments): 971 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001988/0.4284, allocations: 0.7617 MB / 0.4922 GB, free: 32.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007474/0.4292, allocations: 291.7 kB / 0.4925 GB, free: 32.62 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00135/0.4305, allocations: 1.208 MB / 0.4937 GB, free: 31.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.96e-05/0.4306, allocations: 20 kB / 0.4937 GB, free: 31.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.4306, allocations: 6.188 kB / 0.4937 GB, free: 31.37 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.4306, allocations: 11.95 kB / 0.4937 GB, free: 31.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007614/0.4382, allocations: 5.161 MB / 0.4987 GB, free: 26.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/0.4382, allocations: 4 kB / 0.4987 GB, free: 26.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009482/0.4391, allocations: 360.1 kB / 0.4991 GB, free: 26.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004732/0.4396, allocations: 303.3 kB / 0.4994 GB, free: 26.17 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000124/0.4397, allocations: 46.61 kB / 0.4994 GB, free: 26.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00093/0.4407, allocations: 2.426 MB / 0.5018 GB, free: 23.51 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.4407, allocations: 8 kB / 0.5018 GB, free: 23.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002274/0.443, allocations: 2.188 MB / 0.5039 GB, free: 21.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007541/0.4437, allocations: 415 kB / 0.5043 GB, free: 20.85 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003282/0.444, allocations: 40 kB / 0.5044 GB, free: 20.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007994/0.4448, allocations: 63.48 kB / 0.5044 GB, free: 20.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001541/0.445, allocations: 140.9 kB / 0.5046 GB, free: 20.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.84e-05/0.4451, allocations: 48 kB / 0.5046 GB, free: 20.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001388/0.4465, allocations: 1.533 MB / 0.5061 GB, free: 19.22 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.4465, allocations: 0 / 0.5061 GB, free: 19.22 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005653/0.4521, allocations: 1.301 MB / 0.5074 GB, free: 17.92 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.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 (201): * Single equations (assignments): 196 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005953/0.4527, allocations: 178.7 kB / 0.5075 GB, free: 17.74 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004529/0.4572, allocations: 3.197 MB / 0.5107 GB, free: 14.63 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001963/0.4574, allocations: 116.2 kB / 0.5108 GB, free: 14.51 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007864/0.4582, allocations: 0.7628 MB / 0.5115 GB, free: 13.74 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003207/0.4614, allocations: 0.8033 MB / 0.5123 GB, free: 12.97 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01303/0.4745, allocations: 9.698 MB / 0.5218 GB, free: 3.168 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001259/0.4757, allocations: 1.61 MB / 0.5233 GB, free: 1.535 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002034/0.4777, allocations: 0.6417 MB / 0.524 GB, free: 0.9062 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001092/0.4788, allocations: 0.7214 MB / 0.5247 GB, free: 192 kB / 410.7 MB Notification: Performance of SimCode: time 2.144e-06/0.4788, allocations: 4 kB / 0.5247 GB, free: 188 kB / 410.7 MB Notification: Performance of Templates: time 0.06165/0.5405, allocations: 39.41 MB / 0.5632 GB, free: 9.309 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.LineForceWithMass -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/LineForceWithMass/LineForceWithMass.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.5321434224024415]