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.00144/0.00144, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001599/0.001599, allocations: 166.5 kB / 25.61 MB, free: 8.59 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.8944/0.8944, allocations: 177.1 MB / 206 MB, free: 4.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.1377/0.1377, allocations: 34.26 MB / 296.9 MB, free: 13.95 MB / 282.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.493e-06/1.493e-06, allocations: 0 / 379.3 MB, free: 23.43 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.206e-05/2.356e-05, allocations: 9.344 kB / 379.3 MB, free: 23.43 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01194/0.01197, allocations: 14.07 MB / 393.4 MB, free: 9.293 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009688/0.02166, allocations: 4.892 MB / 398.3 MB, free: 4.383 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002034/0.02369, allocations: 119.4 kB / 398.4 MB, free: 4.266 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00352/0.02721, allocations: 4.248 MB / 402.6 MB, free: 4 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003817/0.03103, allocations: 2.496 MB / 405.1 MB, free: 13.5 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001487/0.03251, allocations: 1.302 MB / 406.4 MB, free: 12.19 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005254/0.03777, allocations: 7.354 MB / 413.8 MB, free: 4.824 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003438/0.04121, allocations: 4.435 MB / 418.2 MB, free: 328 kB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003448/0.04465, allocations: 4.398 MB / 422.6 MB, free: 11.91 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0025/0.04715, allocations: 3.289 MB / 425.9 MB, free: 8.617 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004322/0.04759, allocations: 464 kB / 426.4 MB, free: 8.164 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001511/0.0491, allocations: 1.486 MB / 427.8 MB, free: 6.676 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001581/0.05068, allocations: 2.922 MB / 430.8 MB, free: 3.746 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001228/0.05191, allocations: 1.784 MB / 432.5 MB, free: 1.957 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004185/0.05609, allocations: 6.287 MB / 438.8 MB, free: 11.64 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.05609, allocations: 0 / 438.8 MB, free: 11.64 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.0561, allocations: 0 / 438.8 MB, free: 11.64 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.42e-05/0.05614, allocations: 0 / 438.8 MB, free: 11.64 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.006994/0.06313, allocations: 6.947 MB / 445.8 MB, free: 4.621 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.06317, allocations: 8.031 kB / 445.8 MB, free: 4.613 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0113/0.07447, allocations: 2.935 MB / 448.7 MB, free: 1.672 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003667/0.07813, allocations: 2.999 MB / 451.7 MB, free: 14.61 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001453/0.07828, allocations: 312.3 kB / 452 MB, free: 14.3 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004899/0.07877, allocations: 428.3 kB / 452.4 MB, free: 13.88 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008379/0.08715, allocations: 7.653 MB / 460.1 MB, free: 4.996 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-05/0.08724, allocations: 51.56 kB / 460.1 MB, free: 4.945 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003294/0.08757, allocations: 203.8 kB / 460.3 MB, free: 4.746 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001726/0.0893, allocations: 2.254 MB / 462.6 MB, free: 2.484 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006098/0.0954, allocations: 3.548 MB / 466.1 MB, free: 14.93 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1733/0.2687, allocations: 55.16 MB / 0.5091 GB, free: 67.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006541/0.2752, allocations: 3.055 MB / 0.5121 GB, free: 66.99 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009635/0.2762, allocations: 0.8311 MB / 0.5129 GB, free: 66.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007071/0.2833, allocations: 6.571 MB / 0.5193 GB, free: 65.76 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.2833, allocations: 57.08 kB / 0.5194 GB, free: 65.71 MB / 410.7 MB Notification: Performance of pre-optimization done (n=199): time 3.597e-06/0.2833, allocations: 0.8438 kB / 0.5194 GB, free: 65.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=225): time 0.02139/0.3047, allocations: 9.858 MB / 0.529 GB, free: 60.44 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/0.3047, allocations: 253.3 kB / 0.5292 GB, free: 60.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00287/0.3076, allocations: 4.508 MB / 0.5336 GB, free: 56.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.394e-05/0.3077, allocations: 61.7 kB / 0.5337 GB, free: 56.42 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001238/0.3089, allocations: 4.407 MB / 0.538 GB, free: 52.24 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000409/0.3093, allocations: 0.9422 MB / 0.5389 GB, free: 51.29 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001036/0.3104, allocations: 1.669 MB / 0.5405 GB, free: 49.62 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.18e-05/0.3104, allocations: 476.8 kB / 0.541 GB, free: 49.15 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009662/0.3114, allocations: 0.745 MB / 0.5417 GB, free: 48.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002253/0.3136, allocations: 7.725 MB / 0.5493 GB, free: 37.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004063/0.3177, allocations: 9.148 MB / 0.5582 GB, free: 25.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.14e-05/0.3177, allocations: 48 kB / 0.5582 GB, free: 25.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=1002) (initialization): time 0.005155/0.3229, allocations: 6.099 MB / 0.5642 GB, free: 19.74 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.129e-05/0.3229, allocations: 82.83 kB / 0.5643 GB, free: 19.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.31e-05/0.323, allocations: 160 kB / 0.5644 GB, free: 19.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003356/0.3233, allocations: 299.8 kB / 0.5647 GB, free: 19.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002651/0.326, allocations: 1.758 MB / 0.5664 GB, free: 17.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001097/0.3271, allocations: 3.781 MB / 0.5701 GB, free: 13.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002557/0.3296, allocations: 331.7 kB / 0.5704 GB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000277/0.3299, allocations: 396 kB / 0.5708 GB, free: 12.73 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.001116/0.331, allocations: 0.798 MB / 0.5716 GB, free: 11.92 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006077/0.3316, allocations: 0.4932 MB / 0.5721 GB, free: 11.42 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001415/0.3331, allocations: 1.422 MB / 0.5735 GB, free: 9.977 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-05/0.3331, allocations: 25.7 kB / 0.5735 GB, free: 9.957 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.3331, allocations: 4 kB / 0.5735 GB, free: 9.953 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/0.3331, allocations: 11.97 kB / 0.5735 GB, free: 9.941 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006743/0.3398, allocations: 6.082 MB / 0.5795 GB, free: 3.707 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.3398, allocations: 8.594 kB / 0.5795 GB, free: 3.699 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008963/0.3407, allocations: 367.4 kB / 0.5798 GB, free: 3.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002142/0.341, allocations: 83.3 kB / 0.5799 GB, free: 3.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.239e-05/0.341, allocations: 43.98 kB / 0.5799 GB, free: 3.207 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009356/0.342, allocations: 3.47 MB / 0.5833 GB, free: 15.51 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.912e-06/0.342, allocations: 11.94 kB / 0.5833 GB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002685/0.3447, allocations: 2.637 MB / 0.5859 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004737/0.3451, allocations: 420.9 kB / 0.5863 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003134/0.3455, allocations: 43.98 kB / 0.5864 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008138/0.3463, allocations: 55.98 kB / 0.5864 GB, free: 12.24 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001669/0.3464, allocations: 140.9 kB / 0.5865 GB, free: 12.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.878e-05/0.3465, allocations: 51.39 kB / 0.5866 GB, free: 12.05 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001506/0.348, allocations: 1.832 MB / 0.5884 GB, free: 10.23 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.348, allocations: 0 / 0.5884 GB, free: 10.23 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00353/0.3516, allocations: 1.301 MB / 0.5896 GB, free: 8.926 MB / 426.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.0003342/0.3519, allocations: 201.1 kB / 0.5898 GB, free: 8.719 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004376/0.3563, allocations: 3.561 MB / 0.5933 GB, free: 5.156 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.786e-06/0.3563, allocations: 4 kB / 0.5933 GB, free: 5.152 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00103/0.3573, allocations: 0.9601 MB / 0.5943 GB, free: 4.156 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002249/0.3595, allocations: 0.5398 MB / 0.5948 GB, free: 3.648 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01494/0.3745, allocations: 9.829 MB / 0.6044 GB, free: 9.652 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001404/0.3759, allocations: 1.606 MB / 0.606 GB, free: 8.023 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002019/0.3779, allocations: 0.6497 MB / 0.6066 GB, free: 7.379 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001202/0.3791, allocations: 0.7714 MB / 0.6073 GB, free: 6.605 MB / 442.7 MB Notification: Performance of SimCode: time 1.643e-06/0.3791, allocations: 0 / 0.6073 GB, free: 6.605 MB / 442.7 MB Notification: Performance of Templates: time 0.06058/0.4397, allocations: 40.36 MB / 0.6468 GB, free: 14.85 MB / 490.7 MB " [Timeout remaining time 660] 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.878602156415582]