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.00151/0.00151, allocations: 92.31 kB / 20.96 MB, free: 3.465 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.001624/0.001624, allocations: 157.7 kB / 24.26 MB, free: 168 kB / 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.481/1.481, allocations: 177.2 MB / 204.6 MB, free: 5.602 MB / 186.7 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.3388/0.3388, allocations: 34.26 MB / 295.3 MB, free: 0.6836 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.014e-06/2.014e-06, allocations: 0 / 377.3 MB, free: 2.949 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.219e-05/3.42e-05, allocations: 2.312 kB / 377.3 MB, free: 2.945 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01881/0.01885, allocations: 13.03 MB / 390.3 MB, free: 5.859 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01267/0.03152, allocations: 4.793 MB / 395.1 MB, free: 1.047 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003152/0.03467, allocations: 119.4 kB / 395.2 MB, free: 0.9297 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009515/0.04419, allocations: 4.178 MB / 399.4 MB, free: 12.74 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007395/0.05158, allocations: 2.477 MB / 401.9 MB, free: 10.25 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003574/0.05516, allocations: 1.31 MB / 403.2 MB, free: 8.938 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01168/0.06684, allocations: 7.349 MB / 410.6 MB, free: 1.57 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008622/0.07546, allocations: 4.416 MB / 415 MB, free: 13.09 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008512/0.08397, allocations: 3.313 MB / 418.3 MB, free: 9.766 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00661/0.09058, allocations: 3.297 MB / 421.6 MB, free: 6.461 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001888/0.09247, allocations: 476 kB / 422 MB, free: 5.996 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004538/0.09701, allocations: 1.502 MB / 423.5 MB, free: 4.492 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004846/0.1019, allocations: 2.914 MB / 426.5 MB, free: 1.57 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004787/0.1066, allocations: 1.776 MB / 428.2 MB, free: 15.79 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01509/0.1217, allocations: 9.626 MB / 437.9 MB, free: 6.133 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1217, allocations: 0 / 437.9 MB, free: 6.133 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1217, allocations: 0 / 437.9 MB, free: 6.133 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003204/0.1221, allocations: 0 / 437.9 MB, free: 6.133 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.1589/0.281, allocations: 6.913 MB / 444.8 MB, free: 97.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.281, allocations: 8.25 kB / 444.8 MB, free: 97.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02589/0.3069, allocations: 3.975 MB / 448.8 MB, free: 96.47 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008431/0.3154, allocations: 4.06 MB / 452.8 MB, free: 95.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002061/0.3156, allocations: 311.9 kB / 453.1 MB, free: 94.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001083/0.3167, allocations: 433.9 kB / 453.5 MB, free: 94.86 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02276/0.3394, allocations: 14.16 MB / 467.7 MB, free: 88.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001633/0.3396, allocations: 62.89 kB / 467.8 MB, free: 88.48 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005694/0.3401, allocations: 202.3 kB / 468 MB, free: 88.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003382/0.3435, allocations: 2.535 MB / 470.5 MB, free: 87.94 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02537/0.3689, allocations: 11.89 MB / 482.4 MB, free: 84.37 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06455/0.4334, allocations: 50.18 MB / 0.5201 GB, free: 36.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01602/0.4495, allocations: 5.516 MB / 0.5255 GB, free: 30.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004393/0.4539, allocations: 3.353 MB / 0.5287 GB, free: 27.39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02284/0.4767, allocations: 13.29 MB / 0.5417 GB, free: 14.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.471e-05/0.4768, allocations: 60.56 kB / 0.5418 GB, free: 14.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=234): time 6.092e-06/0.4768, allocations: 0 / 0.5418 GB, free: 14.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=271): time 0.1412/0.618, allocations: 43.43 MB / 0.5842 GB, free: 2.672 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000219/0.6182, allocations: 269.2 kB / 0.5845 GB, free: 2.355 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008385/0.6266, allocations: 4.914 MB / 0.5893 GB, free: 13.42 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006655/0.6272, allocations: 65.7 kB / 0.5893 GB, free: 13.35 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003694/0.6309, allocations: 4.021 MB / 0.5932 GB, free: 9.293 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002002/0.6329, allocations: 1.05 MB / 0.5943 GB, free: 8.234 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002758/0.6357, allocations: 1.533 MB / 0.5958 GB, free: 6.695 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.6358, allocations: 301.1 kB / 0.5961 GB, free: 6.398 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005891/0.6417, allocations: 3.372 MB / 0.5993 GB, free: 3.023 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1645/0.8063, allocations: 7.781 MB / 0.6069 GB, free: 126.3 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01169/0.818, allocations: 11.81 MB / 0.6185 GB, free: 118.1 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002335/0.8182, allocations: 44.44 kB / 0.6185 GB, free: 118.1 MB / 458.7 MB Notification: Performance of matching and sorting (n=999) (initialization): time 0.03092/0.8491, allocations: 12.29 MB / 0.6305 GB, free: 113.7 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001199/0.8492, allocations: 70.03 kB / 0.6306 GB, free: 113.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002368/0.8495, allocations: 147.8 kB / 0.6307 GB, free: 113.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003416/0.8529, allocations: 1.312 MB / 0.632 GB, free: 113.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006801/0.8597, allocations: 1.901 MB / 0.6339 GB, free: 113.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008915/0.8686, allocations: 8.287 MB / 0.642 GB, free: 108.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007117/0.8757, allocations: 0.5495 MB / 0.6425 GB, free: 108.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001417/0.8771, allocations: 450.6 kB / 0.6429 GB, free: 108.4 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 681 * 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 (947): * Single equations (assignments): 942 * 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,13,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004725/0.8819, allocations: 2.622 MB / 0.6455 GB, free: 107.2 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001248/0.8831, allocations: 0.5098 MB / 0.646 GB, free: 107.2 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009308/0.8924, allocations: 6.063 MB / 0.6519 GB, free: 104.9 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.429e-05/0.8924, allocations: 31.5 kB / 0.6519 GB, free: 104.9 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.391e-05/0.8925, allocations: 11.81 kB / 0.6519 GB, free: 104.9 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.653e-05/0.8925, allocations: 13.31 kB / 0.652 GB, free: 104.9 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02341/0.9159, allocations: 11.76 MB / 0.6634 GB, free: 100.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.92e-05/0.9159, allocations: 0 / 0.6634 GB, free: 100.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00304/0.919, allocations: 0.5869 MB / 0.664 GB, free: 100.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003028/0.922, allocations: 1.069 MB / 0.6651 GB, free: 99.96 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003639/0.9223, allocations: 43.89 kB / 0.6651 GB, free: 99.92 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007314/0.9297, allocations: 7.643 MB / 0.6726 GB, free: 93.02 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.9297, allocations: 3.047 kB / 0.6726 GB, free: 93.02 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0124/0.9421, allocations: 10.25 MB / 0.6826 GB, free: 84.39 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00115/0.9432, allocations: 452.1 kB / 0.683 GB, free: 84.06 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007394/0.944, allocations: 40 kB / 0.683 GB, free: 84.02 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003002/0.947, allocations: 319.4 kB / 0.6833 GB, free: 83.71 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005332/0.9475, allocations: 149.7 kB / 0.6835 GB, free: 83.57 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00024/0.9477, allocations: 75.98 kB / 0.6836 GB, free: 83.49 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00393/0.9517, allocations: 2.89 MB / 0.6864 GB, free: 80.6 MB / 458.7 MB Notification: Performance of sort global known variables: time 1e-07/0.9517, allocations: 0 / 0.6864 GB, free: 80.6 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006498/0.9582, allocations: 1.556 MB / 0.6879 GB, free: 79.05 MB / 458.7 MB 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 (229): * Single equations (assignments): 224 * 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,11,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006137/0.9588, allocations: 201.9 kB / 0.6881 GB, free: 78.86 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01004/0.9688, allocations: 7.762 MB / 0.6957 GB, free: 71.1 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.263e-06/0.9688, allocations: 0 / 0.6957 GB, free: 71.1 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003343/0.9722, allocations: 2.779 MB / 0.6984 GB, free: 68.31 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003631/0.9758, allocations: 0.5533 MB / 0.6989 GB, free: 67.78 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01824/0.994, allocations: 13.36 MB / 0.712 GB, free: 54.36 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004432/0.9985, allocations: 3.594 MB / 0.7155 GB, free: 50.75 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005125/1.004, allocations: 2.389 MB / 0.7178 GB, free: 48.36 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001399/1.005, allocations: 304.4 kB / 0.7181 GB, free: 48.06 MB / 458.7 MB Notification: Performance of SimCode: time 1.532e-06/1.005, allocations: 8 kB / 0.7181 GB, free: 48.05 MB / 458.7 MB Notification: Performance of Templates: time 0.07734/1.082, allocations: 50.21 MB / 0.7672 GB, free: 14.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=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: 7.952185511006974]