Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001769/0.001769, allocations: 88.23 kB / 20.2 MB, free: 4.227 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.002025/0.002025, allocations: 157.7 kB / 23.51 MB, free: 0.9219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.495/1.495, allocations: 158.6 MB / 185.3 MB, free: 2.887 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2284/0.2284, allocations: 32.37 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.504e-06/2.504e-06, allocations: 0 / 346.9 MB, free: 9.789 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.934e-05/3.184e-05, allocations: 2.312 kB / 346.9 MB, free: 9.785 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01576/0.01579, allocations: 13.1 MB / 360 MB, free: 12.63 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01288/0.02868, allocations: 4.794 MB / 364.8 MB, free: 7.824 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00357/0.03225, allocations: 127.3 kB / 365 MB, free: 7.699 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009581/0.04183, allocations: 4.185 MB / 369.2 MB, free: 3.496 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008315/0.05014, allocations: 2.527 MB / 371.7 MB, free: 0.957 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003446/0.05359, allocations: 1.306 MB / 373 MB, free: 15.65 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01336/0.06695, allocations: 6.872 MB / 379.9 MB, free: 8.762 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00975/0.0767, allocations: 4.447 MB / 384.3 MB, free: 4.25 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009064/0.08576, allocations: 3.34 MB / 387.6 MB, free: 0.9023 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006974/0.09273, allocations: 3.312 MB / 391 MB, free: 13.58 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001859/0.09459, allocations: 472 kB / 391.4 MB, free: 13.12 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004391/0.09898, allocations: 1.514 MB / 392.9 MB, free: 11.61 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005146/0.1041, allocations: 2.941 MB / 395.9 MB, free: 8.656 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005401/0.1095, allocations: 1.807 MB / 397.7 MB, free: 6.844 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01733/0.1269, allocations: 9.696 MB / 407.4 MB, free: 13.12 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/0.1269, allocations: 0 / 407.4 MB, free: 13.12 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1269, allocations: 0 / 407.4 MB, free: 13.12 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000433/0.1273, allocations: 0 / 407.4 MB, free: 13.12 MB / 346.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.0247/0.152, allocations: 6.937 MB / 414.3 MB, free: 6.109 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.974e-05/0.1521, allocations: 12.03 kB / 414.3 MB, free: 6.098 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02848/0.1806, allocations: 3.98 MB / 418.3 MB, free: 2.109 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01238/0.1929, allocations: 4.172 MB / 422.5 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004135/0.1933, allocations: 316.4 kB / 422.8 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001832/0.1952, allocations: 424.3 kB / 423.2 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03466/0.2298, allocations: 14.16 MB / 437.4 MB, free: 14.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002173/0.23, allocations: 59.47 kB / 437.4 MB, free: 14.02 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006925/0.2307, allocations: 199.8 kB / 437.6 MB, free: 13.82 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005213/0.236, allocations: 2.535 MB / 440.1 MB, free: 11.28 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2287/0.4647, allocations: 11.87 MB / 452 MB, free: 97 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05996/0.5246, allocations: 50.23 MB / 0.4905 GB, free: 58.04 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01502/0.5396, allocations: 5.5 MB / 0.4958 GB, free: 52.53 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003959/0.5436, allocations: 3.353 MB / 0.4991 GB, free: 49.17 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01899/0.5626, allocations: 13.31 MB / 0.5121 GB, free: 36.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.005e-05/0.5626, allocations: 64.55 kB / 0.5122 GB, free: 35.95 MB / 378.7 MB Notification: Performance of pre-optimization done (n=234): time 5.912e-06/0.5626, allocations: 3.562 kB / 0.5122 GB, free: 35.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=271): time 0.1236/0.6862, allocations: 43.46 MB / 0.5546 GB, free: 8.836 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001926/0.6864, allocations: 261.3 kB / 0.5549 GB, free: 8.527 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01051/0.697, allocations: 5.022 MB / 0.5598 GB, free: 3.605 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009135/0.6979, allocations: 65.7 kB / 0.5598 GB, free: 3.535 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004361/0.7022, allocations: 4.027 MB / 0.5638 GB, free: 15.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0023/0.7045, allocations: 1.044 MB / 0.5648 GB, free: 14.49 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003031/0.7076, allocations: 1.532 MB / 0.5663 GB, free: 12.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.7077, allocations: 301.1 kB / 0.5666 GB, free: 12.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006318/0.7141, allocations: 3.376 MB / 0.5699 GB, free: 9.277 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01151/0.7256, allocations: 7.77 MB / 0.5775 GB, free: 15.38 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01978/0.7453, allocations: 11.81 MB / 0.589 GB, free: 1.477 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003144/0.7457, allocations: 44 kB / 0.589 GB, free: 1.434 MB / 426.7 MB Notification: Performance of matching and sorting (n=999) (initialization): time 0.02936/0.775, allocations: 12.28 MB / 0.601 GB, free: 5.141 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001914/0.7752, allocations: 68 kB / 0.6011 GB, free: 5.074 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003635/0.7756, allocations: 152 kB / 0.6012 GB, free: 4.926 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004285/0.7799, allocations: 1.316 MB / 0.6025 GB, free: 3.605 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007944/0.7878, allocations: 1.899 MB / 0.6044 GB, free: 1.703 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1899/0.9777, allocations: 8.271 MB / 0.6124 GB, free: 144.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007953/0.9856, allocations: 0.5778 MB / 0.613 GB, free: 144.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002064/0.9877, allocations: 441.7 kB / 0.6134 GB, free: 144.7 MB / 442.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.005385/0.9931, allocations: 2.631 MB / 0.616 GB, free: 143.7 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001563/0.9947, allocations: 0.5122 MB / 0.6165 GB, free: 143.7 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009333/1.004, allocations: 6.056 MB / 0.6224 GB, free: 141.4 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.447e-05/1.004, allocations: 33.52 kB / 0.6224 GB, free: 141.4 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.509e-05/1.004, allocations: 5.406 kB / 0.6225 GB, free: 141.4 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.531e-05/1.004, allocations: 13.75 kB / 0.6225 GB, free: 141.4 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02067/1.025, allocations: 11.78 MB / 0.634 GB, free: 137.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-05/1.025, allocations: 3.875 kB / 0.634 GB, free: 137.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00294/1.028, allocations: 0.5843 MB / 0.6345 GB, free: 137.1 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003039/1.031, allocations: 1.068 MB / 0.6356 GB, free: 136 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004317/1.031, allocations: 47.98 kB / 0.6356 GB, free: 136 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007325/1.039, allocations: 7.632 MB / 0.6431 GB, free: 128.2 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/1.039, allocations: 7.25 kB / 0.6431 GB, free: 128.2 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01263/1.051, allocations: 10.23 MB / 0.6531 GB, free: 118.2 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002867/1.054, allocations: 0.9395 MB / 0.654 GB, free: 117.5 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001128/1.055, allocations: 47.94 kB / 0.654 GB, free: 117.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003303/1.058, allocations: 322.5 kB / 0.6543 GB, free: 117.2 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000496/1.059, allocations: 157.7 kB / 0.6545 GB, free: 117 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002283/1.059, allocations: 64 kB / 0.6546 GB, free: 116.9 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004101/1.063, allocations: 2.968 MB / 0.6575 GB, free: 114 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.1e-08/1.063, allocations: 0 / 0.6575 GB, free: 114 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008653/1.072, allocations: 1.581 MB / 0.659 GB, free: 112.4 MB / 442.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.0008135/1.073, allocations: 215.8 kB / 0.6592 GB, free: 112.2 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01139/1.084, allocations: 7.76 MB / 0.6668 GB, free: 104.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.745e-06/1.084, allocations: 0 / 0.6668 GB, free: 104.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003492/1.088, allocations: 2.767 MB / 0.6695 GB, free: 101.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004245/1.092, allocations: 0.5521 MB / 0.67 GB, free: 101.2 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02259/1.114, allocations: 13.42 MB / 0.6831 GB, free: 87.82 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004355/1.119, allocations: 3.599 MB / 0.6866 GB, free: 84.2 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005346/1.124, allocations: 2.392 MB / 0.689 GB, free: 81.8 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001404/1.126, allocations: 312.4 kB / 0.6893 GB, free: 81.5 MB / 442.7 MB Notification: Performance of SimCode: time 1.844e-06/1.126, allocations: 0 / 0.6893 GB, free: 81.5 MB / 442.7 MB Notification: Performance of Templates: time 0.07637/1.202, allocations: 50.84 MB / 0.7389 GB, free: 30.68 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/LineForceWithMass/LineForceWithMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.807762742973864]