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.0008816/0.0008816, allocations: 97.28 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001044/0.001044, allocations: 207 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 227.7 MB / 247.5 MB, free: 11.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1987/0.1987, allocations: 46.18 MB / 345.9 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002623/0.0002625, allocations: 8 kB / 420.2 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1099, allocations: 63.55 MB / 483.7 MB, free: 4.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.2708/0.3807, allocations: 61.9 MB / 0.5328 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02827/0.4091, allocations: 12.86 MB / 0.5454 GB, free: 1.406 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01281/0.4219, allocations: 278.5 kB / 0.5457 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002165/0.4241, allocations: 0.5407 MB / 0.5462 GB, free: 1.145 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006345/0.4305, allocations: 2.192 MB / 0.5483 GB, free: 15.93 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002873/0.4334, allocations: 1.068 MB / 0.5494 GB, free: 15.22 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01101/0.4444, allocations: 9.434 MB / 0.5586 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009395/0.4539, allocations: 6.241 MB / 0.5647 GB, free: 3.805 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003394/0.4573, allocations: 1.692 MB / 0.5663 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004397/0.4617, allocations: 2.846 MB / 0.5691 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0012/0.4629, allocations: 200 kB / 0.5693 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003219/0.4662, allocations: 1.369 MB / 0.5706 GB, free: 13.68 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003051/0.4693, allocations: 2.411 MB / 0.573 GB, free: 11.27 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004295/0.4736, allocations: 2.68 MB / 0.5756 GB, free: 8.562 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007774/0.4814, allocations: 7.159 MB / 0.5826 GB, free: 1.387 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.4814, allocations: 3.984 kB / 0.5826 GB, free: 1.383 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.4814, allocations: 0 / 0.5826 GB, free: 1.383 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002807/0.4817, allocations: 0 / 0.5826 GB, free: 1.383 MB / 414.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.01282/0.4945, allocations: 5.57 MB / 0.588 GB, free: 11.74 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.4946, allocations: 12.03 kB / 0.5881 GB, free: 11.73 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02774/0.5223, allocations: 3.379 MB / 0.5914 GB, free: 8.336 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00967/0.5321, allocations: 4.043 MB / 0.5953 GB, free: 4.234 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003155/0.5324, allocations: 308.5 kB / 0.5956 GB, free: 3.93 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001609/0.534, allocations: 435.5 kB / 0.596 GB, free: 3.504 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02851/0.5626, allocations: 13.86 MB / 0.6096 GB, free: 4.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002824/0.5629, allocations: 51.53 kB / 0.6096 GB, free: 4.719 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00136/0.5643, allocations: 199.8 kB / 0.6098 GB, free: 4.523 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004338/0.5686, allocations: 2.527 MB / 0.6123 GB, free: 1.996 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02527/0.5939, allocations: 11.85 MB / 0.6238 GB, free: 6.129 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06989/0.6639, allocations: 53.75 MB / 0.6763 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01675/0.6807, allocations: 5.959 MB / 0.6821 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005243/0.6859, allocations: 3.586 MB / 0.6856 GB, free: 5.152 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02522/0.7112, allocations: 15.53 MB / 0.7008 GB, free: 5.043 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.663e-05/0.7113, allocations: 68.55 kB / 0.7009 GB, free: 4.969 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=230): time 5.631e-06/0.7113, allocations: 0 / 0.7009 GB, free: 4.969 MB / 0.5294 GB Notification: Performance of matching and sorting (n=267): time 0.3064/1.018, allocations: 28.72 MB / 0.7289 GB, free: 176.2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.482e-05/1.018, allocations: 260.3 kB / 0.7292 GB, free: 175.9 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005984/1.024, allocations: 5.048 MB / 0.7341 GB, free: 174.1 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005081/1.024, allocations: 69.11 kB / 0.7342 GB, free: 174.1 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001786/1.026, allocations: 3.881 MB / 0.738 GB, free: 171.1 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001025/1.027, allocations: 1.004 MB / 0.7389 GB, free: 170.3 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007363/1.028, allocations: 0.6621 MB / 0.7396 GB, free: 170.1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.554e-05/1.028, allocations: 308.7 kB / 0.7399 GB, free: 169.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003709/1.032, allocations: 3.016 MB / 0.7428 GB, free: 168.4 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00517/1.037, allocations: 7.357 MB / 0.75 GB, free: 159.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009778/1.047, allocations: 11.1 MB / 0.7608 GB, free: 146.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001021/1.047, allocations: 47.94 kB / 0.7609 GB, free: 146.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.01647/1.063, allocations: 11.21 MB / 0.7718 GB, free: 135 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.439e-05/1.063, allocations: 72.06 kB / 0.7719 GB, free: 134.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000113/1.064, allocations: 152 kB / 0.7721 GB, free: 134.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002656/1.066, allocations: 1.231 MB / 0.7733 GB, free: 133.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00542/1.072, allocations: 1.829 MB / 0.775 GB, free: 131.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007303/1.079, allocations: 7.776 MB / 0.7826 GB, free: 123.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005685/1.085, allocations: 431.4 kB / 0.783 GB, free: 123.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009785/1.086, allocations: 456.6 kB / 0.7835 GB, free: 122.8 MB / 0.5294 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.003723/1.089, allocations: 2.638 MB / 0.7861 GB, free: 120.2 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008397/1.09, allocations: 462.1 kB / 0.7865 GB, free: 119.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00763/1.098, allocations: 5.242 MB / 0.7916 GB, free: 114.4 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.391e-05/1.098, allocations: 31.94 kB / 0.7916 GB, free: 114.4 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.229e-05/1.098, allocations: 4 kB / 0.7917 GB, free: 114.4 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.813e-05/1.098, allocations: 15.95 kB / 0.7917 GB, free: 114.4 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01827/1.116, allocations: 11.76 MB / 0.8032 GB, free: 102.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.826e-05/1.116, allocations: 0 / 0.8032 GB, free: 102.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002379/1.119, allocations: 0.5031 MB / 0.8036 GB, free: 102.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002398/1.121, allocations: 0.9838 MB / 0.8046 GB, free: 101.2 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002188/1.121, allocations: 47.98 kB / 0.8047 GB, free: 101.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006608/1.128, allocations: 7.111 MB / 0.8116 GB, free: 93.72 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.128, allocations: 4.094 kB / 0.8116 GB, free: 93.72 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01106/1.139, allocations: 8.748 MB / 0.8201 GB, free: 84.9 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001211/1.14, allocations: 0.499 MB / 0.8206 GB, free: 84.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007221/1.141, allocations: 40.88 kB / 0.8207 GB, free: 84.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002148/1.143, allocations: 187.8 kB / 0.8208 GB, free: 84.15 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003601/1.144, allocations: 149.4 kB / 0.821 GB, free: 84.01 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001698/1.144, allocations: 75.92 kB / 0.8211 GB, free: 83.94 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003991/1.148, allocations: 3.154 MB / 0.8241 GB, free: 80.8 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.41e-07/1.148, allocations: 4 kB / 0.8241 GB, free: 80.79 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005751/1.154, allocations: 1.35 MB / 0.8255 GB, free: 79.45 MB / 0.5294 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.0004873/1.154, allocations: 192 kB / 0.8256 GB, free: 79.26 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009104/1.163, allocations: 7.32 MB / 0.8328 GB, free: 71.94 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.992e-06/1.163, allocations: 0 / 0.8328 GB, free: 71.94 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002756/1.166, allocations: 2.562 MB / 0.8353 GB, free: 69.36 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003756/1.17, allocations: 0.5698 MB / 0.8359 GB, free: 68.79 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0209/1.191, allocations: 16.12 MB / 0.8516 GB, free: 52.64 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004047/1.195, allocations: 4.077 MB / 0.8556 GB, free: 48.53 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001619/1.196, allocations: 379.4 kB / 0.8559 GB, free: 48.16 MB / 0.5294 GB Notification: Performance of SimCode: time 8.81e-07/1.196, allocations: 0 / 0.8559 GB, free: 48.16 MB / 0.5294 GB Notification: Performance of Templates: time 0.348/1.544, allocations: 123.2 MB / 0.9763 GB, free: 106 MB / 0.5294 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