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.0008681/0.0008681, allocations: 93.14 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000994/0.0009939, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 227.8 MB / 246.8 MB, free: 11.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2437/0.2437, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002758/0.0002758, allocations: 15.92 kB / 419.5 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1372, allocations: 63.56 MB / 483.1 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses): time 0.3795/0.5168, allocations: 70.92 MB / 0.541 GB, free: 2.863 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04209/0.5589, allocations: 14.44 MB / 0.5551 GB, free: 9.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02311/0.582, allocations: 324.2 kB / 0.5554 GB, free: 9.516 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003222/0.5853, allocations: 0.6285 MB / 0.5561 GB, free: 9.016 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009268/0.5946, allocations: 2.563 MB / 0.5586 GB, free: 7.199 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00353/0.5981, allocations: 1.345 MB / 0.5599 GB, free: 6.324 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01614/0.6143, allocations: 12.07 MB / 0.5717 GB, free: 12 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01163/0.626, allocations: 7.088 MB / 0.5786 GB, free: 4.832 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005003/0.631, allocations: 2.066 MB / 0.5806 GB, free: 2.758 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007166/0.6382, allocations: 3.676 MB / 0.5842 GB, free: 15.07 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00147/0.6397, allocations: 248 kB / 0.5844 GB, free: 14.83 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004247/0.644, allocations: 1.4 MB / 0.5858 GB, free: 13.43 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003826/0.6478, allocations: 2.999 MB / 0.5887 GB, free: 10.42 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004831/0.6526, allocations: 3.258 MB / 0.5919 GB, free: 7.133 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01243/0.6651, allocations: 10.37 MB / 0.602 GB, free: 12.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.6651, allocations: 4 kB / 0.602 GB, free: 12.72 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.6651, allocations: 0 / 0.602 GB, free: 12.72 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003445/0.6655, allocations: 0 / 0.602 GB, free: 12.72 MB / 446.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.01619/0.6817, allocations: 6.792 MB / 0.6087 GB, free: 5.848 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.6818, allocations: 8.875 kB / 0.6087 GB, free: 5.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03187/0.7136, allocations: 3.763 MB / 0.6124 GB, free: 2.062 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01489/0.7286, allocations: 5.172 MB / 0.6174 GB, free: 12.8 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004253/0.729, allocations: 365.9 kB / 0.6177 GB, free: 12.45 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002171/0.7312, allocations: 0.5155 MB / 0.6183 GB, free: 11.93 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03621/0.7675, allocations: 16.32 MB / 0.6342 GB, free: 10.54 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003051/0.7678, allocations: 75.38 kB / 0.6343 GB, free: 10.46 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001518/0.7693, allocations: 239.8 kB / 0.6345 GB, free: 10.23 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005086/0.7744, allocations: 2.927 MB / 0.6374 GB, free: 7.297 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03498/0.8094, allocations: 13.78 MB / 0.6508 GB, free: 9.492 MB / 494.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.3745/1.184, allocations: 64.82 MB / 0.7141 GB, free: 141.3 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02348/1.208, allocations: 7.993 MB / 0.7219 GB, free: 140.6 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005748/1.213, allocations: 4.347 MB / 0.7262 GB, free: 140.1 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03037/1.244, allocations: 19.45 MB / 0.7452 GB, free: 130.2 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.088e-05/1.244, allocations: 68.09 kB / 0.7452 GB, free: 130.1 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=290): time 7.093e-06/1.244, allocations: 0 / 0.7452 GB, free: 130.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=372): time 0.1625/1.406, allocations: 50.55 MB / 0.7946 GB, free: 86.8 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.983e-05/1.406, allocations: 269.8 kB / 0.7948 GB, free: 86.48 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008175/1.415, allocations: 6.038 MB / 0.8007 GB, free: 80.43 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007265/1.415, allocations: 86.48 kB / 0.8008 GB, free: 80.34 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002176/1.418, allocations: 4.661 MB / 0.8054 GB, free: 75.68 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001312/1.419, allocations: 1.37 MB / 0.8067 GB, free: 74.32 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001033/1.42, allocations: 0.8174 MB / 0.8075 GB, free: 73.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.517e-05/1.42, allocations: 305.1 kB / 0.8078 GB, free: 73.2 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004987/1.425, allocations: 4.235 MB / 0.8119 GB, free: 68.95 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007609/1.433, allocations: 9.468 MB / 0.8212 GB, free: 57.02 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0141/1.447, allocations: 14.66 MB / 0.8355 GB, free: 39.99 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001228/1.447, allocations: 52 kB / 0.8356 GB, free: 39.94 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.03587/1.483, allocations: 17.61 MB / 0.8528 GB, free: 22.29 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001885/1.483, allocations: 80 kB / 0.8528 GB, free: 22.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002231/1.483, allocations: 184.9 kB / 0.853 GB, free: 22.03 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01419/1.497, allocations: 4.582 MB / 0.8575 GB, free: 17.44 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006804/1.504, allocations: 2.133 MB / 0.8596 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03471/1.539, allocations: 23.76 MB / 0.8828 GB, free: 7.285 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00826/1.547, allocations: 0.5305 MB / 0.8833 GB, free: 6.754 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00194/1.549, allocations: 0.5402 MB / 0.8838 GB, free: 6.215 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.007863/1.557, allocations: 3.11 MB / 0.8869 GB, free: 3.094 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001856/1.559, allocations: 0.567 MB / 0.8874 GB, free: 2.52 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02704/1.586, allocations: 10.78 MB / 0.8979 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.561e-05/1.586, allocations: 36 kB / 0.898 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.617e-05/1.586, allocations: 20 kB / 0.898 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.825e-05/1.586, allocations: 23.91 kB / 0.898 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05159/1.638, allocations: 20.56 MB / 0.9181 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.006e-05/1.638, allocations: 7.984 kB / 0.9181 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00319/1.641, allocations: 0.5499 MB / 0.9186 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.293/1.934, allocations: 4.21 MB / 0.9227 GB, free: 205.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007633/1.935, allocations: 65.81 kB / 0.9228 GB, free: 205.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03269/1.968, allocations: 21.55 MB / 0.9438 GB, free: 199 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/1.968, allocations: 3.875 kB / 0.9438 GB, free: 199 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02717/1.995, allocations: 15.71 MB / 0.9592 GB, free: 193.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001573/1.997, allocations: 0.6019 MB / 0.9598 GB, free: 193.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001618/1.998, allocations: 58.53 kB / 0.9598 GB, free: 193.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003762/2.002, allocations: 226.4 kB / 0.96 GB, free: 193.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00117/2.003, allocations: 231 kB / 0.9603 GB, free: 193.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004494/2.004, allocations: 94.69 kB / 0.9604 GB, free: 193.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.006457/2.01, allocations: 3.768 MB / 0.964 GB, free: 192.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5.11e-07/2.01, allocations: 2.844 kB / 0.964 GB, free: 192.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.009264/2.019, allocations: 1.905 MB / 0.9659 GB, free: 192 MB / 0.5762 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.0008402/2.02, allocations: 209.8 kB / 0.9661 GB, free: 191.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01477/2.035, allocations: 10.53 MB / 0.9764 GB, free: 184.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/2.035, allocations: 4 kB / 0.9764 GB, free: 184.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005518/2.041, allocations: 4.133 MB / 0.9804 GB, free: 180.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005175/2.046, allocations: 0.739 MB / 0.9811 GB, free: 179.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02424/2.07, allocations: 19.74 MB / 1 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00456/2.075, allocations: 4.862 MB / 1.005 GB, free: 155.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.006761/2.082, allocations: 2.785 MB / 1.008 GB, free: 152.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00136/2.083, allocations: 379.4 kB / 1.008 GB, free: 152.4 MB / 0.5762 GB Notification: Performance of SimCode: time 8.81e-07/2.083, allocations: 0 / 1.008 GB, free: 152.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.1575/2.24, allocations: 79.89 MB / 1.086 GB, free: 72.82 MB / 0.5762 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