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.002245/0.002245, allocations: 91.61 kB / 20.96 MB, free: 3.441 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.002578/0.002578, allocations: 156.9 kB / 24.27 MB, free: 140 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 1.569/1.569, allocations: 177 MB / 204.5 MB, free: 5.605 MB / 186.7 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 1.383e-06/1.383e-06, allocations: 0 / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.809e-05/2.948e-05, allocations: 9.266 kB / 272.2 MB, free: 1.781 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses): time 0.02276/0.02279, allocations: 16.62 MB / 288.8 MB, free: 1.094 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1224/0.1452, allocations: 5.376 MB / 294.2 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003331/0.1485, allocations: 141.5 kB / 294.3 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009662/0.1581, allocations: 4.682 MB / 299 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007872/0.166, allocations: 2.895 MB / 301.9 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003433/0.1694, allocations: 1.659 MB / 303.6 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0103/0.1797, allocations: 10.06 MB / 313.6 MB, free: 6.523 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006109/0.1859, allocations: 5.608 MB / 319.2 MB, free: 1.207 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007228/0.1931, allocations: 4.138 MB / 323.4 MB, free: 13.31 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007981/0.2011, allocations: 4.492 MB / 327.9 MB, free: 9.145 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001828/0.2029, allocations: 0.5508 MB / 328.4 MB, free: 8.594 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004202/0.2071, allocations: 1.593 MB / 330 MB, free: 7.051 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005017/0.2121, allocations: 3.613 MB / 333.6 MB, free: 3.543 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006467/0.2186, allocations: 2.206 MB / 335.8 MB, free: 1.434 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01807/0.2367, allocations: 11.45 MB / 347.3 MB, free: 6.297 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.2367, allocations: 0 / 347.3 MB, free: 6.297 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.2367, allocations: 0 / 347.3 MB, free: 6.297 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0004479/0.2371, allocations: 0 / 347.3 MB, free: 6.297 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.02718/0.2643, allocations: 9.602 MB / 356.9 MB, free: 12.75 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.75e-05/0.2643, allocations: 11.98 kB / 356.9 MB, free: 12.74 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03635/0.3007, allocations: 4.553 MB / 361.5 MB, free: 8.18 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01527/0.316, allocations: 4.832 MB / 366.3 MB, free: 3.258 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004442/0.3164, allocations: 370.4 kB / 366.6 MB, free: 2.895 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002205/0.3186, allocations: 0.5152 MB / 367.2 MB, free: 2.379 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03007/0.3487, allocations: 10.88 MB / 378 MB, free: 6.008 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002758/0.349, allocations: 71.45 kB / 378.1 MB, free: 5.938 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009149/0.3499, allocations: 235.8 kB / 378.3 MB, free: 5.707 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005479/0.3554, allocations: 2.929 MB / 381.3 MB, free: 2.773 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02274/0.3781, allocations: 6.275 MB / 387.5 MB, free: 12.47 MB / 346.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.2345/0.6126, allocations: 74.21 MB / 461.8 MB, free: 59.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01983/0.6324, allocations: 5.039 MB / 466.8 MB, free: 59 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003141/0.6356, allocations: 1.497 MB / 468.3 MB, free: 58.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0259/0.6615, allocations: 11.33 MB / 479.6 MB, free: 54.94 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.616e-05/0.6615, allocations: 73.44 kB / 479.7 MB, free: 54.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=290): time 6.983e-06/0.6616, allocations: 0 / 479.7 MB, free: 54.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=372): time 0.127/0.7885, allocations: 33.69 MB / 0.5014 GB, free: 28.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.193e-05/0.7886, allocations: 269.8 kB / 0.5016 GB, free: 28.18 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007121/0.7957, allocations: 6.598 MB / 0.5081 GB, free: 21.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007269/0.7965, allocations: 81.7 kB / 0.5081 GB, free: 21.74 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002327/0.7988, allocations: 5.378 MB / 0.5134 GB, free: 16.54 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001581/0.8004, allocations: 1.558 MB / 0.5149 GB, free: 15 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002658/0.803, allocations: 2.391 MB / 0.5172 GB, free: 12.6 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.787e-05/0.8031, allocations: 480.7 kB / 0.5177 GB, free: 12.12 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00316/0.8062, allocations: 1.557 MB / 0.5192 GB, free: 10.56 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00634/0.8126, allocations: 9.647 MB / 0.5286 GB, free: 13.47 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01858/0.8312, allocations: 12.44 MB / 0.5408 GB, free: 13.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002207/0.8314, allocations: 52 kB / 0.5408 GB, free: 13.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=1253) (initialization): time 0.0346/0.866, allocations: 11.63 MB / 0.5522 GB, free: 1.871 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001581/0.8661, allocations: 80 kB / 0.5523 GB, free: 1.793 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000268/0.8664, allocations: 184 kB / 0.5524 GB, free: 1.613 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01864/0.885, allocations: 3.829 MB / 0.5562 GB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009113/0.8942, allocations: 2.14 MB / 0.5583 GB, free: 11.63 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03247/0.9266, allocations: 12.07 MB / 0.5701 GB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009289/0.9359, allocations: 0.6242 MB / 0.5707 GB, free: 14.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002478/0.9384, allocations: 0.5386 MB / 0.5712 GB, free: 14.16 MB / 442.7 MB 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.005859/0.9443, allocations: 1.035 MB / 0.5722 GB, free: 13.12 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002838/0.9471, allocations: 0.6565 MB / 0.5728 GB, free: 12.46 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02196/0.9691, allocations: 6.178 MB / 0.5789 GB, free: 6.215 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.141e-05/0.9691, allocations: 36 kB / 0.5789 GB, free: 6.18 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-05/0.9692, allocations: 20 kB / 0.5789 GB, free: 6.16 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.32e-05/0.9693, allocations: 19.92 kB / 0.579 GB, free: 6.141 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2012/1.171, allocations: 14.39 MB / 0.593 GB, free: 150 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.715e-05/1.171, allocations: 1.312 kB / 0.593 GB, free: 150 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003089/1.174, allocations: 0.5461 MB / 0.5935 GB, free: 150 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01493/1.189, allocations: 3.488 MB / 0.5969 GB, free: 149.9 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006508/1.189, allocations: 65.66 kB / 0.597 GB, free: 149.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02065/1.21, allocations: 10.45 MB / 0.6072 GB, free: 146.2 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/1.21, allocations: 0.6562 kB / 0.6072 GB, free: 146.2 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02144/1.231, allocations: 7.877 MB / 0.6149 GB, free: 145 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001951/1.233, allocations: 0.5456 MB / 0.6154 GB, free: 145 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001408/1.235, allocations: 55.72 kB / 0.6155 GB, free: 145 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003933/1.239, allocations: 321.1 kB / 0.6158 GB, free: 144.9 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009883/1.24, allocations: 238.5 kB / 0.616 GB, free: 144.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002878/1.24, allocations: 95.39 kB / 0.6161 GB, free: 144.9 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005084/1.245, allocations: 2.762 MB / 0.6188 GB, free: 143.9 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.71e-07/1.245, allocations: 0 / 0.6188 GB, free: 143.9 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009261/1.254, allocations: 2.17 MB / 0.6209 GB, free: 143.7 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 (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.0007677/1.255, allocations: 229.6 kB / 0.6212 GB, free: 143.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01146/1.266, allocations: 6.578 MB / 0.6276 GB, free: 139.1 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/1.266, allocations: 4 kB / 0.6276 GB, free: 139 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003885/1.27, allocations: 2.411 MB / 0.6299 GB, free: 136.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00404/1.274, allocations: 0.717 MB / 0.6306 GB, free: 136 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01925/1.294, allocations: 13.08 MB / 0.6434 GB, free: 123 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003572/1.297, allocations: 3.989 MB / 0.6473 GB, free: 119 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004882/1.302, allocations: 2.329 MB / 0.6496 GB, free: 116.6 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001075/1.303, allocations: 372.4 kB / 0.6499 GB, free: 116.2 MB / 442.7 MB Notification: Performance of SimCode: time 1.222e-06/1.303, allocations: 0 / 0.6499 GB, free: 116.2 MB / 442.7 MB Notification: Performance of Templates: time 0.1078/1.411, allocations: 80.65 MB / 0.7287 GB, free: 36.32 MB / 442.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","/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.778725684969686]