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.001202/0.001202, allocations: 87.62 kB / 21.43 MB, free: 3.137 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.004288/0.004288, allocations: 157.1 kB / 24.7 MB, free: 9.406 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.8502/0.8502, allocations: 177.2 MB / 205 MB, free: 5.355 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.2372/0.2372, allocations: 34.26 MB / 295.7 MB, free: 0.6562 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 2.385e-06/2.385e-06, allocations: 0 / 443.5 MB, free: 1.16 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.279e-05/2.518e-05, allocations: 2.281 kB / 443.5 MB, free: 1.156 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.1643/0.1643, allocations: 13.02 MB / 456.5 MB, free: 36.89 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005418/0.1697, allocations: 4.802 MB / 461.3 MB, free: 33.84 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000762/0.1705, allocations: 123.2 kB / 461.4 MB, free: 33.79 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002857/0.1733, allocations: 4.103 MB / 465.5 MB, free: 32.05 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002427/0.1757, allocations: 2.478 MB / 468 MB, free: 30.85 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.1771, allocations: 1.277 MB / 469.3 MB, free: 30.31 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003979/0.181, allocations: 7.354 MB / 476.6 MB, free: 27.49 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002394/0.1834, allocations: 4.287 MB / 480.9 MB, free: 25.63 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00219/0.1856, allocations: 3.324 MB / 484.2 MB, free: 24.2 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003142/0.1888, allocations: 3.277 MB / 487.5 MB, free: 23.32 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006055/0.1894, allocations: 468.8 kB / 488 MB, free: 23.32 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001992/0.1914, allocations: 1.5 MB / 489.5 MB, free: 23.05 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002074/0.1934, allocations: 2.912 MB / 492.4 MB, free: 21.83 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001608/0.195, allocations: 1.777 MB / 494.1 MB, free: 20.96 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009231/0.2043, allocations: 9.574 MB / 0.4919 GB, free: 16.33 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.299e-06/0.2043, allocations: 0 / 0.4919 GB, free: 16.33 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2043, allocations: 5.062 kB / 0.4919 GB, free: 16.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001804/0.2045, allocations: 0 / 0.4919 GB, free: 16.32 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.009929/0.2144, allocations: 6.869 MB / 0.4986 GB, free: 11.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.2144, allocations: 9.031 kB / 0.4986 GB, free: 11.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01193/0.2264, allocations: 3.421 MB / 0.502 GB, free: 9.965 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005794/0.2322, allocations: 4.042 MB / 0.5059 GB, free: 5.875 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.877e-05/0.2323, allocations: 312.4 kB / 0.5062 GB, free: 5.566 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005246/0.2328, allocations: 428.3 kB / 0.5066 GB, free: 5.148 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01439/0.2472, allocations: 14.07 MB / 0.5204 GB, free: 6.152 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001007/0.2473, allocations: 63.45 kB / 0.5204 GB, free: 6.09 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003654/0.2476, allocations: 199.8 kB / 0.5206 GB, free: 5.895 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002322/0.25, allocations: 2.527 MB / 0.5231 GB, free: 3.359 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01477/0.2647, allocations: 11.8 MB / 0.5346 GB, free: 7.555 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04269/0.3074, allocations: 49.89 MB / 0.5833 GB, free: 4.426 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009428/0.3168, allocations: 5.501 MB / 0.5887 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002986/0.3198, allocations: 3.278 MB / 0.5919 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01417/0.334, allocations: 13 MB / 0.6046 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.954e-05/0.334, allocations: 60.56 kB / 0.6047 GB, free: 14.48 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=230): time 4.468e-06/0.334, allocations: 3.938 kB / 0.6047 GB, free: 14.48 MB / 0.5105 GB Notification: Performance of matching and sorting (n=267): time 0.04842/0.3825, allocations: 29.72 MB / 0.6337 GB, free: 0.7656 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.3826, allocations: 265.3 kB / 0.6339 GB, free: 460 kB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2095/0.5921, allocations: 4.937 MB / 0.6388 GB, free: 154.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0007599/0.5929, allocations: 64.42 kB / 0.6388 GB, free: 154.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001298/0.5942, allocations: 4.048 MB / 0.6428 GB, free: 151.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007842/0.5949, allocations: 1.033 MB / 0.6438 GB, free: 151.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00145/0.5964, allocations: 1.528 MB / 0.6453 GB, free: 150.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 3.205e-05/0.5964, allocations: 307.4 kB / 0.6456 GB, free: 150 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00265/0.5991, allocations: 3.006 MB / 0.6485 GB, free: 149 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003669/0.6027, allocations: 7.44 MB / 0.6558 GB, free: 142.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006886/0.6096, allocations: 11.09 MB / 0.6666 GB, free: 133.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.913e-05/0.6097, allocations: 44.38 kB / 0.6666 GB, free: 133.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1001) (initialization): time 0.01152/0.6212, allocations: 11.15 MB / 0.6775 GB, free: 129.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.168e-05/0.6213, allocations: 70.41 kB / 0.6776 GB, free: 129.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001252/0.6214, allocations: 153.4 kB / 0.6778 GB, free: 129.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001772/0.6232, allocations: 1.229 MB / 0.679 GB, free: 129.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003127/0.6263, allocations: 1.827 MB / 0.6807 GB, free: 129 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005902/0.6322, allocations: 8.068 MB / 0.6886 GB, free: 124.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003693/0.6359, allocations: 490 kB / 0.6891 GB, free: 124.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004275/0.6363, allocations: 449.9 kB / 0.6895 GB, free: 124.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 687 * 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 (951): * Single equations (assignments): 946 * 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 {(2,12,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0035/0.6398, allocations: 2.629 MB / 0.6921 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006021/0.6404, allocations: 450.6 kB / 0.6925 GB, free: 122.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005317/0.6457, allocations: 5.19 MB / 0.6976 GB, free: 120.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.939e-05/0.6458, allocations: 27.62 kB / 0.6976 GB, free: 120.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/0.6458, allocations: 3.938 kB / 0.6976 GB, free: 120.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.362e-05/0.6458, allocations: 15.42 kB / 0.6976 GB, free: 120.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01175/0.6575, allocations: 10.2 MB / 0.7076 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.6576, allocations: 0 / 0.7076 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001308/0.6589, allocations: 0.4991 MB / 0.7081 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001376/0.6602, allocations: 0.983 MB / 0.709 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001197/0.6604, allocations: 50.83 kB / 0.7091 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004594/0.665, allocations: 7.452 MB / 0.7164 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.665, allocations: 3.938 kB / 0.7164 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007135/0.6721, allocations: 8.713 MB / 0.7249 GB, free: 98.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008304/0.6729, allocations: 448.4 kB / 0.7253 GB, free: 97.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003039/0.6732, allocations: 40 kB / 0.7253 GB, free: 97.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001199/0.6744, allocations: 235.8 kB / 0.7256 GB, free: 97.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002457/0.6747, allocations: 152.2 kB / 0.7257 GB, free: 97.73 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001172/0.6748, allocations: 82.67 kB / 0.7258 GB, free: 97.66 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002771/0.6776, allocations: 2.908 MB / 0.7286 GB, free: 94.96 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3e-08/0.6776, allocations: 0 / 0.7286 GB, free: 94.96 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004728/0.6823, allocations: 1.484 MB / 0.7301 GB, free: 93.48 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (227): * Single equations (assignments): 222 * 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,10,100.0%), (1,10,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.6827, allocations: 198.2 kB / 0.7303 GB, free: 93.28 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006535/0.6893, allocations: 7.015 MB / 0.7371 GB, free: 86.27 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.6893, allocations: 0 / 0.7371 GB, free: 86.27 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001749/0.691, allocations: 2.374 MB / 0.7394 GB, free: 83.88 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002063/0.6931, allocations: 0.5298 MB / 0.7399 GB, free: 83.37 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01481/0.7079, allocations: 13.46 MB / 0.7531 GB, free: 69.88 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002699/0.7106, allocations: 3.561 MB / 0.7566 GB, free: 66.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001439/0.712, allocations: 368.4 kB / 0.7569 GB, free: 65.94 MB / 0.5261 GB Notification: Performance of SimCode: time 2.414e-06/0.712, allocations: 4 kB / 0.7569 GB, free: 65.93 MB / 0.5261 GB Notification: Performance of Templates: time 0.26/0.972, allocations: 126.5 MB / 0.8805 GB, free: 147.3 MB / 0.5417 GB " [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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.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.63139662425965]