Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00115/0.00115, allocations: 91.5 kB / 21.2 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001348/0.001348, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9174/0.9174, allocations: 177 MB / 204.8 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.254e-05/2.383e-05, allocations: 9.266 kB / 272.9 MB, free: 1.441 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses): time 0.01239/0.01242, allocations: 16.7 MB / 289.6 MB, free: 0.668 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1255/0.1379, allocations: 5.4 MB / 295 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002201/0.1401, allocations: 143.8 kB / 295.2 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005646/0.1458, allocations: 4.686 MB / 299.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006324/0.1521, allocations: 2.913 MB / 302.8 MB, free: 12.03 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002632/0.1547, allocations: 1.654 MB / 304.4 MB, free: 11.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008479/0.1632, allocations: 10.06 MB / 314.5 MB, free: 6.336 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004652/0.1679, allocations: 5.602 MB / 320.1 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006341/0.1742, allocations: 5.182 MB / 325.3 MB, free: 12.18 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005139/0.1793, allocations: 4.428 MB / 329.7 MB, free: 8.074 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001428/0.1808, allocations: 0.5508 MB / 330.3 MB, free: 7.523 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002837/0.1836, allocations: 1.578 MB / 331.8 MB, free: 5.996 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003089/0.1867, allocations: 3.611 MB / 335.4 MB, free: 2.492 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003501/0.1902, allocations: 2.197 MB / 337.6 MB, free: 400 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008646/0.1988, allocations: 7.554 MB / 345.2 MB, free: 9.078 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.1988, allocations: 0 / 345.2 MB, free: 9.078 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1988, allocations: 0 / 345.2 MB, free: 9.078 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0003189/0.1992, allocations: 0 / 345.2 MB, free: 9.078 MB / 298.7 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.01348/0.2126, allocations: 8.988 MB / 354.2 MB, free: 0 / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/0.2127, allocations: 12.03 kB / 354.2 MB, free: 15.98 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0143/0.227, allocations: 4.467 MB / 358.7 MB, free: 11.51 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005926/0.2329, allocations: 4.094 MB / 362.8 MB, free: 7.328 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001876/0.2331, allocations: 378.4 kB / 363.1 MB, free: 6.957 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007099/0.2338, allocations: 0.5073 MB / 363.6 MB, free: 6.449 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01334/0.2472, allocations: 10.36 MB / 374 MB, free: 10.6 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001491/0.2473, allocations: 79.34 kB / 374.1 MB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004331/0.2477, allocations: 239.8 kB / 374.3 MB, free: 10.29 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002373/0.2501, allocations: 2.845 MB / 377.1 MB, free: 7.438 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01184/0.2619, allocations: 5.66 MB / 382.8 MB, free: 1.758 MB / 330.7 MB 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.1763/0.4382, allocations: 68.92 MB / 451.7 MB, free: 61.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01113/0.4493, allocations: 4.727 MB / 456.5 MB, free: 61 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001857/0.4512, allocations: 1.25 MB / 457.7 MB, free: 60.95 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01195/0.4631, allocations: 9.426 MB / 467.1 MB, free: 59.51 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.753e-05/0.4632, allocations: 70.42 kB / 467.2 MB, free: 59.45 MB / 378.7 MB Notification: Performance of pre-optimization done (n=259): time 5.851e-06/0.4632, allocations: 0 / 467.2 MB, free: 59.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=332): time 0.06286/0.526, allocations: 31 MB / 498.2 MB, free: 37.3 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.493e-05/0.5261, allocations: 277.5 kB / 498.5 MB, free: 36.97 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005548/0.5317, allocations: 5.443 MB / 0.4921 GB, free: 31.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005756/0.5322, allocations: 78.56 kB / 0.4922 GB, free: 31.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001987/0.5342, allocations: 5.2 MB / 0.4973 GB, free: 26.81 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00105/0.5353, allocations: 1.325 MB / 0.4986 GB, free: 25.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00158/0.5369, allocations: 1.994 MB / 0.5005 GB, free: 23.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.387e-05/0.5369, allocations: 480.7 kB / 0.501 GB, free: 23.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001854/0.5387, allocations: 1.252 MB / 0.5022 GB, free: 21.77 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003619/0.5424, allocations: 9.401 MB / 0.5114 GB, free: 8.762 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00941/0.5518, allocations: 11.66 MB / 0.5228 GB, free: 9.98 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001765/0.5519, allocations: 54.08 kB / 0.5228 GB, free: 9.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=1246) (initialization): time 0.03674/0.5887, allocations: 10.4 MB / 0.533 GB, free: 15.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001334/0.5888, allocations: 84 kB / 0.533 GB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002696/0.5891, allocations: 192 kB / 0.5332 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006414/0.5955, allocations: 2.852 MB / 0.536 GB, free: 12.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004852/0.6004, allocations: 2.164 MB / 0.5381 GB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01109/0.6114, allocations: 8.989 MB / 0.5469 GB, free: 0.9805 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004884/0.6163, allocations: 0.6594 MB / 0.5475 GB, free: 328 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009508/0.6173, allocations: 0.5391 MB / 0.5481 GB, free: 15.78 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 867 * 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 (1158): * Single equations (assignments): 1153 * 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,29,100.0%), (4,32,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00206/0.6193, allocations: 0.9352 MB / 0.549 GB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001068/0.6204, allocations: 0.6409 MB / 0.5496 GB, free: 14.19 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008622/0.629, allocations: 4.74 MB / 0.5542 GB, free: 9.379 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.001e-05/0.6291, allocations: 32 kB / 0.5543 GB, free: 9.348 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.527e-05/0.6291, allocations: 16 kB / 0.5543 GB, free: 9.332 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.619e-05/0.6291, allocations: 19.94 kB / 0.5543 GB, free: 9.312 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01874/0.6479, allocations: 11.38 MB / 0.5654 GB, free: 13.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.34e-05/0.6479, allocations: 11.98 kB / 0.5654 GB, free: 13.78 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001252/0.6491, allocations: 0.5038 MB / 0.5659 GB, free: 13.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00656/0.6557, allocations: 2.546 MB / 0.5684 GB, free: 10.72 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002247/0.6559, allocations: 63.3 kB / 0.5685 GB, free: 10.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009452/0.6654, allocations: 7.776 MB / 0.5761 GB, free: 2.652 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.692e-06/0.6654, allocations: 11.94 kB / 0.5761 GB, free: 2.641 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009853/0.6752, allocations: 6.239 MB / 0.5822 GB, free: 12.18 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008569/0.6761, allocations: 0.5509 MB / 0.5827 GB, free: 11.63 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004556/0.6765, allocations: 64 kB / 0.5828 GB, free: 11.57 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001477/0.678, allocations: 303.5 kB / 0.5831 GB, free: 11.27 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004267/0.6784, allocations: 225.4 kB / 0.5833 GB, free: 11.05 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001518/0.6786, allocations: 84 kB / 0.5833 GB, free: 10.96 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00309/0.6817, allocations: 2.391 MB / 0.5857 GB, free: 8.602 MB / 458.7 MB Notification: Performance of sort global known variables: time 2e-07/0.6817, allocations: 0 / 0.5857 GB, free: 8.602 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005224/0.6869, allocations: 1.928 MB / 0.5876 GB, free: 6.676 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * 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 (255): * Single equations (assignments): 250 * 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 {(4,28,62.5%), (1,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004929/0.6874, allocations: 233.8 kB / 0.5878 GB, free: 6.441 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007519/0.6949, allocations: 5.485 MB / 0.5931 GB, free: 0.9258 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.603e-06/0.6949, allocations: 6.266 kB / 0.5932 GB, free: 0.9258 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1022/0.7971, allocations: 1.841 MB / 0.5949 GB, free: 177.2 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003218/0.8003, allocations: 0.711 MB / 0.5956 GB, free: 177.1 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01729/0.8176, allocations: 12.56 MB / 0.6079 GB, free: 172.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001797/0.8194, allocations: 1.993 MB / 0.6098 GB, free: 172 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003704/0.8231, allocations: 2.353 MB / 0.6121 GB, free: 172 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007513/0.8239, allocations: 366.8 kB / 0.6125 GB, free: 171.9 MB / 458.7 MB Notification: Performance of SimCode: time 2.555e-06/0.8239, allocations: 0 / 0.6125 GB, free: 171.9 MB / 458.7 MB Notification: Performance of Templates: time 0.07426/0.8981, allocations: 70.2 MB / 0.6811 GB, free: 112.6 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/LineForceWithTwoMasses/LineForceWithTwoMasses.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.070892859250307]