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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00143/0.00143, allocations: 116.2 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001313/0.001313, allocations: 210 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.364/1.364, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 59.91 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.2334, allocations: 50.54 MB / 409.9 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses): time 0.01659/0.25, allocations: 17.24 MB / 427.2 MB, free: 256 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01207/0.2621, allocations: 5.475 MB / 432.7 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002854/0.265, allocations: 119.6 kB / 432.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008287/0.2734, allocations: 4.353 MB / 437.1 MB, free: 6.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007005/0.2804, allocations: 2.711 MB / 439.8 MB, free: 3.547 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003176/0.2836, allocations: 1.459 MB / 441.3 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01212/0.2958, allocations: 8.655 MB / 449.9 MB, free: 9.418 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00824/0.3041, allocations: 5.356 MB / 455.3 MB, free: 3.984 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004487/0.3086, allocations: 2.66 MB / 458 MB, free: 1.316 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005735/0.3144, allocations: 3.836 MB / 461.8 MB, free: 13.47 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001909/0.3163, allocations: 0.543 MB / 462.3 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003885/0.3202, allocations: 1.611 MB / 464 MB, free: 11.31 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004222/0.3245, allocations: 3.363 MB / 467.3 MB, free: 7.941 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005973/0.3305, allocations: 3.631 MB / 470.9 MB, free: 4.289 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01348/0.344, allocations: 11.14 MB / 482.1 MB, free: 9.113 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.344, allocations: 0 / 482.1 MB, free: 9.113 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.344, allocations: 3.938 kB / 482.1 MB, free: 9.109 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003751/0.3444, allocations: 4 kB / 482.1 MB, free: 9.105 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.02065/0.3651, allocations: 8.183 MB / 490.3 MB, free: 0.8359 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.3651, allocations: 12.03 kB / 490.3 MB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03033/0.3955, allocations: 3.677 MB / 494 MB, free: 13.13 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01284/0.4084, allocations: 5.289 MB / 499.3 MB, free: 7.762 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003643/0.4088, allocations: 369.5 kB / 499.6 MB, free: 7.398 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002019/0.4108, allocations: 0.5112 MB / 0.4884 GB, free: 6.887 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03225/0.4431, allocations: 16.26 MB / 0.5043 GB, free: 5.559 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003281/0.4435, allocations: 75.31 kB / 0.5044 GB, free: 5.484 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001555/0.445, allocations: 239.8 kB / 0.5046 GB, free: 5.25 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004922/0.45, allocations: 2.919 MB / 0.5074 GB, free: 2.328 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02968/0.4797, allocations: 13.73 MB / 0.5208 GB, free: 4.578 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.2814/0.7611, allocations: 64.53 MB / 0.5839 GB, free: 75.13 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02029/0.7814, allocations: 7.87 MB / 0.5916 GB, free: 71.99 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004488/0.786, allocations: 4.348 MB / 0.5958 GB, free: 69.64 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02395/0.8099, allocations: 19.46 MB / 0.6148 GB, free: 51.71 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.488e-05/0.81, allocations: 72.48 kB / 0.6149 GB, free: 51.63 MB / 462.1 MB Notification: Performance of pre-optimization done (n=290): time 5.521e-06/0.81, allocations: 0 / 0.6149 GB, free: 51.63 MB / 462.1 MB Notification: Performance of matching and sorting (n=372): time 0.1522/0.9622, allocations: 49.83 MB / 0.6635 GB, free: 1.707 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.538e-05/0.9623, allocations: 269.8 kB / 0.6638 GB, free: 1.387 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008003/0.9703, allocations: 6.042 MB / 0.6697 GB, free: 11.33 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007471/0.9711, allocations: 81.7 kB / 0.6698 GB, free: 11.25 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00321/0.9743, allocations: 4.67 MB / 0.6743 GB, free: 6.578 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001754/0.9761, allocations: 1.372 MB / 0.6757 GB, free: 5.219 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002734/0.9789, allocations: 1.908 MB / 0.6775 GB, free: 3.297 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.979, allocations: 301.1 kB / 0.6778 GB, free: 3 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006154/0.9851, allocations: 4.235 MB / 0.682 GB, free: 14.76 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01027/0.9954, allocations: 9.465 MB / 0.6912 GB, free: 2.742 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0188/1.014, allocations: 14.64 MB / 0.7055 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001869/1.014, allocations: 52 kB / 0.7055 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.04684/1.061, allocations: 17.57 MB / 0.7227 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000331/1.062, allocations: 84 kB / 0.7228 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003996/1.062, allocations: 180 kB / 0.723 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01705/1.079, allocations: 4.543 MB / 0.7274 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007671/1.087, allocations: 2.129 MB / 0.7295 GB, free: 8.938 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2595/1.346, allocations: 25.37 MB / 0.7542 GB, free: 170.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007341/1.354, allocations: 0.534 MB / 0.7548 GB, free: 170.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001688/1.356, allocations: 0.5358 MB / 0.7553 GB, free: 170.1 MB / 0.5294 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.004686/1.36, allocations: 3.113 MB / 0.7583 GB, free: 169 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009905/1.361, allocations: 0.5748 MB / 0.7589 GB, free: 169 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01999/1.381, allocations: 10.71 MB / 0.7694 GB, free: 165.6 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-05/1.381, allocations: 38.31 kB / 0.7694 GB, free: 165.6 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.462e-05/1.381, allocations: 22.83 kB / 0.7694 GB, free: 165.6 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.22e-05/1.381, allocations: 16.45 kB / 0.7694 GB, free: 165.6 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03654/1.418, allocations: 20.38 MB / 0.7893 GB, free: 149.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.073e-05/1.418, allocations: 4 kB / 0.7893 GB, free: 149.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002823/1.421, allocations: 0.5382 MB / 0.7899 GB, free: 148.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01238/1.433, allocations: 4.178 MB / 0.7939 GB, free: 144.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007558/1.434, allocations: 67.77 kB / 0.794 GB, free: 144.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02703/1.461, allocations: 23.11 MB / 0.8166 GB, free: 121.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/1.461, allocations: 3.938 kB / 0.8166 GB, free: 121.4 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02481/1.486, allocations: 15.66 MB / 0.8319 GB, free: 105.9 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001238/1.487, allocations: 0.5816 MB / 0.8324 GB, free: 105.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009725/1.488, allocations: 60 kB / 0.8325 GB, free: 105.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002836/1.491, allocations: 225.6 kB / 0.8327 GB, free: 105.1 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007171/1.492, allocations: 226.1 kB / 0.8329 GB, free: 104.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002535/1.492, allocations: 95.98 kB / 0.833 GB, free: 104.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004403/1.497, allocations: 3.769 MB / 0.8367 GB, free: 101 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.61e-07/1.497, allocations: 0 / 0.8367 GB, free: 101 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006942/1.503, allocations: 1.905 MB / 0.8386 GB, free: 99.09 MB / 0.5294 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.0006658/1.504, allocations: 211.2 kB / 0.8388 GB, free: 98.88 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01238/1.517, allocations: 10.54 MB / 0.8491 GB, free: 88.39 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/1.517, allocations: 0 / 0.8491 GB, free: 88.39 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004791/1.521, allocations: 4.14 MB / 0.8531 GB, free: 84.23 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003918/1.525, allocations: 0.7731 MB / 0.8539 GB, free: 83.46 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02154/1.547, allocations: 16.85 MB / 0.8703 GB, free: 66.61 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004153/1.551, allocations: 4.831 MB / 0.875 GB, free: 61.75 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001697/1.553, allocations: 451.4 kB / 0.8755 GB, free: 61.3 MB / 0.5294 GB Notification: Performance of SimCode: time 7.81e-07/1.553, allocations: 0 / 0.8755 GB, free: 61.3 MB / 0.5294 GB Notification: Performance of Templates: time 0.345/1.898, allocations: 153.9 MB / 1.026 GB, free: 91.31 MB / 0.5294 GB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/LineForceWithTwoMasses/LineForceWithTwoMasses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches