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.001365/0.001365, allocations: 107.2 kB / 20.44 MB, free: 1.207 MB / 14.72 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.001484/0.001484, allocations: 213.7 kB / 23.73 MB, free: 4.406 MB / 14.72 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.483/1.483, allocations: 230.5 MB / 257.4 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002071/0.002071, allocations: 67.89 kB / 378.2 MB, free: 2.273 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2463, allocations: 53.4 MB / 431.6 MB, free: 6.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses): time 0.01887/0.2651, allocations: 14.93 MB / 446.6 MB, free: 7.492 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01213/0.2773, allocations: 5.276 MB / 451.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003408/0.2807, allocations: 143.2 kB / 452 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009299/0.29, allocations: 4.24 MB / 456.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007802/0.2978, allocations: 2.812 MB / 459 MB, free: 11 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003716/0.3015, allocations: 1.466 MB / 460.5 MB, free: 9.527 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01359/0.3151, allocations: 8.659 MB / 469.2 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007427/0.3225, allocations: 4.392 MB / 473.6 MB, free: 12.38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005133/0.3276, allocations: 2.702 MB / 476.3 MB, free: 9.668 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006821/0.3345, allocations: 3.937 MB / 480.2 MB, free: 5.719 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002053/0.3365, allocations: 0.5352 MB / 480.7 MB, free: 5.184 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004714/0.3412, allocations: 1.514 MB / 482.2 MB, free: 3.668 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005421/0.3466, allocations: 3.412 MB / 485.7 MB, free: 252 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00593/0.3526, allocations: 2.75 MB / 488.4 MB, free: 13.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01585/0.3684, allocations: 11.26 MB / 499.7 MB, free: 2.176 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.3684, allocations: 3.938 kB / 499.7 MB, free: 2.172 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3684, allocations: 0 / 499.7 MB, free: 2.172 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003927/0.3688, allocations: 0 / 499.7 MB, free: 2.172 MB / 398.1 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.02178/0.3906, allocations: 8.315 MB / 0.4961 GB, free: 9.773 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.3906, allocations: 11.98 kB / 0.4961 GB, free: 9.762 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03744/0.4281, allocations: 3.721 MB / 0.4997 GB, free: 6.031 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02035/0.4484, allocations: 5.227 MB / 0.5048 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005615/0.449, allocations: 377.5 kB / 0.5052 GB, free: 352 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00263/0.4516, allocations: 0.5074 MB / 0.5057 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0361/0.4877, allocations: 16.43 MB / 0.5217 GB, free: 14.3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002941/0.488, allocations: 79.39 kB / 0.5218 GB, free: 14.22 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001083/0.4891, allocations: 239.8 kB / 0.522 GB, free: 13.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005162/0.4943, allocations: 2.926 MB / 0.5249 GB, free: 11.05 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2252/0.7195, allocations: 13.68 MB / 0.5383 GB, free: 91.5 MB / 446.1 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.06124/0.7807, allocations: 59.76 MB / 0.5966 GB, free: 41.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01909/0.7998, allocations: 7.082 MB / 0.6035 GB, free: 34.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004424/0.8042, allocations: 3.99 MB / 0.6074 GB, free: 30.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02372/0.8279, allocations: 16.17 MB / 0.6232 GB, free: 14.73 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.31e-05/0.828, allocations: 60.56 kB / 0.6233 GB, free: 14.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=290): time 6.752e-06/0.828, allocations: 0 / 0.6233 GB, free: 14.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=372): time 0.1712/0.9992, allocations: 49.87 MB / 0.672 GB, free: 13.18 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002046/0.9994, allocations: 269.8 kB / 0.6722 GB, free: 12.86 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008575/1.008, allocations: 5.762 MB / 0.6779 GB, free: 7.25 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008681/1.009, allocations: 83.95 kB / 0.6779 GB, free: 7.164 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004184/1.013, allocations: 4.889 MB / 0.6827 GB, free: 2.23 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002697/1.016, allocations: 1.438 MB / 0.6841 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003659/1.019, allocations: 1.918 MB / 0.686 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001462/1.02, allocations: 301.1 kB / 0.6863 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007805/1.027, allocations: 4.223 MB / 0.6904 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01268/1.04, allocations: 9.546 MB / 0.6997 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02179/1.062, allocations: 14.64 MB / 0.714 GB, free: 13 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002001/1.062, allocations: 52 kB / 0.7141 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1253) (initialization): time 0.04358/1.106, allocations: 17.47 MB / 0.7311 GB, free: 11.44 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001774/1.106, allocations: 83.98 kB / 0.7312 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002663/1.106, allocations: 180 kB / 0.7314 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01562/1.122, allocations: 4.515 MB / 0.7358 GB, free: 6.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008231/1.13, allocations: 2.133 MB / 0.7379 GB, free: 4.523 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2745/1.404, allocations: 24.86 MB / 0.7622 GB, free: 175.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006782/1.411, allocations: 0.5269 MB / 0.7627 GB, free: 175.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009913/1.412, allocations: 0.5433 MB / 0.7632 GB, free: 175.7 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 825 * 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 (1133): * Single equations (assignments): 1128 * 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,45,100.0%), (2,50,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00411/1.416, allocations: 3.119 MB / 0.7662 GB, free: 174.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009205/1.417, allocations: 0.5495 MB / 0.7668 GB, free: 174.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01955/1.437, allocations: 10.61 MB / 0.7771 GB, free: 171.2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.303e-05/1.437, allocations: 40.38 kB / 0.7772 GB, free: 171.2 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-05/1.437, allocations: 19.5 kB / 0.7772 GB, free: 171.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-05/1.437, allocations: 16.36 kB / 0.7772 GB, free: 171.2 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03457/1.472, allocations: 18.34 MB / 0.7951 GB, free: 154.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.593e-05/1.472, allocations: 7.969 kB / 0.7951 GB, free: 154.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002873/1.474, allocations: 0.5421 MB / 0.7957 GB, free: 153.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01233/1.487, allocations: 4.178 MB / 0.7997 GB, free: 149.6 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007211/1.487, allocations: 59.98 kB / 0.7998 GB, free: 149.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02652/1.514, allocations: 22.59 MB / 0.8219 GB, free: 127 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/1.514, allocations: 0 / 0.8219 GB, free: 127 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02413/1.538, allocations: 15.57 MB / 0.8371 GB, free: 111.7 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001447/1.54, allocations: 495.4 kB / 0.8375 GB, free: 111.4 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008541/1.54, allocations: 67.92 kB / 0.8376 GB, free: 111.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002676/1.543, allocations: 223.6 kB / 0.8378 GB, free: 111.1 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006949/1.544, allocations: 245.8 kB / 0.8381 GB, free: 110.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002521/1.544, allocations: 98.39 kB / 0.8382 GB, free: 110.8 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003887/1.548, allocations: 3.355 MB / 0.8414 GB, free: 107.4 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/1.548, allocations: 3.844 kB / 0.8414 GB, free: 107.4 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006604/1.555, allocations: 1.893 MB / 0.8433 GB, free: 105.6 MB / 0.545 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 (272): * Single equations (assignments): 267 * 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,43,100.0%), (1,36,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005605/1.555, allocations: 209.2 kB / 0.8435 GB, free: 105.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01267/1.568, allocations: 10.06 MB / 0.8533 GB, free: 95.33 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/1.568, allocations: 0 / 0.8533 GB, free: 95.33 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005234/1.573, allocations: 3.796 MB / 0.857 GB, free: 91.51 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00431/1.577, allocations: 0.6805 MB / 0.8577 GB, free: 90.84 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02433/1.602, allocations: 16.55 MB / 0.8738 GB, free: 74.27 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004564/1.606, allocations: 4.369 MB / 0.8781 GB, free: 69.87 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005688/1.612, allocations: 2.739 MB / 0.8808 GB, free: 67.12 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001095/1.613, allocations: 355.4 kB / 0.8811 GB, free: 66.77 MB / 0.545 GB Notification: Performance of SimCode: time 9.42e-07/1.613, allocations: 0 / 0.8811 GB, free: 66.77 MB / 0.545 GB Notification: Performance of Templates: time 0.3348/1.948, allocations: 83.45 MB / 0.9626 GB, free: 174.9 MB / 0.545 GB " [Timeout remaining time 658] 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.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: 8.892388168722391]