Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.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.002037/0.002037, allocations: 110.8 kB / 21.19 MB, free: 0.6641 MB / 14.72 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.002377/0.002377, allocations: 211.6 kB / 24.49 MB, free: 3.965 MB / 14.72 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.519/1.519, allocations: 230.6 MB / 258.3 MB, free: 7.789 MB / 206.1 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.2475/0.2475, allocations: 46.96 MB / 361.6 MB, free: 4.043 MB / 286.1 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.LineForceWithTwoMasses,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.LineForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses,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.LineForceWithTwoMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 67.91 kB / 0.4973 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.329, allocations: 66.04 MB / 0.5618 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses): time 0.01819/0.3472, allocations: 14.96 MB / 0.5764 GB, free: 5.156 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01208/0.3593, allocations: 5.269 MB / 0.5816 GB, free: 15.87 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003371/0.3626, allocations: 143.2 kB / 0.5817 GB, free: 15.73 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008911/0.3716, allocations: 4.244 MB / 0.5859 GB, free: 11.47 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008342/0.3799, allocations: 2.817 MB / 0.5886 GB, free: 8.645 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003555/0.3835, allocations: 1.462 MB / 0.59 GB, free: 7.18 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01342/0.3969, allocations: 8.667 MB / 0.5985 GB, free: 14.49 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006992/0.4039, allocations: 4.421 MB / 0.6028 GB, free: 9.996 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00485/0.4087, allocations: 2.699 MB / 0.6055 GB, free: 7.289 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006696/0.4154, allocations: 4.159 MB / 0.6095 GB, free: 3.117 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001709/0.4171, allocations: 0.5352 MB / 0.61 GB, free: 2.582 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004604/0.4217, allocations: 1.522 MB / 0.6115 GB, free: 1.059 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004987/0.4267, allocations: 3.424 MB / 0.6149 GB, free: 13.62 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005482/0.4322, allocations: 2.75 MB / 0.6176 GB, free: 10.86 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01575/0.4479, allocations: 11.26 MB / 0.6286 GB, free: 15.55 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.4479, allocations: 0 / 0.6286 GB, free: 15.55 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4479, allocations: 0 / 0.6286 GB, free: 15.55 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0003856/0.4483, allocations: 0 / 0.6286 GB, free: 15.55 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2303 * Number of variables: 2303 Notification: Performance of Generate backend data structure: time 0.02288/0.4712, allocations: 8.319 MB / 0.6367 GB, free: 7.156 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.421e-05/0.4713, allocations: 8.031 kB / 0.6367 GB, free: 7.148 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02986/0.5011, allocations: 3.713 MB / 0.6403 GB, free: 3.426 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01503/0.5162, allocations: 5.224 MB / 0.6454 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004335/0.5166, allocations: 369.8 kB / 0.6458 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002134/0.5187, allocations: 0.5231 MB / 0.6463 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03491/0.5536, allocations: 16.43 MB / 0.6623 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002665/0.5539, allocations: 79.36 kB / 0.6624 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008154/0.5547, allocations: 235.8 kB / 0.6626 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005846/0.5606, allocations: 2.923 MB / 0.6655 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0322/0.5928, allocations: 13.69 MB / 0.6788 GB, free: 10.73 MB / 0.5137 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4054/0.9982, allocations: 59.74 MB / 0.7372 GB, free: 140.1 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02166/1.02, allocations: 7.096 MB / 0.7441 GB, free: 140 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00483/1.025, allocations: 3.994 MB / 0.748 GB, free: 139.4 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02855/1.053, allocations: 16.17 MB / 0.7638 GB, free: 132.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.987e-05/1.053, allocations: 64.22 kB / 0.7639 GB, free: 132.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=290): time 5.982e-06/1.053, allocations: 0 / 0.7639 GB, free: 132.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=372): time 0.1651/1.218, allocations: 49.87 MB / 0.8126 GB, free: 83.78 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.831e-05/1.218, allocations: 265.8 kB / 0.8128 GB, free: 83.46 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007772/1.226, allocations: 5.764 MB / 0.8185 GB, free: 77.93 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001042/1.227, allocations: 85.22 kB / 0.8185 GB, free: 77.85 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002358/1.23, allocations: 4.89 MB / 0.8233 GB, free: 73.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001574/1.231, allocations: 1.436 MB / 0.8247 GB, free: 71.78 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003121/1.234, allocations: 1.913 MB / 0.8266 GB, free: 69.86 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.309e-05/1.234, allocations: 309.1 kB / 0.8269 GB, free: 69.55 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00519/1.24, allocations: 4.223 MB / 0.831 GB, free: 65.32 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007063/1.247, allocations: 9.55 MB / 0.8403 GB, free: 53.27 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01411/1.261, allocations: 14.64 MB / 0.8546 GB, free: 36.17 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001496/1.261, allocations: 52 kB / 0.8547 GB, free: 36.12 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1253) (initialization): time 0.03298/1.294, allocations: 17.46 MB / 0.8717 GB, free: 18.62 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000229/1.294, allocations: 83.94 kB / 0.8718 GB, free: 18.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003121/1.294, allocations: 180 kB / 0.872 GB, free: 18.36 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01462/1.309, allocations: 4.519 MB / 0.8764 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008055/1.317, allocations: 2.125 MB / 0.8785 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03808/1.355, allocations: 24.87 MB / 0.9027 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007715/1.363, allocations: 0.5345 MB / 0.9033 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001588/1.365, allocations: 0.5352 MB / 0.9038 GB, free: 1.566 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 825 * Number of states: 0 () * Number of discrete variables: 66 (lineForceWithTwoMasses.massColor[3],lineForceWithTwoMasses.massColor[2],lineForceWithTwoMasses.massColor[1],lineForceWithTwoMasses.color_b[3],lineForceWithTwoMasses.color_b[2],lineForceWithTwoMasses.color_b[1],lineForceWithTwoMasses.color_a[3],lineForceWithTwoMasses.color_a[2],lineForceWithTwoMasses.color_a[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],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (1133): * Single equations (assignments): 1128 * 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,45,100.0%), (2,50,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005747/1.37, allocations: 3.111 MB / 0.9068 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001275/1.372, allocations: 0.5471 MB / 0.9074 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02525/1.397, allocations: 10.62 MB / 0.9177 GB, free: 3.215 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.301e-05/1.397, allocations: 19.92 kB / 0.9177 GB, free: 3.195 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/1.397, allocations: 4 kB / 0.9177 GB, free: 3.191 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001606/1.398, allocations: 0.4922 MB / 0.9182 GB, free: 2.695 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001103/1.4, allocations: 63.94 kB / 0.9183 GB, free: 2.633 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003023/1.403, allocations: 219.7 kB / 0.9185 GB, free: 2.418 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008124/1.403, allocations: 317.8 kB / 0.9188 GB, free: 2.105 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02559/1.429, allocations: 10.38 MB / 0.9289 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01845/1.447, allocations: 11.47 MB / 0.9401 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004703/1.452, allocations: 3.02 MB / 0.9431 GB, free: 9.195 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.006801/1.459, allocations: 3.351 MB / 0.9464 GB, free: 5.867 MB / 0.6231 GB Notification: Performance of Backend: time 4.61e-07/1.459, allocations: 0 / 0.9464 GB, free: 5.867 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0194/1.478, allocations: 7.42 MB / 0.9536 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of SimCode: time 0.02928/1.508, allocations: 15.24 MB / 0.9685 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of Templates: time 0.4305/1.938, allocations: 99.11 MB / 1.065 GB, free: 159.2 MB / 0.6544 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/LineForceWithTwoMasses/LineForceWithTwoMasses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.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: 9.54404047299613]