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.001529/0.001529, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.00178/0.00178, allocations: 168.8 kB / 24.82 MB, free: 9.27 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.156/1.156, allocations: 177.1 MB / 205.3 MB, free: 5.52 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.3529/0.3529, allocations: 34.26 MB / 296.1 MB, free: 0.7148 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.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.794e-06/1.794e-06, allocations: 3.938 kB / 378.5 MB, free: 2.383 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.714e-05/1.894e-05, allocations: 6.25 kB / 378.5 MB, free: 2.375 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.0117/0.01172, allocations: 14.07 MB / 392.6 MB, free: 4.238 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008665/0.02038, allocations: 4.905 MB / 397.5 MB, free: 15.32 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001497/0.02188, allocations: 115.4 kB / 397.6 MB, free: 15.2 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004304/0.02618, allocations: 4.244 MB / 401.8 MB, free: 10.95 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003891/0.03008, allocations: 2.496 MB / 404.3 MB, free: 8.438 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001792/0.03187, allocations: 1.306 MB / 405.6 MB, free: 7.129 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006414/0.03828, allocations: 7.351 MB / 413 MB, free: 15.76 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004191/0.04247, allocations: 4.439 MB / 417.4 MB, free: 11.25 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004887/0.04736, allocations: 4.39 MB / 421.8 MB, free: 6.855 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003235/0.0506, allocations: 3.289 MB / 425.1 MB, free: 3.559 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006244/0.05122, allocations: 464 kB / 425.6 MB, free: 3.105 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001912/0.05313, allocations: 1.482 MB / 427.1 MB, free: 1.621 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002174/0.05531, allocations: 2.918 MB / 430 MB, free: 14.69 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001679/0.05698, allocations: 1.78 MB / 431.7 MB, free: 12.91 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005991/0.06298, allocations: 6.287 MB / 438 MB, free: 6.598 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.06298, allocations: 0 / 438 MB, free: 6.598 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.06298, allocations: 4 kB / 438 MB, free: 6.594 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001232/0.06311, allocations: 0 / 438 MB, free: 6.594 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: 1941 * Number of variables: 1941 Notification: Performance of Generate backend data structure: time 0.231/0.2941, allocations: 6.939 MB / 445 MB, free: 92.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/0.2941, allocations: 10.06 kB / 445 MB, free: 92.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01143/0.3056, allocations: 2.932 MB / 447.9 MB, free: 92.45 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006132/0.3117, allocations: 3.007 MB / 450.9 MB, free: 92.04 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003137/0.312, allocations: 313.2 kB / 451.2 MB, free: 92.03 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001853/0.3139, allocations: 423.1 kB / 451.6 MB, free: 92.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01613/0.33, allocations: 7.655 MB / 459.3 MB, free: 88.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001719/0.3302, allocations: 55.89 kB / 459.4 MB, free: 88.26 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003629/0.3305, allocations: 205.7 kB / 459.6 MB, free: 88.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001961/0.3325, allocations: 2.264 MB / 461.8 MB, free: 87.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007462/0.3399, allocations: 3.533 MB / 465.4 MB, free: 87.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03929/0.3792, allocations: 55.17 MB / 0.5083 GB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007992/0.3872, allocations: 3.065 MB / 0.5113 GB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001255/0.3885, allocations: 0.8344 MB / 0.5121 GB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01072/0.3992, allocations: 6.568 MB / 0.5185 GB, free: 36.78 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.654e-05/0.3992, allocations: 59.36 kB / 0.5186 GB, free: 36.71 MB / 410.7 MB Notification: Performance of pre-optimization done (n=199): time 4.318e-06/0.3992, allocations: 0 / 0.5186 GB, free: 36.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=225): time 0.02744/0.4267, allocations: 9.849 MB / 0.5282 GB, free: 28.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.695e-05/0.4268, allocations: 265.3 kB / 0.5285 GB, free: 28.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004435/0.4312, allocations: 4.511 MB / 0.5329 GB, free: 23.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001037/0.4313, allocations: 57.7 kB / 0.5329 GB, free: 23.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001931/0.4332, allocations: 4.409 MB / 0.5372 GB, free: 19.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005833/0.4338, allocations: 0.9344 MB / 0.5382 GB, free: 18.33 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001575/0.4354, allocations: 1.666 MB / 0.5398 GB, free: 16.65 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.906e-05/0.4354, allocations: 476.8 kB / 0.5402 GB, free: 16.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001371/0.4368, allocations: 0.7528 MB / 0.541 GB, free: 15.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003927/0.4407, allocations: 7.711 MB / 0.5485 GB, free: 4.574 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008076/0.4488, allocations: 9.158 MB / 0.5574 GB, free: 8.344 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001218/0.4489, allocations: 47.94 kB / 0.5575 GB, free: 8.297 MB / 426.7 MB Notification: Performance of matching and sorting (n=1002) (initialization): time 0.009477/0.4584, allocations: 6.105 MB / 0.5635 GB, free: 2.18 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.337e-05/0.4585, allocations: 72 kB / 0.5635 GB, free: 2.109 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001712/0.4587, allocations: 164 kB / 0.5637 GB, free: 1.949 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005353/0.4592, allocations: 291.3 kB / 0.564 GB, free: 1.656 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004034/0.4632, allocations: 1.767 MB / 0.5657 GB, free: 15.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002407/0.4657, allocations: 3.773 MB / 0.5694 GB, free: 11.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003561/0.4692, allocations: 327.9 kB / 0.5697 GB, free: 11.56 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005103/0.4697, allocations: 400 kB / 0.5701 GB, free: 11.17 MB / 442.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.002012/0.4717, allocations: 0.7944 MB / 0.5708 GB, free: 10.36 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007491/0.4725, allocations: 0.4971 MB / 0.5713 GB, free: 9.863 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002215/0.4747, allocations: 1.415 MB / 0.5727 GB, free: 8.426 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-05/0.4747, allocations: 24 kB / 0.5727 GB, free: 8.402 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/0.4747, allocations: 4 kB / 0.5727 GB, free: 8.398 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-05/0.4748, allocations: 15.89 kB / 0.5727 GB, free: 8.383 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009173/0.4839, allocations: 6.093 MB / 0.5787 GB, free: 2.129 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/0.4839, allocations: 4 kB / 0.5787 GB, free: 2.125 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009239/0.4849, allocations: 356.1 kB / 0.579 GB, free: 1.777 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002403/0.4851, allocations: 95.23 kB / 0.5791 GB, free: 1.676 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-05/0.4852, allocations: 43.98 kB / 0.5792 GB, free: 1.633 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001667/0.4869, allocations: 3.488 MB / 0.5826 GB, free: 13.92 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.885e-06/0.4869, allocations: 15.88 kB / 0.5826 GB, free: 13.9 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002613/0.4895, allocations: 2.629 MB / 0.5852 GB, free: 11.16 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005772/0.4901, allocations: 424.8 kB / 0.5856 GB, free: 10.75 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002519/0.4903, allocations: 40 kB / 0.5856 GB, free: 10.71 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007594/0.4911, allocations: 67.94 kB / 0.5857 GB, free: 10.64 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001731/0.4912, allocations: 137 kB / 0.5858 GB, free: 10.51 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.28e-05/0.4913, allocations: 47.98 kB / 0.5858 GB, free: 10.46 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001672/0.493, allocations: 1.832 MB / 0.5876 GB, free: 8.633 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.493, allocations: 0 / 0.5876 GB, free: 8.633 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005277/0.4983, allocations: 1.297 MB / 0.5889 GB, free: 7.336 MB / 458.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.0004308/0.4987, allocations: 199.4 kB / 0.5891 GB, free: 7.133 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005005/0.5037, allocations: 3.571 MB / 0.5926 GB, free: 3.562 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.5037, allocations: 4 kB / 0.5926 GB, free: 3.559 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001085/0.5048, allocations: 0.9532 MB / 0.5935 GB, free: 2.57 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002146/0.5069, allocations: 0.5421 MB / 0.594 GB, free: 2.039 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01527/0.5222, allocations: 9.835 MB / 0.6036 GB, free: 8.035 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001742/0.524, allocations: 1.602 MB / 0.6052 GB, free: 6.41 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002088/0.526, allocations: 0.6492 MB / 0.6058 GB, free: 5.758 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001494/0.5275, allocations: 0.7792 MB / 0.6066 GB, free: 4.977 MB / 474.7 MB Notification: Performance of SimCode: time 2.064e-06/0.5275, allocations: 0 / 0.6066 GB, free: 4.977 MB / 474.7 MB Notification: Performance of Templates: time 0.2882/0.8157, allocations: 39.47 MB / 0.6451 GB, free: 129.4 MB / 474.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: 5.4077221299521625]