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.001561/0.001561, allocations: 105.6 kB / 17.32 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001497/0.001497, allocations: 209.8 kB / 18.26 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, allocations: 227.4 MB / 246.4 MB, free: 9.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2265/0.2265, allocations: 46.1 MB / 343.8 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 76.91 kB / 417 MB, free: 20.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1401, allocations: 62.44 MB / 479.5 MB, free: 5.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.3055/0.4456, allocations: 63.5 MB / 0.5303 GB, free: 8.051 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.032/0.4777, allocations: 12.81 MB / 0.5428 GB, free: 256 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01446/0.4922, allocations: 286.8 kB / 0.543 GB, free: 208 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008523/0.5008, allocations: 3.867 MB / 0.5468 GB, free: 14.29 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007572/0.5084, allocations: 2.153 MB / 0.5489 GB, free: 12.79 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003017/0.5114, allocations: 1.095 MB / 0.55 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.009458/0.5209, allocations: 6.989 MB / 0.5568 GB, free: 8.102 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007901/0.5288, allocations: 4.928 MB / 0.5616 GB, free: 3.129 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004923/0.5338, allocations: 2.27 MB / 0.5638 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005403/0.5392, allocations: 3.338 MB / 0.5671 GB, free: 13.5 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001851/0.5411, allocations: 464 kB / 0.5675 GB, free: 13.05 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004209/0.5453, allocations: 1.537 MB / 0.569 GB, free: 11.51 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003967/0.5493, allocations: 2.731 MB / 0.5717 GB, free: 8.773 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006019/0.5554, allocations: 3.018 MB / 0.5747 GB, free: 5.738 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01552/0.5709, allocations: 9.171 MB / 0.5836 GB, free: 12.54 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.478e-06/0.571, allocations: 4 kB / 0.5836 GB, free: 12.54 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.571, allocations: 7.938 kB / 0.5836 GB, free: 12.53 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003791/0.5714, allocations: 0 / 0.5836 GB, free: 12.53 MB / 430.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.01867/0.5901, allocations: 6.733 MB / 0.5902 GB, free: 5.715 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.5902, allocations: 8.031 kB / 0.5902 GB, free: 5.707 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02598/0.6161, allocations: 3.297 MB / 0.5934 GB, free: 2.398 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009867/0.626, allocations: 4.039 MB / 0.5974 GB, free: 14.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002748/0.6263, allocations: 320.5 kB / 0.5977 GB, free: 13.98 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001499/0.6278, allocations: 427.6 kB / 0.5981 GB, free: 13.57 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02405/0.6519, allocations: 13.82 MB / 0.6116 GB, free: 14.87 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001374/0.6521, allocations: 63.42 kB / 0.6116 GB, free: 14.81 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005246/0.6526, allocations: 199.8 kB / 0.6118 GB, free: 14.61 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003877/0.6565, allocations: 2.523 MB / 0.6143 GB, free: 12.08 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02306/0.6796, allocations: 11.81 MB / 0.6258 GB, free: 264 kB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06932/0.7489, allocations: 53.71 MB / 0.6783 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0163/0.7653, allocations: 5.939 MB / 0.6841 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004933/0.7702, allocations: 3.584 MB / 0.6876 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02443/0.7947, allocations: 15.52 MB / 0.7028 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.909e-05/0.7948, allocations: 64.55 kB / 0.7028 GB, free: 15.18 MB / 0.545 GB Notification: Performance of pre-optimization done (n=230): time 4.999e-06/0.7948, allocations: 4 kB / 0.7028 GB, free: 15.17 MB / 0.545 GB Notification: Performance of matching and sorting (n=267): time 0.3162/1.111, allocations: 28.61 MB / 0.7308 GB, free: 193.4 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.441e-05/1.111, allocations: 264.9 kB / 0.731 GB, free: 193.2 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007323/1.118, allocations: 5.047 MB / 0.7359 GB, free: 191.4 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0006106/1.119, allocations: 69.23 kB / 0.736 GB, free: 191.3 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002088/1.121, allocations: 3.881 MB / 0.7398 GB, free: 188.3 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001109/1.122, allocations: 1.007 MB / 0.7408 GB, free: 187.6 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001945/1.124, allocations: 1.543 MB / 0.7423 GB, free: 186.9 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.404e-05/1.124, allocations: 312 kB / 0.7426 GB, free: 186.6 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003741/1.128, allocations: 3.016 MB / 0.7455 GB, free: 185.6 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004822/1.133, allocations: 7.349 MB / 0.7527 GB, free: 178.8 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008962/1.142, allocations: 11.1 MB / 0.7635 GB, free: 170 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.009e-05/1.142, allocations: 41.72 kB / 0.7636 GB, free: 170 MB / 0.545 GB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.01571/1.158, allocations: 11.21 MB / 0.7745 GB, free: 161.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.212e-05/1.158, allocations: 78.91 kB / 0.7746 GB, free: 161.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001535/1.158, allocations: 152 kB / 0.7748 GB, free: 161.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002576/1.161, allocations: 1.227 MB / 0.776 GB, free: 159.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005592/1.166, allocations: 1.829 MB / 0.7777 GB, free: 158 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007551/1.174, allocations: 8.381 MB / 0.7859 GB, free: 149.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007041/1.181, allocations: 431.4 kB / 0.7863 GB, free: 148.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001334/1.182, allocations: 448 kB / 0.7868 GB, free: 148.5 MB / 0.545 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.004432/1.187, allocations: 2.633 MB / 0.7893 GB, free: 145.9 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001135/1.188, allocations: 466 kB / 0.7898 GB, free: 145.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007176/1.195, allocations: 5.234 MB / 0.7949 GB, free: 140.1 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.802e-05/1.195, allocations: 28 kB / 0.7949 GB, free: 140.1 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.786e-05/1.195, allocations: 8 kB / 0.7949 GB, free: 140.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.142e-05/1.195, allocations: 11.95 kB / 0.7949 GB, free: 140.1 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01806/1.213, allocations: 11.76 MB / 0.8064 GB, free: 128.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.315e-05/1.213, allocations: 0 / 0.8064 GB, free: 128.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002344/1.216, allocations: 0.4915 MB / 0.8069 GB, free: 127.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002302/1.218, allocations: 0.9936 MB / 0.8079 GB, free: 126.9 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000234/1.218, allocations: 47.98 kB / 0.8079 GB, free: 126.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006569/1.225, allocations: 7.707 MB / 0.8154 GB, free: 118.8 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.225, allocations: 4.062 kB / 0.8154 GB, free: 118.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01089/1.236, allocations: 8.73 MB / 0.824 GB, free: 110 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001558/1.237, allocations: 0.4913 MB / 0.8244 GB, free: 109.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000907/1.238, allocations: 40 kB / 0.8245 GB, free: 109.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002205/1.24, allocations: 179.7 kB / 0.8247 GB, free: 109.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000399/1.241, allocations: 153.5 kB / 0.8248 GB, free: 109.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001787/1.241, allocations: 67.98 kB / 0.8249 GB, free: 109.1 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004211/1.245, allocations: 3.157 MB / 0.828 GB, free: 105.9 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.242e-06/1.245, allocations: 0 / 0.828 GB, free: 105.9 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006522/1.252, allocations: 1.35 MB / 0.8293 GB, free: 104.6 MB / 0.545 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.0005139/1.252, allocations: 192.6 kB / 0.8295 GB, free: 104.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01477/1.267, allocations: 10.13 MB / 0.8394 GB, free: 94.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.889e-06/1.267, allocations: 0 / 0.8394 GB, free: 94.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002767/1.27, allocations: 2.562 MB / 0.8419 GB, free: 91.71 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00372/1.274, allocations: 0.5915 MB / 0.8424 GB, free: 91.14 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02018/1.294, allocations: 15.53 MB / 0.8576 GB, free: 75.59 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003992/1.298, allocations: 4.103 MB / 0.8616 GB, free: 71.46 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005785/1.304, allocations: 2.364 MB / 0.8639 GB, free: 69.09 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001101/1.305, allocations: 323.4 kB / 0.8642 GB, free: 68.78 MB / 0.545 GB Notification: Performance of SimCode: time 5.81e-07/1.305, allocations: 0 / 0.8642 GB, free: 68.78 MB / 0.545 GB Notification: Performance of Templates: time 0.08742/1.392, allocations: 51.94 MB / 0.9149 GB, free: 17.1 MB / 0.545 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