Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001282/0.001282, allocations: 113.9 kB / 21.18 MB, free: 0.6289 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.001435/0.001435, allocations: 209.8 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.446/1.446, allocations: 230.4 MB / 258.1 MB, free: 8.152 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 75.81 kB / 378.8 MB, free: 2.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.226, allocations: 53.32 MB / 432.1 MB, free: 7.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses): time 0.02008/0.2461, allocations: 17.33 MB / 449.4 MB, free: 6.008 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01168/0.2578, allocations: 5.537 MB / 454.9 MB, free: 468 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002355/0.2601, allocations: 115.6 kB / 455.1 MB, free: 352 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008852/0.269, allocations: 4.415 MB / 459.5 MB, free: 11.91 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007094/0.2761, allocations: 2.793 MB / 462.3 MB, free: 9.109 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003128/0.2792, allocations: 1.466 MB / 463.7 MB, free: 7.641 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01178/0.291, allocations: 8.665 MB / 472.4 MB, free: 14.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005296/0.2963, allocations: 4.001 MB / 476.4 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004012/0.3003, allocations: 2.667 MB / 479.1 MB, free: 8.203 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006273/0.3065, allocations: 4.152 MB / 483.2 MB, free: 4.039 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001276/0.3078, allocations: 0.5352 MB / 483.8 MB, free: 3.504 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003362/0.3112, allocations: 1.666 MB / 485.4 MB, free: 1.836 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00376/0.3149, allocations: 3.424 MB / 488.8 MB, free: 14.4 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004595/0.3195, allocations: 3.628 MB / 492.5 MB, free: 10.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01373/0.3333, allocations: 11.19 MB / 0.4919 GB, free: 15.52 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3333, allocations: 0 / 0.4919 GB, free: 15.52 MB / 414.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.3333, allocations: 4 kB / 0.4919 GB, free: 15.51 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000289/0.3336, allocations: 0 / 0.4919 GB, free: 15.51 MB / 414.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.01976/0.3533, allocations: 8.386 MB / 0.5001 GB, free: 7.027 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/0.3534, allocations: 8.031 kB / 0.5001 GB, free: 7.02 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0314/0.3848, allocations: 3.725 MB / 0.5037 GB, free: 3.285 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01435/0.3991, allocations: 5.315 MB / 0.5089 GB, free: 13.89 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000324/0.3994, allocations: 369.5 kB / 0.5092 GB, free: 13.52 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001448/0.4009, allocations: 0.5113 MB / 0.5097 GB, free: 13.01 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02975/0.4306, allocations: 16.26 MB / 0.5256 GB, free: 11.69 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002102/0.4309, allocations: 83.39 kB / 0.5257 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006736/0.4315, allocations: 235.8 kB / 0.5259 GB, free: 11.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00509/0.4366, allocations: 2.923 MB / 0.5288 GB, free: 8.449 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2106/0.6472, allocations: 13.72 MB / 0.5422 GB, free: 90.38 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.06235/0.7095, allocations: 64.65 MB / 0.6053 GB, free: 35.11 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02048/0.73, allocations: 7.557 MB / 0.6127 GB, free: 27.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004303/0.7343, allocations: 3.986 MB / 0.6166 GB, free: 23.4 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02534/0.7597, allocations: 19.46 MB / 0.6356 GB, free: 3.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.875e-05/0.7597, allocations: 72.5 kB / 0.6357 GB, free: 3.492 MB / 446.1 MB Notification: Performance of pre-optimization done (n=290): time 4.969e-06/0.7597, allocations: 0 / 0.6357 GB, free: 3.492 MB / 446.1 MB Notification: Performance of matching and sorting (n=372): time 0.1745/0.9342, allocations: 50.15 MB / 0.6846 GB, free: 1.566 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001843/0.9344, allocations: 277.8 kB / 0.6849 GB, free: 1.238 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009232/0.9437, allocations: 6.055 MB / 0.6908 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0009396/0.9446, allocations: 85.7 kB / 0.6909 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.004136/0.9487, allocations: 4.841 MB / 0.6956 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001982/0.9507, allocations: 1.434 MB / 0.697 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002969/0.9537, allocations: 1.933 MB / 0.6989 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.9538, allocations: 301.1 kB / 0.6992 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006843/0.9607, allocations: 4.227 MB / 0.7033 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01139/0.9721, allocations: 9.465 MB / 0.7126 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02031/0.9924, allocations: 14.64 MB / 0.7269 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001246/0.9925, allocations: 54.34 kB / 0.7269 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.2251/1.218, allocations: 17.52 MB / 0.744 GB, free: 179.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001677/1.218, allocations: 82.44 kB / 0.7441 GB, free: 179.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002792/1.218, allocations: 181.5 kB / 0.7443 GB, free: 179.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0137/1.232, allocations: 4.544 MB / 0.7487 GB, free: 179.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006662/1.238, allocations: 2.136 MB / 0.7508 GB, free: 179.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02913/1.268, allocations: 25.39 MB / 0.7756 GB, free: 169.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006962/1.274, allocations: 0.5251 MB / 0.7761 GB, free: 169.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001715/1.276, allocations: 0.5414 MB / 0.7766 GB, free: 169.5 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 (1136): * Single equations (assignments): 1131 * 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,44,100.0%), (2,50,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004368/1.281, allocations: 3.117 MB / 0.7797 GB, free: 168.4 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009473/1.282, allocations: 0.5957 MB / 0.7803 GB, free: 168.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01956/1.301, allocations: 10.66 MB / 0.7907 GB, free: 160.9 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.771e-05/1.301, allocations: 19.94 kB / 0.7907 GB, free: 160.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/1.301, allocations: 0 / 0.7907 GB, free: 160.9 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00115/1.302, allocations: 0.6215 MB / 0.7913 GB, free: 160.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007508/1.303, allocations: 56 kB / 0.7913 GB, free: 160.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002776/1.306, allocations: 227.5 kB / 0.7916 GB, free: 160.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005524/1.306, allocations: 298.8 kB / 0.7918 GB, free: 160.1 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01923/1.326, allocations: 10.42 MB / 0.802 GB, free: 149.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01197/1.338, allocations: 11.52 MB / 0.8133 GB, free: 138.4 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003077/1.341, allocations: 3.021 MB / 0.8162 GB, free: 135.4 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004384/1.345, allocations: 3.772 MB / 0.8199 GB, free: 131.6 MB / 0.545 GB Notification: Performance of Backend: time 3.31e-07/1.345, allocations: 0 / 0.8199 GB, free: 131.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01244/1.357, allocations: 7.457 MB / 0.8272 GB, free: 124.6 MB / 0.545 GB Notification: Performance of SimCode: time 0.01974/1.377, allocations: 15.42 MB / 0.8423 GB, free: 109.2 MB / 0.545 GB Notification: Performance of Templates: time 0.1288/1.506, allocations: 94.31 MB / 0.9344 GB, free: 15.28 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/LineForceWithTwoMasses/LineForceWithTwoMasses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.171610621735454]