Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.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.LineForceWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass") translateModel(ModelicaTest.MultiBody.Forces.LineForceWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001197/0.001197, allocations: 115.2 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001287/0.001287, allocations: 210.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.235/1.235, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1877/0.1877, allocations: 46.1 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 75.88 kB / 482 MB, free: 4.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.2882, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01426/0.3025, allocations: 14.97 MB / 0.5463 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01006/0.3126, allocations: 5.011 MB / 0.5512 GB, free: 13.73 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002475/0.3151, allocations: 107.6 kB / 0.5513 GB, free: 13.62 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006745/0.3218, allocations: 4.003 MB / 0.5552 GB, free: 9.609 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006181/0.3281, allocations: 2.389 MB / 0.5575 GB, free: 7.211 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002625/0.3307, allocations: 1.166 MB / 0.5587 GB, free: 6.043 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00859/0.3393, allocations: 6.575 MB / 0.5651 GB, free: 15.45 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005257/0.3446, allocations: 4.692 MB / 0.5697 GB, free: 10.7 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003408/0.3481, allocations: 2.192 MB / 0.5718 GB, free: 8.496 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003962/0.3521, allocations: 3.026 MB / 0.5748 GB, free: 5.461 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001008/0.3531, allocations: 460 kB / 0.5752 GB, free: 5.012 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002723/0.3558, allocations: 1.537 MB / 0.5767 GB, free: 3.473 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002655/0.3585, allocations: 2.739 MB / 0.5794 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003363/0.3619, allocations: 2.991 MB / 0.5823 GB, free: 13.71 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0095/0.3714, allocations: 9.394 MB / 0.5915 GB, free: 4.293 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3714, allocations: 0 / 0.5915 GB, free: 4.293 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.562e-06/0.3714, allocations: 0 / 0.5915 GB, free: 4.293 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002335/0.3717, allocations: 0 / 0.5915 GB, free: 4.293 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: 1941 * Number of variables: 1941 Notification: Performance of Generate backend data structure: time 0.01392/0.3856, allocations: 6.733 MB / 0.598 GB, free: 13.48 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.3857, allocations: 8.031 kB / 0.5981 GB, free: 13.47 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02328/0.409, allocations: 3.304 MB / 0.6013 GB, free: 10.15 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008731/0.4177, allocations: 4.121 MB / 0.6053 GB, free: 5.973 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002485/0.418, allocations: 308.4 kB / 0.6056 GB, free: 5.668 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001451/0.4195, allocations: 431.6 kB / 0.606 GB, free: 5.246 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02182/0.4413, allocations: 13.83 MB / 0.6195 GB, free: 6.543 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000144/0.4415, allocations: 63.42 kB / 0.6196 GB, free: 6.48 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005325/0.442, allocations: 203.8 kB / 0.6198 GB, free: 6.281 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003499/0.4455, allocations: 2.523 MB / 0.6222 GB, free: 3.754 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02162/0.4672, allocations: 11.81 MB / 0.6338 GB, free: 7.934 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0596/0.5268, allocations: 53.47 MB / 0.686 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01481/0.5416, allocations: 5.928 MB / 0.6918 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004451/0.5461, allocations: 3.589 MB / 0.6953 GB, free: 7.266 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02069/0.5668, allocations: 15.52 MB / 0.7104 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.465e-05/0.5669, allocations: 64.55 kB / 0.7105 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=230): time 5.029e-06/0.5669, allocations: 3.938 kB / 0.7105 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of matching and sorting (n=267): time 0.3102/0.8772, allocations: 28.64 MB / 0.7385 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.606e-05/0.8773, allocations: 260.6 kB / 0.7387 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005199/0.8825, allocations: 5.051 MB / 0.7436 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004684/0.883, allocations: 69.64 kB / 0.7437 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001454/0.8844, allocations: 3.883 MB / 0.7475 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007807/0.8852, allocations: 0.9988 MB / 0.7485 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001519/0.8868, allocations: 1.546 MB / 0.75 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.021e-05/0.8868, allocations: 309.1 kB / 0.7503 GB, free: 149 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003148/0.89, allocations: 3.016 MB / 0.7532 GB, free: 146 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004358/0.8943, allocations: 7.345 MB / 0.7604 GB, free: 136.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008512/0.9029, allocations: 11.12 MB / 0.7713 GB, free: 123.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.597e-05/0.903, allocations: 44 kB / 0.7713 GB, free: 123.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.01497/0.918, allocations: 11.2 MB / 0.7822 GB, free: 112.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.116e-05/0.9181, allocations: 68 kB / 0.7823 GB, free: 112 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001122/0.9182, allocations: 152 kB / 0.7824 GB, free: 111.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002497/0.9207, allocations: 1.23 MB / 0.7836 GB, free: 110.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005224/0.9259, allocations: 1.836 MB / 0.7854 GB, free: 108.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007101/0.9331, allocations: 8.363 MB / 0.7936 GB, free: 100.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005186/0.9383, allocations: 423.4 kB / 0.794 GB, free: 99.78 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000848/0.9391, allocations: 454.9 kB / 0.7944 GB, free: 99.34 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 687 * Number of states: 0 () * Number of discrete variables: 57 (lineForceWithMass.lineShapeColor[3],lineForceWithMass.lineShapeColor[2],lineForceWithMass.lineShapeColor[1],lineForceWithMass.massColor[3],lineForceWithMass.massColor[2],lineForceWithMass.massColor[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],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 (954): * Single equations (assignments): 949 * 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,12,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003529/0.9427, allocations: 2.627 MB / 0.797 GB, free: 96.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008322/0.9435, allocations: 462 kB / 0.7974 GB, free: 96.24 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007066/0.9506, allocations: 5.242 MB / 0.8026 GB, free: 90.98 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.685e-05/0.9507, allocations: 31 kB / 0.8026 GB, free: 90.95 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-05/0.9507, allocations: 8 kB / 0.8026 GB, free: 90.95 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-05/0.9507, allocations: 11.95 kB / 0.8026 GB, free: 90.93 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0169/0.9676, allocations: 11.65 MB / 0.814 GB, free: 79.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.551e-05/0.9677, allocations: 3.938 kB / 0.814 GB, free: 79.27 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002233/0.9699, allocations: 0.4972 MB / 0.8145 GB, free: 78.78 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002181/0.9721, allocations: 0.9847 MB / 0.8154 GB, free: 77.79 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002496/0.9724, allocations: 54.19 kB / 0.8155 GB, free: 77.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006298/0.9787, allocations: 7.699 MB / 0.823 GB, free: 69.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.9787, allocations: 3.938 kB / 0.823 GB, free: 69.75 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009672/0.9884, allocations: 8.741 MB / 0.8316 GB, free: 60.94 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001138/0.9896, allocations: 0.4952 MB / 0.832 GB, free: 60.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006607/0.9902, allocations: 40 kB / 0.8321 GB, free: 60.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001922/0.9922, allocations: 179.4 kB / 0.8322 GB, free: 60.21 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003457/0.9925, allocations: 149.7 kB / 0.8324 GB, free: 60.06 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001738/0.9927, allocations: 71.98 kB / 0.8325 GB, free: 59.99 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003594/0.9963, allocations: 3.158 MB / 0.8355 GB, free: 56.85 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.91e-07/0.9963, allocations: 4 kB / 0.8355 GB, free: 56.84 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005564/1.002, allocations: 1.346 MB / 0.8369 GB, free: 55.5 MB / 0.5606 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 (227): * Single equations (assignments): 222 * 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 {(1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000518/1.002, allocations: 182.8 kB / 0.837 GB, free: 55.32 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008353/1.011, allocations: 7.36 MB / 0.8442 GB, free: 47.96 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/1.011, allocations: 0 / 0.8442 GB, free: 47.96 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002659/1.013, allocations: 2.558 MB / 0.8467 GB, free: 45.39 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002954/1.016, allocations: 0.6023 MB / 0.8473 GB, free: 44.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01709/1.034, allocations: 13.25 MB / 0.8603 GB, free: 31.52 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003832/1.037, allocations: 4.085 MB / 0.8642 GB, free: 27.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001449/1.039, allocations: 375.4 kB / 0.8646 GB, free: 27.04 MB / 0.5606 GB Notification: Performance of SimCode: time 7.11e-07/1.039, allocations: 0 / 0.8646 GB, free: 27.04 MB / 0.5606 GB Notification: Performance of Templates: time 0.3514/1.39, allocations: 125.1 MB / 0.9868 GB, free: 190.8 MB / 0.6231 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/LineForceWithMass/LineForceWithMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches