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.004296/0.004296, allocations: 81.81 kB / 21.42 MB, free: 3.066 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.001272/0.001272, allocations: 164.4 kB / 24.82 MB, free: 9.258 MB / 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 1.021/1.021, allocations: 177 MB / 205.1 MB, free: 5.461 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.783e-06/1.783e-06, allocations: 0 / 273.3 MB, free: 1.195 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.331e-05/2.51e-05, allocations: 9.266 kB / 273.4 MB, free: 1.188 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses): time 0.01318/0.0132, allocations: 16.17 MB / 289.5 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1178/0.131, allocations: 5.354 MB / 294.9 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00256/0.1336, allocations: 140.8 kB / 295 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00545/0.139, allocations: 4.619 MB / 299.6 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005394/0.1444, allocations: 2.908 MB / 302.5 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002341/0.1468, allocations: 1.655 MB / 304.2 MB, free: 11.38 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008149/0.1549, allocations: 10.07 MB / 314.3 MB, free: 6.391 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005643/0.1606, allocations: 5.603 MB / 319.9 MB, free: 1.035 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008403/0.169, allocations: 5.196 MB / 325.1 MB, free: 12.22 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005533/0.1745, allocations: 4.439 MB / 329.5 MB, free: 8.102 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00156/0.1761, allocations: 0.5508 MB / 330.1 MB, free: 7.551 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002501/0.1786, allocations: 1.573 MB / 331.6 MB, free: 6.027 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002737/0.1813, allocations: 3.61 MB / 335.2 MB, free: 2.523 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00311/0.1844, allocations: 2.193 MB / 337.4 MB, free: 436 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008451/0.1929, allocations: 7.561 MB / 345 MB, free: 9.184 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.433e-06/0.1929, allocations: 0 / 345 MB, free: 9.184 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1929, allocations: 0 / 345 MB, free: 9.184 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.000247/0.1931, allocations: 0 / 345 MB, free: 9.184 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.01154/0.2047, allocations: 8.348 MB / 353.3 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.2047, allocations: 11.98 kB / 353.4 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01312/0.2178, allocations: 3.465 MB / 356.8 MB, free: 13.27 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005184/0.223, allocations: 3.645 MB / 360.5 MB, free: 9.539 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002347/0.2232, allocations: 374.4 kB / 360.8 MB, free: 9.172 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001045/0.2243, allocations: 0.5113 MB / 361.3 MB, free: 8.66 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01339/0.2377, allocations: 9.115 MB / 370.5 MB, free: 14.05 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001771/0.2379, allocations: 75.39 kB / 370.5 MB, free: 13.98 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000441/0.2383, allocations: 231.8 kB / 370.8 MB, free: 13.75 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002217/0.2405, allocations: 2.654 MB / 373.4 MB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01028/0.2508, allocations: 4.279 MB / 377.7 MB, free: 6.785 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.2015/0.4523, allocations: 67.61 MB / 445.3 MB, free: 63.36 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01153/0.4638, allocations: 4.11 MB / 449.4 MB, free: 63.18 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00191/0.4657, allocations: 1.056 MB / 450.5 MB, free: 63.12 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01273/0.4785, allocations: 8.791 MB / 459.3 MB, free: 61.75 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.472e-05/0.4785, allocations: 64.36 kB / 459.3 MB, free: 61.71 MB / 378.7 MB Notification: Performance of pre-optimization done (n=259): time 5.24e-06/0.4785, allocations: 0 / 459.3 MB, free: 61.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=332): time 0.05394/0.5324, allocations: 22.02 MB / 481.3 MB, free: 49.34 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.299e-05/0.5325, allocations: 269.5 kB / 481.6 MB, free: 49.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005685/0.5382, allocations: 5.412 MB / 487 MB, free: 44.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006724/0.5389, allocations: 77.7 kB / 487.1 MB, free: 44.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002235/0.5411, allocations: 5.242 MB / 492.3 MB, free: 39.96 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001416/0.5426, allocations: 1.341 MB / 493.7 MB, free: 38.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001777/0.5443, allocations: 2.03 MB / 495.7 MB, free: 36.56 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.501e-05/0.5444, allocations: 480.8 kB / 496.2 MB, free: 36.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001602/0.546, allocations: 1.116 MB / 497.3 MB, free: 34.96 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003366/0.5493, allocations: 9.312 MB / 0.4947 GB, free: 22.05 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006902/0.5562, allocations: 11.27 MB / 0.5057 GB, free: 7.758 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001159/0.5564, allocations: 56 kB / 0.5058 GB, free: 7.703 MB / 378.7 MB Notification: Performance of matching and sorting (n=1246) (initialization): time 0.01298/0.5693, allocations: 8.876 MB / 0.5145 GB, free: 14.77 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.696e-05/0.5694, allocations: 84 kB / 0.5145 GB, free: 14.69 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001764/0.5696, allocations: 192 kB / 0.5147 GB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005683/0.5753, allocations: 1.975 MB / 0.5166 GB, free: 12.53 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004522/0.5798, allocations: 2.086 MB / 0.5187 GB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01002/0.5898, allocations: 8.214 MB / 0.5267 GB, free: 2.004 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005723/0.5956, allocations: 403.7 kB / 0.5271 GB, free: 1.609 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001148/0.5967, allocations: 480 kB / 0.5275 GB, free: 1.141 MB / 394.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.002422/0.5991, allocations: 0.9284 MB / 0.5284 GB, free: 204 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001589/0.6007, allocations: 0.6409 MB / 0.5291 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006972/0.6077, allocations: 3.582 MB / 0.5326 GB, free: 11.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.203e-05/0.6077, allocations: 39.98 kB / 0.5326 GB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.778e-05/0.6078, allocations: 23.66 kB / 0.5326 GB, free: 11.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.288e-05/0.6078, allocations: 11.95 kB / 0.5326 GB, free: 11.83 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01863/0.6264, allocations: 9.97 MB / 0.5424 GB, free: 1.645 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.976e-05/0.6264, allocations: 8 kB / 0.5424 GB, free: 1.637 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001247/0.6277, allocations: 444.1 kB / 0.5428 GB, free: 1.203 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005172/0.6328, allocations: 1.685 MB / 0.5445 GB, free: 15.51 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003171/0.6332, allocations: 60 kB / 0.5445 GB, free: 15.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008471/0.6416, allocations: 7.065 MB / 0.5514 GB, free: 8.152 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.6416, allocations: 8 kB / 0.5514 GB, free: 8.145 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008782/0.6504, allocations: 4.948 MB / 0.5563 GB, free: 2.973 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001417/0.6518, allocations: 0.5274 MB / 0.5568 GB, free: 2.441 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005043/0.6523, allocations: 67.98 kB / 0.5568 GB, free: 2.375 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001297/0.6536, allocations: 71.97 kB / 0.5569 GB, free: 2.305 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004101/0.654, allocations: 221.4 kB / 0.5571 GB, free: 2.086 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001484/0.6542, allocations: 71.98 kB / 0.5572 GB, free: 2.016 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00263/0.6568, allocations: 2.218 MB / 0.5593 GB, free: 15.82 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6568, allocations: 0 / 0.5593 GB, free: 15.82 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005532/0.6624, allocations: 1.918 MB / 0.5612 GB, free: 13.91 MB / 442.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.000478/0.6628, allocations: 226.7 kB / 0.5614 GB, free: 13.68 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006888/0.6697, allocations: 5.043 MB / 0.5664 GB, free: 8.609 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.6697, allocations: 0 / 0.5664 GB, free: 8.609 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001977/0.6717, allocations: 1.677 MB / 0.568 GB, free: 6.887 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00303/0.6747, allocations: 0.7088 MB / 0.5687 GB, free: 6.207 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0184/0.6931, allocations: 12.44 MB / 0.5808 GB, free: 9.559 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002089/0.6952, allocations: 1.993 MB / 0.5828 GB, free: 7.543 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00245/0.6977, allocations: 0.7803 MB / 0.5836 GB, free: 6.758 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001512/0.6992, allocations: 0.9276 MB / 0.5845 GB, free: 5.828 MB / 458.7 MB Notification: Performance of SimCode: time 2.064e-06/0.6992, allocations: 0 / 0.5845 GB, free: 5.828 MB / 458.7 MB Notification: Performance of Templates: time 0.21/0.9092, allocations: 72.98 MB / 0.6557 GB, free: 130 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.186861308757216]