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.001033/0.001033, allocations: 80.8 kB / 21.49 MB, free: 2.988 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.001237/0.001237, allocations: 169.2 kB / 24.91 MB, free: 9.207 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 1.017/1.017, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.3378/0.3378, allocations: 34.25 MB / 296.1 MB, free: 0.7227 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.914e-06/1.914e-06, allocations: 0 / 325.3 MB, free: 7.652 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.187e-05/2.379e-05, allocations: 3.078 kB / 325.3 MB, free: 7.648 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.0113/0.01132, allocations: 14.13 MB / 339.4 MB, free: 9.449 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01035/0.02167, allocations: 5.099 MB / 344.5 MB, free: 4.328 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002788/0.02446, allocations: 119.4 kB / 344.6 MB, free: 4.211 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005136/0.02959, allocations: 4.232 MB / 348.9 MB, free: 15.96 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005831/0.03542, allocations: 2.492 MB / 351.4 MB, free: 13.46 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002403/0.03783, allocations: 1.31 MB / 352.7 MB, free: 12.15 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.008118/0.04595, allocations: 7.323 MB / 360 MB, free: 4.816 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00517/0.05112, allocations: 4.323 MB / 364.3 MB, free: 412 kB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006226/0.05734, allocations: 4.289 MB / 368.6 MB, free: 12.11 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004123/0.06147, allocations: 3.145 MB / 371.8 MB, free: 8.953 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00124/0.06271, allocations: 468 kB / 372.2 MB, free: 8.496 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00249/0.0652, allocations: 1.517 MB / 373.7 MB, free: 6.977 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002529/0.06772, allocations: 2.918 MB / 376.7 MB, free: 4.051 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002644/0.07037, allocations: 1.776 MB / 378.4 MB, free: 2.27 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007611/0.07798, allocations: 6.294 MB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.07799, allocations: 0 / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.086e-06/0.07799, allocations: 3.984 kB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002269/0.07822, allocations: 0 / 384.7 MB, free: 11.95 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.007918/0.08613, allocations: 6.221 MB / 391 MB, free: 5.664 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.08617, allocations: 8.031 kB / 391 MB, free: 5.656 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004427/0.0906, allocations: 1.448 MB / 392.4 MB, free: 4.207 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003729/0.09433, allocations: 2.807 MB / 395.2 MB, free: 1.32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001382/0.09447, allocations: 316.4 kB / 395.5 MB, free: 1.008 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005186/0.09499, allocations: 428.3 kB / 395.9 MB, free: 0.5898 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009001/0.104, allocations: 6.886 MB / 402.8 MB, free: 8.773 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001294/0.1041, allocations: 55.56 kB / 402.9 MB, free: 8.719 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003929/0.1045, allocations: 195.8 kB / 403.1 MB, free: 8.527 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001814/0.1063, allocations: 2.266 MB / 405.3 MB, free: 6.254 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007607/0.1139, allocations: 3.477 MB / 408.8 MB, free: 2.766 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2321/0.3461, allocations: 40.18 MB / 449 MB, free: 81.87 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006898/0.353, allocations: 2.992 MB / 452 MB, free: 81.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001061/0.354, allocations: 0.6741 MB / 452.7 MB, free: 81.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008862/0.3629, allocations: 6.117 MB / 458.8 MB, free: 80.92 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.428e-05/0.3629, allocations: 59.91 kB / 458.8 MB, free: 80.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=199): time 4.569e-06/0.3629, allocations: 0 / 458.8 MB, free: 80.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=225): time 0.02201/0.3849, allocations: 8.836 MB / 467.7 MB, free: 78.56 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.866e-05/0.385, allocations: 256.8 kB / 467.9 MB, free: 78.26 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003779/0.3888, allocations: 4.075 MB / 472 MB, free: 75.52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000287/0.3891, allocations: 60.14 kB / 472.1 MB, free: 75.48 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001371/0.3905, allocations: 3.866 MB / 475.9 MB, free: 72.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006621/0.3911, allocations: 0.8989 MB / 476.8 MB, free: 71.46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001278/0.3924, allocations: 1.442 MB / 478.3 MB, free: 70.24 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.796e-05/0.3924, allocations: 304.9 kB / 478.6 MB, free: 69.95 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001436/0.3939, allocations: 0.9552 MB / 479.5 MB, free: 68.99 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002456/0.3963, allocations: 5.514 MB / 485 MB, free: 61.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004315/0.4006, allocations: 7.051 MB / 492.1 MB, free: 52.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.176e-05/0.4007, allocations: 44 kB / 492.1 MB, free: 52.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=1002) (initialization): time 0.006061/0.4068, allocations: 5.148 MB / 497.3 MB, free: 47.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.981e-05/0.4068, allocations: 79.94 kB / 497.3 MB, free: 47.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001164/0.407, allocations: 160 kB / 497.5 MB, free: 47.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004392/0.4074, allocations: 302.7 kB / 497.8 MB, free: 46.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003261/0.4107, allocations: 1.864 MB / 499.7 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001192/0.4118, allocations: 2.715 MB / 0.4906 GB, free: 42.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00393/0.4158, allocations: 339.8 kB / 0.4909 GB, free: 41.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005225/0.4163, allocations: 396 kB / 0.4913 GB, free: 41.4 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.001713/0.418, allocations: 0.7539 MB / 0.492 GB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000607/0.4186, allocations: 291.7 kB / 0.4923 GB, free: 40.35 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00131/0.4199, allocations: 1.211 MB / 0.4935 GB, free: 39.12 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.737e-05/0.4199, allocations: 24 kB / 0.4935 GB, free: 39.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.42, allocations: 4 kB / 0.4935 GB, free: 39.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/0.42, allocations: 11.95 kB / 0.4935 GB, free: 39.08 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007057/0.427, allocations: 5.173 MB / 0.4986 GB, free: 33.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/0.427, allocations: 4 kB / 0.4986 GB, free: 33.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001113/0.4281, allocations: 412 kB / 0.499 GB, free: 33.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004625/0.4286, allocations: 300.7 kB / 0.4993 GB, free: 33.05 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001385/0.4287, allocations: 40 kB / 0.4993 GB, free: 33.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009439/0.4297, allocations: 2.434 MB / 0.5017 GB, free: 30.39 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.4297, allocations: 7.938 kB / 0.5017 GB, free: 30.38 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002355/0.432, allocations: 2.2 MB / 0.5038 GB, free: 28.08 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007712/0.4328, allocations: 404.9 kB / 0.5042 GB, free: 27.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003996/0.4332, allocations: 40 kB / 0.5043 GB, free: 27.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009283/0.4341, allocations: 55.98 kB / 0.5043 GB, free: 27.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00019/0.4343, allocations: 140.9 kB / 0.5045 GB, free: 27.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.122e-05/0.4344, allocations: 51.98 kB / 0.5045 GB, free: 27.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001463/0.4359, allocations: 1.527 MB / 0.506 GB, free: 25.87 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4359, allocations: 4 kB / 0.506 GB, free: 25.87 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004478/0.4404, allocations: 1.305 MB / 0.5073 GB, free: 24.56 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.0003826/0.4408, allocations: 172 kB / 0.5074 GB, free: 24.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003683/0.4444, allocations: 3.19 MB / 0.5106 GB, free: 21.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001828/0.4446, allocations: 112.2 kB / 0.5107 GB, free: 21.08 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007382/0.4454, allocations: 0.7629 MB / 0.5114 GB, free: 20.29 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003002/0.4484, allocations: 0.8128 MB / 0.5122 GB, free: 19.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01178/0.4601, allocations: 9.696 MB / 0.5217 GB, free: 9.664 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001221/0.4614, allocations: 1.598 MB / 0.5232 GB, free: 8.043 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001889/0.4632, allocations: 0.6467 MB / 0.5239 GB, free: 7.406 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001178/0.4644, allocations: 0.7354 MB / 0.5246 GB, free: 6.672 MB / 410.7 MB Notification: Performance of SimCode: time 1.613e-06/0.4644, allocations: 0 / 0.5246 GB, free: 6.672 MB / 410.7 MB Notification: Performance of Templates: time 0.06275/0.5272, allocations: 39.41 MB / 0.5631 GB, free: 15.68 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 -s gbode -gbm=radauIIA3 -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.465955798979849]