Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001066/0.001066, allocations: 115.9 kB / 18.41 MB, free: 4.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001156/0.001156, allocations: 203.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2105/0.2105, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 72.45 kB / 419 MB, free: 19.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1109, allocations: 62.45 MB / 481.5 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses): time 0.01621/0.1271, allocations: 17.26 MB / 498.7 MB, free: 3.207 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01126/0.1384, allocations: 5.486 MB / 0.4924 GB, free: 13.71 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002365/0.1408, allocations: 119.6 kB / 0.4925 GB, free: 13.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007308/0.1482, allocations: 4.361 MB / 0.4968 GB, free: 9.215 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006217/0.1544, allocations: 2.711 MB / 0.4994 GB, free: 6.496 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002739/0.1572, allocations: 1.455 MB / 0.5008 GB, free: 5.039 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2257/0.3828, allocations: 8.647 MB / 0.5093 GB, free: 14.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00833/0.3912, allocations: 5.362 MB / 0.5145 GB, free: 13.67 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006149/0.3974, allocations: 2.668 MB / 0.5171 GB, free: 13.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00815/0.4056, allocations: 3.828 MB / 0.5209 GB, free: 13.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00314/0.4088, allocations: 0.5352 MB / 0.5214 GB, free: 13.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004937/0.4137, allocations: 1.616 MB / 0.523 GB, free: 13.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00479/0.4186, allocations: 3.303 MB / 0.5262 GB, free: 12.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005397/0.424, allocations: 3.634 MB / 0.5297 GB, free: 9.633 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01064/0.4346, allocations: 11.14 MB / 0.5406 GB, free: 3.508 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.167e-06/0.4347, allocations: 3.312 kB / 0.5406 GB, free: 3.508 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.4347, allocations: 0 / 0.5406 GB, free: 3.508 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004955/0.4352, allocations: 0 / 0.5406 GB, free: 3.508 MB / 382.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.01963/0.4548, allocations: 8.188 MB / 0.5486 GB, free: 13.21 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.4549, allocations: 8.031 kB / 0.5486 GB, free: 13.21 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0265/0.4814, allocations: 3.677 MB / 0.5522 GB, free: 9.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01338/0.4948, allocations: 5.283 MB / 0.5574 GB, free: 4.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003195/0.4952, allocations: 369.8 kB / 0.5577 GB, free: 4.121 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002299/0.4975, allocations: 0.5103 MB / 0.5582 GB, free: 3.664 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03321/0.5307, allocations: 16.26 MB / 0.5741 GB, free: 2.629 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003414/0.5311, allocations: 77.61 kB / 0.5742 GB, free: 2.582 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00111/0.5322, allocations: 239.4 kB / 0.5744 GB, free: 2.402 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004921/0.5372, allocations: 2.921 MB / 0.5773 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02884/0.566, allocations: 13.72 MB / 0.5907 GB, free: 2.062 MB / 430.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.07946/0.6455, allocations: 64.53 MB / 0.6537 GB, free: 484 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02156/0.6671, allocations: 7.884 MB / 0.6614 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006051/0.6732, allocations: 4.348 MB / 0.6656 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02938/0.7026, allocations: 19.44 MB / 0.6846 GB, free: 120 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.613e-05/0.7027, allocations: 72.55 kB / 0.6847 GB, free: 36 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=290): time 5.47e-06/0.7027, allocations: 0 / 0.6847 GB, free: 36 kB / 0.5137 GB Notification: Performance of matching and sorting (n=372): time 0.3788/1.081, allocations: 49.82 MB / 0.7333 GB, free: 185.1 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/1.082, allocations: 273.3 kB / 0.7336 GB, free: 184.8 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008987/1.091, allocations: 6.042 MB / 0.7395 GB, free: 182.7 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0008196/1.091, allocations: 77.55 kB / 0.7396 GB, free: 182.6 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002524/1.094, allocations: 4.673 MB / 0.7441 GB, free: 179 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001661/1.096, allocations: 1.373 MB / 0.7455 GB, free: 178 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002593/1.098, allocations: 1.907 MB / 0.7473 GB, free: 177.1 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.875e-05/1.098, allocations: 304.5 kB / 0.7476 GB, free: 176.8 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004955/1.103, allocations: 4.231 MB / 0.7518 GB, free: 175.4 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00719/1.111, allocations: 9.459 MB / 0.761 GB, free: 167 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01395/1.125, allocations: 14.65 MB / 0.7753 GB, free: 155.9 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001605/1.125, allocations: 51.94 kB / 0.7753 GB, free: 155.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.0356/1.16, allocations: 17.57 MB / 0.7925 GB, free: 139.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.605e-05/1.16, allocations: 80 kB / 0.7926 GB, free: 139.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001685/1.161, allocations: 183.9 kB / 0.7928 GB, free: 139.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01274/1.173, allocations: 4.542 MB / 0.7972 GB, free: 134.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006955/1.18, allocations: 2.137 MB / 0.7993 GB, free: 132.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02919/1.21, allocations: 25.36 MB / 0.824 GB, free: 106.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008263/1.218, allocations: 0.5276 MB / 0.8246 GB, free: 106.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001844/1.22, allocations: 0.5503 MB / 0.8251 GB, free: 105.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 (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.00532/1.225, allocations: 3.116 MB / 0.8281 GB, free: 102.6 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001302/1.226, allocations: 0.5708 MB / 0.8287 GB, free: 102 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01928/1.246, allocations: 10.72 MB / 0.8392 GB, free: 91.2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.781e-05/1.246, allocations: 40.95 kB / 0.8392 GB, free: 91.16 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.615e-05/1.246, allocations: 16 kB / 0.8392 GB, free: 91.14 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.219e-05/1.246, allocations: 19.94 kB / 0.8392 GB, free: 91.12 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03507/1.281, allocations: 20.36 MB / 0.8591 GB, free: 70.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.562e-05/1.281, allocations: 4 kB / 0.8591 GB, free: 70.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002702/1.284, allocations: 0.5383 MB / 0.8597 GB, free: 70.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01191/1.296, allocations: 4.176 MB / 0.8637 GB, free: 66.04 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007016/1.296, allocations: 59.98 kB / 0.8638 GB, free: 65.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02641/1.323, allocations: 23.14 MB / 0.8864 GB, free: 42.57 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.323, allocations: 0 / 0.8864 GB, free: 42.57 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02406/1.347, allocations: 15.65 MB / 0.9017 GB, free: 26.83 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001832/1.349, allocations: 0.5918 MB / 0.9022 GB, free: 26.21 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00136/1.35, allocations: 63.94 kB / 0.9023 GB, free: 26.15 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002918/1.353, allocations: 219.6 kB / 0.9025 GB, free: 25.94 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007826/1.354, allocations: 230.2 kB / 0.9027 GB, free: 25.71 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002812/1.354, allocations: 95.98 kB / 0.9028 GB, free: 25.62 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005844/1.36, allocations: 3.769 MB / 0.9065 GB, free: 21.85 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.01e-07/1.36, allocations: 0 / 0.9065 GB, free: 21.85 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008299/1.368, allocations: 1.904 MB / 0.9084 GB, free: 19.95 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.0006233/1.369, allocations: 214.8 kB / 0.9086 GB, free: 19.74 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.2156/1.585, allocations: 10.53 MB / 0.9189 GB, free: 179.2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/1.585, allocations: 1.219 kB / 0.9189 GB, free: 179.2 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006303/1.591, allocations: 4.13 MB / 0.9229 GB, free: 178.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004237/1.595, allocations: 0.7784 MB / 0.9237 GB, free: 178.1 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02573/1.621, allocations: 16.24 MB / 0.9395 GB, free: 171.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004943/1.626, allocations: 4.857 MB / 0.9443 GB, free: 170 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005428/1.631, allocations: 2.788 MB / 0.947 GB, free: 169.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001023/1.632, allocations: 382.9 kB / 0.9473 GB, free: 169.8 MB / 0.545 GB Notification: Performance of SimCode: time 7.02e-07/1.632, allocations: 0 / 0.9473 GB, free: 169.8 MB / 0.545 GB Notification: Performance of Templates: time 0.1096/1.742, allocations: 76.78 MB / 1.022 GB, free: 101.4 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/LineForceWithTwoMasses/LineForceWithTwoMasses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches