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.001375/0.001375, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001289/0.001289, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.49/1.49, allocations: 227.4 MB / 246.8 MB, free: 10.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2512/0.2512, allocations: 46.12 MB / 344.2 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002274/0.002274, allocations: 86.98 kB / 417.7 MB, free: 19.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1358, allocations: 62.45 MB / 480.1 MB, free: 5.223 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses): time 0.02016/0.156, allocations: 17.27 MB / 497.4 MB, free: 3.875 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01309/0.1691, allocations: 5.486 MB / 0.4911 GB, free: 14.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003714/0.1728, allocations: 115.6 kB / 0.4912 GB, free: 14.26 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009685/0.1826, allocations: 4.349 MB / 0.4954 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01012/0.1928, allocations: 2.707 MB / 0.4981 GB, free: 7.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004441/0.1972, allocations: 1.466 MB / 0.4995 GB, free: 5.711 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.3234/0.5207, allocations: 8.642 MB / 0.508 GB, free: 13.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009543/0.5303, allocations: 5.378 MB / 0.5132 GB, free: 12.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007474/0.5378, allocations: 2.655 MB / 0.5158 GB, free: 12.71 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009183/0.547, allocations: 3.834 MB / 0.5195 GB, free: 12.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004132/0.5512, allocations: 0.5355 MB / 0.5201 GB, free: 12.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008632/0.5599, allocations: 1.609 MB / 0.5216 GB, free: 12.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007565/0.5675, allocations: 3.308 MB / 0.5249 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01218/0.5797, allocations: 3.635 MB / 0.5284 GB, free: 9.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01636/0.5961, allocations: 10.8 MB / 0.539 GB, free: 3.484 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.326e-06/0.5962, allocations: 0 / 0.539 GB, free: 3.484 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.5962, allocations: 0 / 0.539 GB, free: 3.484 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005041/0.5967, allocations: 0 / 0.539 GB, free: 3.484 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.02518/0.6219, allocations: 8.196 MB / 0.547 GB, free: 13.81 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.622, allocations: 12.03 kB / 0.547 GB, free: 13.8 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03283/0.6548, allocations: 3.676 MB / 0.5506 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01666/0.6716, allocations: 5.179 MB / 0.5556 GB, free: 5.121 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004451/0.672, allocations: 374 kB / 0.556 GB, free: 4.809 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003128/0.6752, allocations: 0.5117 MB / 0.5565 GB, free: 4.352 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04224/0.7174, allocations: 16.25 MB / 0.5724 GB, free: 3.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003419/0.7178, allocations: 75.55 kB / 0.5724 GB, free: 3.273 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001729/0.7196, allocations: 234.9 kB / 0.5727 GB, free: 3.098 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005875/0.7255, allocations: 2.928 MB / 0.5755 GB, free: 220 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03594/0.7614, allocations: 13.72 MB / 0.5889 GB, free: 2.758 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.1139/0.8753, allocations: 64.82 MB / 0.6522 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02622/0.9016, allocations: 7.877 MB / 0.6599 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008238/0.9099, allocations: 4.345 MB / 0.6641 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05719/0.9671, allocations: 19.45 MB / 0.6831 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001234/0.9673, allocations: 71.83 kB / 0.6832 GB, free: 464 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=290): time 9.087e-06/0.9673, allocations: 0 / 0.6832 GB, free: 464 kB / 0.5137 GB Notification: Performance of matching and sorting (n=372): time 0.4616/1.429, allocations: 49.83 MB / 0.7319 GB, free: 185.2 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/1.429, allocations: 272.3 kB / 0.7321 GB, free: 184.9 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01009/1.439, allocations: 6.047 MB / 0.738 GB, free: 182.8 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0008999/1.44, allocations: 81.86 kB / 0.7381 GB, free: 182.7 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002734/1.443, allocations: 4.671 MB / 0.7427 GB, free: 179.1 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00177/1.445, allocations: 1.369 MB / 0.744 GB, free: 178.1 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002809/1.448, allocations: 1.909 MB / 0.7459 GB, free: 177.2 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 3.931e-05/1.448, allocations: 304.2 kB / 0.7462 GB, free: 176.9 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00501/1.453, allocations: 4.23 MB / 0.7503 GB, free: 175.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008124/1.461, allocations: 9.463 MB / 0.7595 GB, free: 167.1 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01594/1.477, allocations: 14.64 MB / 0.7738 GB, free: 155.9 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001999/1.477, allocations: 53.38 kB / 0.7739 GB, free: 155.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.03641/1.513, allocations: 17.57 MB / 0.791 GB, free: 139.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001153/1.514, allocations: 84 kB / 0.7911 GB, free: 139.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00021/1.514, allocations: 180 kB / 0.7913 GB, free: 139.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01352/1.527, allocations: 4.561 MB / 0.7958 GB, free: 134.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00707/1.534, allocations: 2.129 MB / 0.7978 GB, free: 132.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03004/1.564, allocations: 25.39 MB / 0.8226 GB, free: 107.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00853/1.573, allocations: 0.5305 MB / 0.8231 GB, free: 106.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002026/1.575, allocations: 0.5361 MB / 0.8237 GB, free: 106 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.006674/1.582, allocations: 3.129 MB / 0.8267 GB, free: 102.9 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001628/1.583, allocations: 0.5631 MB / 0.8273 GB, free: 102.3 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01993/1.603, allocations: 10.71 MB / 0.8377 GB, free: 91.52 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.422e-05/1.603, allocations: 45.81 kB / 0.8378 GB, free: 91.48 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-05/1.603, allocations: 16 kB / 0.8378 GB, free: 91.46 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.106e-05/1.604, allocations: 15.94 kB / 0.8378 GB, free: 91.45 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03612/1.64, allocations: 20.52 MB / 0.8579 GB, free: 70.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-05/1.64, allocations: 4 kB / 0.8579 GB, free: 70.84 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00287/1.643, allocations: 0.5421 MB / 0.8584 GB, free: 70.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01241/1.655, allocations: 4.188 MB / 0.8625 GB, free: 66.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007697/1.656, allocations: 64.47 kB / 0.8625 GB, free: 66.04 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02688/1.683, allocations: 23.13 MB / 0.8851 GB, free: 42.62 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.683, allocations: 0 / 0.8851 GB, free: 42.62 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02567/1.708, allocations: 15.65 MB / 0.9004 GB, free: 26.89 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001842/1.71, allocations: 0.5874 MB / 0.901 GB, free: 26.27 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00175/1.712, allocations: 59.94 kB / 0.901 GB, free: 26.21 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003899/1.716, allocations: 223.6 kB / 0.9013 GB, free: 26 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001164/1.717, allocations: 226.1 kB / 0.9015 GB, free: 25.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003507/1.718, allocations: 100.1 kB / 0.9016 GB, free: 25.68 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005954/1.724, allocations: 3.772 MB / 0.9052 GB, free: 21.91 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.61e-07/1.724, allocations: 0 / 0.9052 GB, free: 21.91 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.009532/1.733, allocations: 1.904 MB / 0.9071 GB, free: 20.01 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.0009285/1.734, allocations: 212.9 kB / 0.9073 GB, free: 19.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.2145/1.949, allocations: 15.44 MB / 0.9224 GB, free: 179.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.772e-06/1.949, allocations: 1.219 kB / 0.9224 GB, free: 179.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006541/1.955, allocations: 4.131 MB / 0.9264 GB, free: 177.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005437/1.961, allocations: 0.7805 MB / 0.9272 GB, free: 177.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0299/1.991, allocations: 16.41 MB / 0.9432 GB, free: 170.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006308/1.997, allocations: 4.861 MB / 0.948 GB, free: 169.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.007104/2.004, allocations: 2.783 MB / 0.9507 GB, free: 168.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001526/2.006, allocations: 385.7 kB / 0.951 GB, free: 168.8 MB / 0.545 GB Notification: Performance of SimCode: time 8.62e-07/2.006, allocations: 0 / 0.951 GB, free: 168.8 MB / 0.545 GB Notification: Performance of Templates: time 0.1252/2.131, allocations: 84.45 MB / 1.034 GB, free: 88.92 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/LineForceWithTwoMasses/LineForceWithTwoMasses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches