Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001018, allocations: 97.92 kB / 18.01 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 179.8 kB / 18.91 MB, free: 4.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 223.3 MB / 243 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1931/0.1931, allocations: 44.25 MB / 338.3 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003268/0.0003268, allocations: 8 kB / 411 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1092, allocations: 61.92 MB / 472.9 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.3074/0.4167, allocations: 62.31 MB / 0.5227 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03241/0.4491, allocations: 13.02 MB / 0.5354 GB, free: 6.703 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0173/0.4665, allocations: 279.4 kB / 0.5357 GB, free: 6.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002744/0.4693, allocations: 0.5455 MB / 0.5362 GB, free: 6.441 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008649/0.478, allocations: 2.219 MB / 0.5384 GB, free: 5.703 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003435/0.4814, allocations: 1.067 MB / 0.5394 GB, free: 5.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01302/0.4945, allocations: 9.364 MB / 0.5485 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01094/0.5055, allocations: 6.265 MB / 0.5547 GB, free: 12.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004509/0.51, allocations: 1.695 MB / 0.5563 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005497/0.5156, allocations: 2.857 MB / 0.5591 GB, free: 8.184 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001525/0.5172, allocations: 204 kB / 0.5593 GB, free: 7.984 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004118/0.5213, allocations: 1.384 MB / 0.5607 GB, free: 6.656 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003781/0.5251, allocations: 2.433 MB / 0.563 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005283/0.5304, allocations: 2.696 MB / 0.5657 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009208/0.5397, allocations: 7.212 MB / 0.5727 GB, free: 10.52 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.5397, allocations: 0 / 0.5727 GB, free: 10.52 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.518e-06/0.5397, allocations: 4 kB / 0.5727 GB, free: 10.51 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003702/0.5401, allocations: 3.938 kB / 0.5727 GB, free: 10.51 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.0144/0.5545, allocations: 5.575 MB / 0.5782 GB, free: 4.891 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.5546, allocations: 8.031 kB / 0.5782 GB, free: 4.883 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03007/0.5847, allocations: 3.382 MB / 0.5815 GB, free: 1.492 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01069/0.5954, allocations: 4.093 MB / 0.5855 GB, free: 13.38 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003366/0.5958, allocations: 310 kB / 0.5858 GB, free: 13.12 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001709/0.5975, allocations: 429.2 kB / 0.5862 GB, free: 12.75 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02962/0.6272, allocations: 13.84 MB / 0.5997 GB, free: 14.17 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003115/0.6275, allocations: 59.42 kB / 0.5997 GB, free: 14.11 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001482/0.629, allocations: 200.5 kB / 0.5999 GB, free: 13.96 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004654/0.6337, allocations: 2.524 MB / 0.6024 GB, free: 11.45 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02734/0.6611, allocations: 11.83 MB / 0.614 GB, free: 15.61 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07541/0.7365, allocations: 53.76 MB / 0.6665 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01665/0.7532, allocations: 5.919 MB / 0.6722 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005119/0.7584, allocations: 3.592 MB / 0.6757 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02432/0.7828, allocations: 15.46 MB / 0.6908 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.374e-05/0.7829, allocations: 56.56 kB / 0.6909 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=230): time 5.641e-06/0.7829, allocations: 4 kB / 0.6909 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=267): time 0.3786/1.162, allocations: 28.65 MB / 0.7189 GB, free: 138.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/1.162, allocations: 263.5 kB / 0.7191 GB, free: 138.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009516/1.171, allocations: 5.064 MB / 0.7241 GB, free: 137.7 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006483/1.172, allocations: 72.92 kB / 0.7242 GB, free: 137.6 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002703/1.175, allocations: 3.88 MB / 0.7279 GB, free: 134.8 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001473/1.176, allocations: 1.009 MB / 0.7289 GB, free: 134.1 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001404/1.178, allocations: 0.6622 MB / 0.7296 GB, free: 133.8 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 7.862e-05/1.178, allocations: 302.8 kB / 0.7299 GB, free: 133.5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00482/1.182, allocations: 3.009 MB / 0.7328 GB, free: 132.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007651/1.19, allocations: 7.35 MB / 0.74 GB, free: 125.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01225/1.202, allocations: 11.1 MB / 0.7508 GB, free: 117.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001708/1.203, allocations: 42.09 kB / 0.7509 GB, free: 117.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.02082/1.223, allocations: 11.19 MB / 0.7618 GB, free: 111 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001284/1.224, allocations: 71.98 kB / 0.7619 GB, free: 111 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002131/1.224, allocations: 152 kB / 0.762 GB, free: 110.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003181/1.227, allocations: 1.221 MB / 0.7632 GB, free: 109.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006817/1.234, allocations: 1.831 MB / 0.765 GB, free: 107.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008498/1.242, allocations: 7.776 MB / 0.7726 GB, free: 99.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00719/1.25, allocations: 440.2 kB / 0.773 GB, free: 99.54 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001502/1.251, allocations: 449.9 kB / 0.7734 GB, free: 99.1 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.005166/1.256, allocations: 2.632 MB / 0.776 GB, free: 96.61 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001168/1.258, allocations: 458.1 kB / 0.7764 GB, free: 96.16 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008031/1.266, allocations: 5.243 MB / 0.7816 GB, free: 90.91 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.862e-05/1.266, allocations: 28 kB / 0.7816 GB, free: 90.88 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.347e-05/1.266, allocations: 4 kB / 0.7816 GB, free: 90.88 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.691e-05/1.266, allocations: 17.2 kB / 0.7816 GB, free: 90.86 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01995/1.286, allocations: 11.73 MB / 0.7931 GB, free: 79.17 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.912e-05/1.286, allocations: 0 / 0.7931 GB, free: 79.17 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002492/1.288, allocations: 0.4924 MB / 0.7935 GB, free: 78.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002558/1.291, allocations: 0.9944 MB / 0.7945 GB, free: 77.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003413/1.291, allocations: 49.62 kB / 0.7946 GB, free: 77.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006915/1.298, allocations: 7.116 MB / 0.8015 GB, free: 70.31 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/1.298, allocations: 4.062 kB / 0.8015 GB, free: 70.3 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01173/1.31, allocations: 8.726 MB / 0.81 GB, free: 61.52 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001633/1.312, allocations: 0.504 MB / 0.8105 GB, free: 61 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001352/1.313, allocations: 40.62 kB / 0.8106 GB, free: 60.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002947/1.316, allocations: 179.8 kB / 0.8107 GB, free: 60.78 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004896/1.316, allocations: 152.2 kB / 0.8109 GB, free: 60.64 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002492/1.317, allocations: 72.69 kB / 0.8109 GB, free: 60.57 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005405/1.322, allocations: 3.158 MB / 0.814 GB, free: 57.42 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.7e-07/1.322, allocations: 4 kB / 0.814 GB, free: 57.42 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008286/1.33, allocations: 1.367 MB / 0.8154 GB, free: 56.05 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.001081/1.332, allocations: 191.5 kB / 0.8156 GB, free: 55.89 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01174/1.343, allocations: 7.314 MB / 0.8227 GB, free: 49 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.416e-05/1.343, allocations: 0 / 0.8227 GB, free: 49 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00351/1.347, allocations: 2.565 MB / 0.8252 GB, free: 46.45 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005863/1.353, allocations: 0.5649 MB / 0.8258 GB, free: 45.89 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02639/1.379, allocations: 16.13 MB / 0.8415 GB, free: 29.74 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005524/1.385, allocations: 4.089 MB / 0.8455 GB, free: 25.62 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001817/1.387, allocations: 375.4 kB / 0.8459 GB, free: 25.25 MB / 0.5294 GB Notification: Performance of SimCode: time 9.32e-07/1.387, allocations: 0 / 0.8459 GB, free: 25.25 MB / 0.5294 GB Notification: Performance of Templates: time 0.414/1.801, allocations: 123.5 MB / 0.9664 GB, free: 191.7 MB / 0.5762 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches