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.001217/0.001217, allocations: 106.9 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001293/0.001293, allocations: 205.8 kB / 18.27 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 227.4 MB / 246.4 MB, free: 9.156 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2589/0.2589, allocations: 46.11 MB / 343.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 71.98 kB / 417 MB, free: 20.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1403, allocations: 62.44 MB / 479.5 MB, free: 5.598 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.3405/0.4809, allocations: 63.49 MB / 0.5302 GB, free: 8.648 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03781/0.5188, allocations: 12.82 MB / 0.5428 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01857/0.5374, allocations: 288 kB / 0.543 GB, free: 488 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008888/0.5464, allocations: 3.863 MB / 0.5468 GB, free: 14.55 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008302/0.5547, allocations: 2.149 MB / 0.5489 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003409/0.5582, allocations: 1.105 MB / 0.55 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01082/0.569, allocations: 6.98 MB / 0.5568 GB, free: 8.312 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0078/0.5769, allocations: 4.936 MB / 0.5616 GB, free: 3.328 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0049/0.5818, allocations: 2.27 MB / 0.5638 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005478/0.5873, allocations: 3.346 MB / 0.5671 GB, free: 13.7 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001386/0.5888, allocations: 460 kB / 0.5675 GB, free: 13.25 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003695/0.5925, allocations: 1.541 MB / 0.569 GB, free: 11.7 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003005/0.5955, allocations: 2.724 MB / 0.5717 GB, free: 8.973 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004578/0.6001, allocations: 3.026 MB / 0.5747 GB, free: 5.93 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01219/0.6123, allocations: 9.171 MB / 0.5836 GB, free: 12.73 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.6123, allocations: 4 kB / 0.5836 GB, free: 12.73 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.6124, allocations: 0 / 0.5836 GB, free: 12.73 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003579/0.6127, allocations: 0 / 0.5836 GB, free: 12.73 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.01821/0.6309, allocations: 6.737 MB / 0.5902 GB, free: 5.91 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/0.631, allocations: 8.031 kB / 0.5902 GB, free: 5.902 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02679/0.6578, allocations: 3.301 MB / 0.5934 GB, free: 2.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009693/0.6675, allocations: 4.035 MB / 0.5974 GB, free: 14.5 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002482/0.6678, allocations: 312.5 kB / 0.5977 GB, free: 14.19 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001632/0.6695, allocations: 427.6 kB / 0.5981 GB, free: 13.77 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02644/0.6959, allocations: 13.83 MB / 0.6116 GB, free: 15.07 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002313/0.6962, allocations: 59.44 kB / 0.6116 GB, free: 15.01 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008459/0.697, allocations: 199.8 kB / 0.6118 GB, free: 14.82 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004169/0.7012, allocations: 2.523 MB / 0.6143 GB, free: 12.29 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02506/0.7263, allocations: 11.82 MB / 0.6258 GB, free: 468 kB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0728/0.7992, allocations: 53.72 MB / 0.6783 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0169/0.8161, allocations: 5.932 MB / 0.6841 GB, free: 3.141 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004689/0.8208, allocations: 3.584 MB / 0.6876 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02084/0.8417, allocations: 15.52 MB / 0.7027 GB, free: 15.45 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.835e-05/0.8418, allocations: 72.5 kB / 0.7028 GB, free: 15.37 MB / 0.545 GB Notification: Performance of pre-optimization done (n=230): time 5.08e-06/0.8418, allocations: 0 / 0.7028 GB, free: 15.37 MB / 0.545 GB Notification: Performance of matching and sorting (n=267): time 0.3258/1.168, allocations: 28.61 MB / 0.7308 GB, free: 193.9 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.06e-05/1.168, allocations: 263.3 kB / 0.731 GB, free: 193.6 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009094/1.177, allocations: 5.048 MB / 0.7359 GB, free: 191.8 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000701/1.178, allocations: 66.61 kB / 0.736 GB, free: 191.7 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002682/1.18, allocations: 3.882 MB / 0.7398 GB, free: 188.7 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002071/1.182, allocations: 1.01 MB / 0.7408 GB, free: 188 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004821/1.187, allocations: 1.544 MB / 0.7423 GB, free: 187.3 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.918e-05/1.187, allocations: 310.2 kB / 0.7426 GB, free: 187 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004761/1.192, allocations: 3.009 MB / 0.7455 GB, free: 186 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007072/1.199, allocations: 7.354 MB / 0.7527 GB, free: 179.2 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01016/1.209, allocations: 11.11 MB / 0.7636 GB, free: 170.4 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001424/1.21, allocations: 43.38 kB / 0.7636 GB, free: 170.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.01657/1.226, allocations: 11.2 MB / 0.7745 GB, free: 161.6 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.372e-05/1.226, allocations: 72.12 kB / 0.7746 GB, free: 161.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001188/1.226, allocations: 156 kB / 0.7747 GB, free: 161.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00263/1.229, allocations: 1.225 MB / 0.7759 GB, free: 160.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005624/1.235, allocations: 1.836 MB / 0.7777 GB, free: 158.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00767/1.242, allocations: 8.377 MB / 0.7859 GB, free: 149.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007372/1.25, allocations: 427.3 kB / 0.7863 GB, free: 149.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001145/1.251, allocations: 448 kB / 0.7868 GB, free: 148.8 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.004305/1.255, allocations: 2.634 MB / 0.7893 GB, free: 146.2 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0013/1.257, allocations: 463.2 kB / 0.7898 GB, free: 145.7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007485/1.264, allocations: 5.239 MB / 0.7949 GB, free: 140.4 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.951e-05/1.264, allocations: 28 kB / 0.7949 GB, free: 140.4 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.414e-05/1.264, allocations: 4 kB / 0.7949 GB, free: 140.4 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.21e-05/1.264, allocations: 15.95 kB / 0.7949 GB, free: 140.4 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01935/1.283, allocations: 11.76 MB / 0.8064 GB, free: 128.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.808e-05/1.284, allocations: 0 / 0.8064 GB, free: 128.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0024/1.286, allocations: 0.4993 MB / 0.8069 GB, free: 128.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002347/1.288, allocations: 1.006 MB / 0.8079 GB, free: 127.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002417/1.289, allocations: 40 kB / 0.8079 GB, free: 127.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006797/1.295, allocations: 7.698 MB / 0.8154 GB, free: 119.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/1.295, allocations: 0 / 0.8154 GB, free: 119.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01068/1.306, allocations: 8.734 MB / 0.824 GB, free: 110.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00152/1.308, allocations: 0.492 MB / 0.8244 GB, free: 109.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006145/1.308, allocations: 44 kB / 0.8245 GB, free: 109.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001939/1.31, allocations: 187.5 kB / 0.8247 GB, free: 109.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004015/1.311, allocations: 141.7 kB / 0.8248 GB, free: 109.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000176/1.311, allocations: 71.98 kB / 0.8249 GB, free: 109.4 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00373/1.315, allocations: 3.157 MB / 0.8279 GB, free: 106.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/1.315, allocations: 0 / 0.8279 GB, free: 106.2 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005862/1.32, allocations: 1.35 MB / 0.8293 GB, free: 104.9 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.0004885/1.321, allocations: 192.1 kB / 0.8295 GB, free: 104.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0142/1.335, allocations: 10.13 MB / 0.8393 GB, free: 94.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/1.335, allocations: 4 kB / 0.8393 GB, free: 94.59 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002767/1.338, allocations: 2.559 MB / 0.8418 GB, free: 92.02 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004786/1.343, allocations: 0.5939 MB / 0.8424 GB, free: 91.43 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02164/1.364, allocations: 15.54 MB / 0.8576 GB, free: 75.88 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003653/1.368, allocations: 4.093 MB / 0.8616 GB, free: 71.75 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005617/1.374, allocations: 2.368 MB / 0.8639 GB, free: 69.38 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001026/1.375, allocations: 319.4 kB / 0.8642 GB, free: 69.07 MB / 0.545 GB Notification: Performance of SimCode: time 8.52e-07/1.375, allocations: 8 kB / 0.8642 GB, free: 69.06 MB / 0.545 GB Notification: Performance of Templates: time 0.08338/1.458, allocations: 51.94 MB / 0.9149 GB, free: 17.38 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