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.001113/0.001113, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001097/0.001097, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.309/1.309, allocations: 227.4 MB / 247.5 MB, free: 10.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2087/0.2087, allocations: 46.1 MB / 344.9 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 70.8 kB / 419 MB, free: 19.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1077, allocations: 62.46 MB / 481.5 MB, free: 4.562 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses): time 0.01683/0.1246, allocations: 17.27 MB / 498.7 MB, free: 3.215 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01346/0.1381, allocations: 5.482 MB / 0.4924 GB, free: 13.71 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004329/0.1425, allocations: 115.6 kB / 0.4925 GB, free: 13.6 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008302/0.1509, allocations: 4.345 MB / 0.4968 GB, free: 9.242 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007852/0.1588, allocations: 2.711 MB / 0.4994 GB, free: 6.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003468/0.1622, allocations: 1.462 MB / 0.5008 GB, free: 5.055 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2786/0.4409, allocations: 8.637 MB / 0.5093 GB, free: 13.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009087/0.45, allocations: 5.365 MB / 0.5145 GB, free: 13.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006197/0.4563, allocations: 2.668 MB / 0.5171 GB, free: 12.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006946/0.4632, allocations: 3.828 MB / 0.5209 GB, free: 12.58 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002004/0.4653, allocations: 0.5364 MB / 0.5214 GB, free: 12.58 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004099/0.4694, allocations: 1.613 MB / 0.5229 GB, free: 12.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004058/0.4735, allocations: 3.307 MB / 0.5262 GB, free: 11.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003983/0.4775, allocations: 3.629 MB / 0.5297 GB, free: 9.414 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009512/0.487, allocations: 11.15 MB / 0.5406 GB, free: 3.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.487, allocations: 0 / 0.5406 GB, free: 3.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.487, allocations: 6.125 kB / 0.5406 GB, free: 3.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002931/0.4873, allocations: 0 / 0.5406 GB, free: 3.34 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.01643/0.5038, allocations: 8.178 MB / 0.5486 GB, free: 13.11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.5038, allocations: 12.03 kB / 0.5486 GB, free: 13.1 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02532/0.5292, allocations: 3.669 MB / 0.5522 GB, free: 9.422 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01211/0.5413, allocations: 5.292 MB / 0.5574 GB, free: 4.324 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003234/0.5417, allocations: 364.8 kB / 0.5577 GB, free: 4.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001861/0.5435, allocations: 0.5145 MB / 0.5582 GB, free: 3.559 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02944/0.573, allocations: 16.26 MB / 0.5741 GB, free: 2.52 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002475/0.5733, allocations: 74.38 kB / 0.5742 GB, free: 2.477 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009853/0.5743, allocations: 239.6 kB / 0.5744 GB, free: 2.297 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004922/0.5792, allocations: 2.919 MB / 0.5772 GB, free: 15.42 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03042/0.6096, allocations: 13.73 MB / 0.5907 GB, free: 1.957 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.08942/0.6991, allocations: 64.54 MB / 0.6537 GB, free: 368 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02139/0.7205, allocations: 7.87 MB / 0.6614 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006015/0.7266, allocations: 4.349 MB / 0.6656 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02976/0.7564, allocations: 19.45 MB / 0.6846 GB, free: 12 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.341e-05/0.7565, allocations: 68.56 kB / 0.6847 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=290): time 5.12e-06/0.7565, allocations: 0 / 0.6847 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=372): time 0.4018/1.158, allocations: 49.83 MB / 0.7333 GB, free: 185.1 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002022/1.159, allocations: 268.2 kB / 0.7336 GB, free: 184.8 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01205/1.171, allocations: 6.044 MB / 0.7395 GB, free: 182.7 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001046/1.172, allocations: 82.83 kB / 0.7396 GB, free: 182.6 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003106/1.175, allocations: 4.66 MB / 0.7441 GB, free: 179 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0028/1.178, allocations: 1.376 MB / 0.7455 GB, free: 178 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003162/1.181, allocations: 1.911 MB / 0.7473 GB, free: 177.1 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.631e-05/1.181, allocations: 301.7 kB / 0.7476 GB, free: 176.8 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0053/1.186, allocations: 4.233 MB / 0.7518 GB, free: 175.4 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006907/1.193, allocations: 9.464 MB / 0.761 GB, free: 167 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01704/1.21, allocations: 14.64 MB / 0.7753 GB, free: 155.9 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001654/1.21, allocations: 62.28 kB / 0.7753 GB, free: 155.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.03179/1.242, allocations: 17.57 MB / 0.7925 GB, free: 139.2 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001159/1.242, allocations: 84 kB / 0.7926 GB, free: 139.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001687/1.242, allocations: 180 kB / 0.7928 GB, free: 138.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01209/1.255, allocations: 4.542 MB / 0.7972 GB, free: 134.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006837/1.261, allocations: 2.137 MB / 0.7993 GB, free: 132.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02897/1.29, allocations: 25.36 MB / 0.824 GB, free: 106.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008429/1.299, allocations: 0.5312 MB / 0.8246 GB, free: 106 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001605/1.301, allocations: 0.5438 MB / 0.8251 GB, free: 105.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.005664/1.306, allocations: 3.115 MB / 0.8281 GB, free: 102.4 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001378/1.308, allocations: 0.567 MB / 0.8287 GB, free: 101.8 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0188/1.326, allocations: 10.72 MB / 0.8392 GB, free: 91.02 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.263e-05/1.327, allocations: 39.94 kB / 0.8392 GB, free: 90.98 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.832e-05/1.327, allocations: 20 kB / 0.8392 GB, free: 90.96 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.705e-05/1.327, allocations: 19.94 kB / 0.8392 GB, free: 90.94 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03855/1.365, allocations: 20.35 MB / 0.8591 GB, free: 70.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.689e-05/1.365, allocations: 0 / 0.8591 GB, free: 70.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002904/1.368, allocations: 0.546 MB / 0.8596 GB, free: 70.04 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0117/1.38, allocations: 4.182 MB / 0.8637 GB, free: 65.86 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006397/1.381, allocations: 63.98 kB / 0.8638 GB, free: 65.79 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02679/1.407, allocations: 23.12 MB / 0.8864 GB, free: 42.39 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/1.408, allocations: 0 / 0.8864 GB, free: 42.39 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02465/1.432, allocations: 15.67 MB / 0.9017 GB, free: 26.63 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00209/1.434, allocations: 0.588 MB / 0.9022 GB, free: 26.02 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001168/1.435, allocations: 56 kB / 0.9023 GB, free: 25.96 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002851/1.438, allocations: 219.6 kB / 0.9025 GB, free: 25.75 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000781/1.439, allocations: 226.2 kB / 0.9027 GB, free: 25.53 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002737/1.439, allocations: 98.64 kB / 0.9028 GB, free: 25.43 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004554/1.444, allocations: 3.769 MB / 0.9065 GB, free: 21.67 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/1.444, allocations: 480 / 0.9065 GB, free: 21.67 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008898/1.453, allocations: 1.905 MB / 0.9084 GB, free: 19.77 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.0006164/1.454, allocations: 217 kB / 0.9086 GB, free: 19.55 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.2678/1.721, allocations: 10.53 MB / 0.9189 GB, free: 178.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.754e-06/1.721, allocations: 3.125 kB / 0.9189 GB, free: 178.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006458/1.728, allocations: 4.128 MB / 0.9229 GB, free: 178.2 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004857/1.733, allocations: 0.7825 MB / 0.9237 GB, free: 177.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03132/1.764, allocations: 16.23 MB / 0.9395 GB, free: 171.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006439/1.771, allocations: 4.859 MB / 0.9443 GB, free: 169.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005963/1.777, allocations: 2.785 MB / 0.947 GB, free: 169.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001241/1.778, allocations: 381.3 kB / 0.9473 GB, free: 169.6 MB / 0.545 GB Notification: Performance of SimCode: time 2.645e-06/1.778, allocations: 0 / 0.9473 GB, free: 169.6 MB / 0.545 GB Notification: Performance of Templates: time 0.1142/1.892, allocations: 76.78 MB / 1.022 GB, free: 101.2 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 cvode -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