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.00147/0.00147, allocations: 117.6 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001717/0.001717, allocations: 199.9 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.471/1.471, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2348/0.2348, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 79.86 kB / 481.3 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4411/0.4426, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.02408/0.4667, allocations: 14.96 MB / 0.5456 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01724/0.484, allocations: 5.011 MB / 0.5505 GB, free: 13.71 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004655/0.4887, allocations: 103.7 kB / 0.5506 GB, free: 13.61 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00821/0.497, allocations: 4.014 MB / 0.5545 GB, free: 9.578 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008065/0.5051, allocations: 2.381 MB / 0.5569 GB, free: 7.188 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003602/0.5087, allocations: 1.162 MB / 0.558 GB, free: 6.023 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0106/0.5193, allocations: 6.581 MB / 0.5644 GB, free: 15.43 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007604/0.527, allocations: 4.696 MB / 0.569 GB, free: 10.67 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004633/0.5316, allocations: 2.196 MB / 0.5711 GB, free: 8.465 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005159/0.5368, allocations: 3.03 MB / 0.5741 GB, free: 5.426 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001652/0.5385, allocations: 456 kB / 0.5745 GB, free: 4.98 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003932/0.5425, allocations: 1.529 MB / 0.576 GB, free: 3.449 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003569/0.546, allocations: 2.743 MB / 0.5787 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004979/0.551, allocations: 2.991 MB / 0.5816 GB, free: 13.69 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01307/0.5641, allocations: 9.394 MB / 0.5908 GB, free: 4.266 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.5642, allocations: 0 / 0.5908 GB, free: 4.266 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.5642, allocations: 4 kB / 0.5908 GB, free: 4.262 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004147/0.5646, allocations: 7.984 kB / 0.5908 GB, free: 4.254 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.02011/0.5847, allocations: 6.722 MB / 0.5974 GB, free: 13.45 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.5848, allocations: 11.97 kB / 0.5974 GB, free: 13.44 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02581/0.6106, allocations: 3.301 MB / 0.6006 GB, free: 10.12 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01019/0.6208, allocations: 4.125 MB / 0.6046 GB, free: 5.941 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003158/0.6212, allocations: 312.4 kB / 0.6049 GB, free: 5.633 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00188/0.6231, allocations: 423.7 kB / 0.6053 GB, free: 5.219 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03085/0.6539, allocations: 13.84 MB / 0.6189 GB, free: 6.512 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003093/0.6543, allocations: 59.42 kB / 0.6189 GB, free: 6.453 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0015/0.6558, allocations: 199.8 kB / 0.6191 GB, free: 6.258 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004286/0.6601, allocations: 2.523 MB / 0.6216 GB, free: 3.73 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02641/0.6865, allocations: 11.82 MB / 0.6331 GB, free: 7.902 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0814/0.768, allocations: 53.46 MB / 0.6853 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01806/0.7861, allocations: 5.936 MB / 0.6911 GB, free: 10.83 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005829/0.792, allocations: 3.581 MB / 0.6946 GB, free: 7.242 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02761/0.8196, allocations: 15.52 MB / 0.7098 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.703e-05/0.8197, allocations: 56.56 kB / 0.7098 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=230): time 6.552e-06/0.8197, allocations: 0 / 0.7098 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=267): time 0.3574/1.177, allocations: 28.65 MB / 0.7378 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.471e-05/1.177, allocations: 260.7 kB / 0.7381 GB, free: 159.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005783/1.183, allocations: 5.053 MB / 0.743 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005221/1.184, allocations: 65.53 kB / 0.743 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001497/1.185, allocations: 3.883 MB / 0.7468 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008324/1.186, allocations: 0.9996 MB / 0.7478 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001492/1.187, allocations: 1.547 MB / 0.7493 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.164e-05/1.187, allocations: 305.1 kB / 0.7496 GB, free: 149 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003132/1.191, allocations: 3.013 MB / 0.7526 GB, free: 146 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00442/1.195, allocations: 7.357 MB / 0.7597 GB, free: 136.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008923/1.204, allocations: 11.1 MB / 0.7706 GB, free: 123.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.873e-05/1.204, allocations: 48 kB / 0.7706 GB, free: 123.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.01602/1.22, allocations: 11.2 MB / 0.7816 GB, free: 112.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.314e-05/1.22, allocations: 68 kB / 0.7816 GB, free: 112 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001268/1.22, allocations: 152 kB / 0.7818 GB, free: 111.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002675/1.223, allocations: 1.227 MB / 0.783 GB, free: 110.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005687/1.229, allocations: 1.836 MB / 0.7848 GB, free: 108.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007576/1.236, allocations: 8.359 MB / 0.7929 GB, free: 100.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006821/1.243, allocations: 427.4 kB / 0.7933 GB, free: 99.79 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001244/1.245, allocations: 448 kB / 0.7938 GB, free: 99.35 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.005106/1.25, allocations: 2.634 MB / 0.7963 GB, free: 96.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001045/1.251, allocations: 462 kB / 0.7968 GB, free: 96.25 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00815/1.259, allocations: 5.238 MB / 0.8019 GB, free: 90.99 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.174e-05/1.259, allocations: 27.28 kB / 0.8019 GB, free: 90.96 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.184e-05/1.259, allocations: 8 kB / 0.8019 GB, free: 90.96 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-05/1.259, allocations: 18.86 kB / 0.802 GB, free: 90.94 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01783/1.277, allocations: 11.65 MB / 0.8133 GB, free: 79.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.415e-05/1.277, allocations: 3.938 kB / 0.8133 GB, free: 79.28 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002424/1.279, allocations: 0.4993 MB / 0.8138 GB, free: 78.78 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002424/1.282, allocations: 0.9925 MB / 0.8148 GB, free: 77.78 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002743/1.282, allocations: 47.44 kB / 0.8148 GB, free: 77.74 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006874/1.289, allocations: 7.696 MB / 0.8224 GB, free: 69.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/1.289, allocations: 8 kB / 0.8224 GB, free: 69.76 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0114/1.3, allocations: 8.745 MB / 0.8309 GB, free: 60.94 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001353/1.302, allocations: 499.1 kB / 0.8314 GB, free: 60.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007496/1.302, allocations: 44 kB / 0.8314 GB, free: 60.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00199/1.304, allocations: 167.8 kB / 0.8316 GB, free: 60.22 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004281/1.305, allocations: 157.7 kB / 0.8317 GB, free: 60.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001838/1.305, allocations: 75.34 kB / 0.8318 GB, free: 60 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003998/1.309, allocations: 3.154 MB / 0.8349 GB, free: 56.86 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.71e-07/1.309, allocations: 0.8438 kB / 0.8349 GB, free: 56.86 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00719/1.316, allocations: 1.35 MB / 0.8362 GB, free: 55.51 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.0007321/1.317, allocations: 187.4 kB / 0.8364 GB, free: 55.32 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0106/1.328, allocations: 7.348 MB / 0.8436 GB, free: 47.98 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/1.328, allocations: 0 / 0.8436 GB, free: 47.98 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003141/1.331, allocations: 2.566 MB / 0.8461 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.003254/1.334, allocations: 0.5969 MB / 0.8466 GB, free: 44.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01706/1.351, allocations: 12.74 MB / 0.8591 GB, free: 32.04 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003524/1.355, allocations: 4.097 MB / 0.8631 GB, free: 27.92 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004638/1.359, allocations: 2.372 MB / 0.8654 GB, free: 25.54 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001004/1.36, allocations: 323.4 kB / 0.8657 GB, free: 25.22 MB / 0.5606 GB Notification: Performance of SimCode: time 9.62e-07/1.36, allocations: 0 / 0.8657 GB, free: 25.22 MB / 0.5606 GB Notification: Performance of Templates: time 0.08597/1.446, allocations: 47.76 MB / 0.9123 GB, free: 9.746 MB / 0.5919 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/LineForceWithMass/LineForceWithMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches