Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001545/0.001546, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001856/0.001856, allocations: 203.5 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.662/1.662, allocations: 205.1 MB / 222.6 MB, free: 4.758 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3934/0.3934, allocations: 43.49 MB / 313.5 MB, free: 8.488 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 66.56 kB / 382 MB, free: 8.734 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.162, allocations: 57.77 MB / 439.8 MB, free: 14.86 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.38/0.5421, allocations: 63.96 MB / 0.492 GB, free: 9.855 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03807/0.5802, allocations: 13.1 MB / 0.5048 GB, free: 1.141 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01866/0.5989, allocations: 286.6 kB / 0.505 GB, free: 1.094 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008934/0.6079, allocations: 4.006 MB / 0.5089 GB, free: 15.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008996/0.617, allocations: 2.212 MB / 0.5111 GB, free: 14.24 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004209/0.6212, allocations: 1.074 MB / 0.5122 GB, free: 13.79 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01791/0.6391, allocations: 8.884 MB / 0.5208 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01029/0.6495, allocations: 4.62 MB / 0.5253 GB, free: 8.957 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006674/0.6562, allocations: 2.016 MB / 0.5273 GB, free: 7.816 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00852/0.6648, allocations: 3.236 MB / 0.5305 GB, free: 4.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002291/0.6671, allocations: 324 kB / 0.5308 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00614/0.6733, allocations: 1.49 MB / 0.5322 GB, free: 2.762 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006207/0.6795, allocations: 2.618 MB / 0.5348 GB, free: 140 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007561/0.6871, allocations: 2.908 MB / 0.5376 GB, free: 13.21 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01369/0.7008, allocations: 9.069 MB / 0.5465 GB, free: 4.113 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.331e-06/0.7009, allocations: 0 / 0.5465 GB, free: 4.113 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.7009, allocations: 0 / 0.5465 GB, free: 4.113 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004204/0.7013, allocations: 0 / 0.5465 GB, free: 4.113 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.02316/0.7245, allocations: 6.761 MB / 0.5531 GB, free: 13.27 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.796e-05/0.7246, allocations: 8.031 kB / 0.5531 GB, free: 13.27 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02549/0.7501, allocations: 3.304 MB / 0.5563 GB, free: 9.949 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01153/0.7616, allocations: 4.203 MB / 0.5604 GB, free: 5.688 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003852/0.7621, allocations: 308.5 kB / 0.5607 GB, free: 5.383 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002171/0.7642, allocations: 427.6 kB / 0.5611 GB, free: 4.965 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03236/0.7966, allocations: 13.81 MB / 0.5746 GB, free: 6.281 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003365/0.797, allocations: 63.52 kB / 0.5747 GB, free: 6.219 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001807/0.7988, allocations: 199.8 kB / 0.5749 GB, free: 6.023 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004448/0.8033, allocations: 2.523 MB / 0.5773 GB, free: 3.496 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02733/0.8306, allocations: 11.8 MB / 0.5889 GB, free: 7.684 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3652/1.196, allocations: 53.74 MB / 0.6413 GB, free: 109.9 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01759/1.214, allocations: 5.908 MB / 0.6471 GB, free: 109.3 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004868/1.218, allocations: 3.59 MB / 0.6506 GB, free: 108.6 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02412/1.243, allocations: 15.45 MB / 0.6657 GB, free: 100.6 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.162e-05/1.243, allocations: 58.25 kB / 0.6658 GB, free: 100.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=230): time 4.679e-06/1.243, allocations: 2.156 kB / 0.6658 GB, free: 100.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=267): time 0.09614/1.339, allocations: 28.63 MB / 0.6937 GB, free: 91.31 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.177e-05/1.339, allocations: 264.9 kB / 0.694 GB, free: 91.03 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008272/1.347, allocations: 5.076 MB / 0.6989 GB, free: 89.22 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006689/1.348, allocations: 68.23 kB / 0.699 GB, free: 89.16 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00211/1.35, allocations: 3.889 MB / 0.7028 GB, free: 86.17 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001131/1.351, allocations: 1.016 MB / 0.7038 GB, free: 85.43 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002044/1.353, allocations: 1.544 MB / 0.7053 GB, free: 84.66 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.211e-05/1.353, allocations: 317 kB / 0.7056 GB, free: 84.35 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003979/1.357, allocations: 3.001 MB / 0.7085 GB, free: 82.34 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007992/1.365, allocations: 7.346 MB / 0.7157 GB, free: 72.99 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01113/1.377, allocations: 11.09 MB / 0.7265 GB, free: 60.11 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001315/1.377, allocations: 44 kB / 0.7266 GB, free: 60.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.0184/1.395, allocations: 11.2 MB / 0.7375 GB, free: 48.86 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.835e-05/1.395, allocations: 72.25 kB / 0.7376 GB, free: 48.79 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001364/1.395, allocations: 152 kB / 0.7377 GB, free: 48.64 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002752/1.398, allocations: 1.225 MB / 0.7389 GB, free: 47.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005714/1.404, allocations: 1.825 MB / 0.7407 GB, free: 45.58 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007159/1.411, allocations: 7.772 MB / 0.7483 GB, free: 37.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006301/1.417, allocations: 434.8 kB / 0.7487 GB, free: 37.14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001253/1.419, allocations: 455.9 kB / 0.7491 GB, free: 36.7 MB / 494.1 MB 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.004848/1.423, allocations: 2.643 MB / 0.7517 GB, free: 34.05 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001148/1.425, allocations: 469.9 kB / 0.7522 GB, free: 33.58 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008099/1.433, allocations: 5.233 MB / 0.7573 GB, free: 28.32 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.212e-05/1.433, allocations: 30.3 kB / 0.7573 GB, free: 28.3 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.626e-05/1.433, allocations: 12 kB / 0.7573 GB, free: 28.29 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.44e-05/1.433, allocations: 11.95 kB / 0.7573 GB, free: 28.27 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01967/1.453, allocations: 11.74 MB / 0.7688 GB, free: 16.53 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.85e-05/1.453, allocations: 0 / 0.7688 GB, free: 16.53 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002377/1.455, allocations: 0.4953 MB / 0.7693 GB, free: 16.03 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002443/1.457, allocations: 0.9964 MB / 0.7703 GB, free: 15.03 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002814/1.458, allocations: 51.92 kB / 0.7703 GB, free: 14.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006639/1.464, allocations: 7.108 MB / 0.7773 GB, free: 7.617 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.464, allocations: 12 kB / 0.7773 GB, free: 7.605 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01112/1.476, allocations: 8.722 MB / 0.7858 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002426/1.478, allocations: 0.8738 MB / 0.7866 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001016/1.479, allocations: 47.94 kB / 0.7867 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002586/1.482, allocations: 167.8 kB / 0.7868 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005294/1.482, allocations: 153.5 kB / 0.787 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002216/1.482, allocations: 75.98 kB / 0.7871 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.006004/1.488, allocations: 3.178 MB / 0.7902 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.81e-07/1.488, allocations: 0 / 0.7902 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.007653/1.496, allocations: 1.372 MB / 0.7915 GB, free: 8.945 MB / 0.4981 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.0006858/1.497, allocations: 193 kB / 0.7917 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01197/1.509, allocations: 7.303 MB / 0.7988 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.267e-06/1.509, allocations: 4.109 kB / 0.7988 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003848/1.513, allocations: 2.558 MB / 0.8013 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004159/1.517, allocations: 0.561 MB / 0.8019 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02484/1.542, allocations: 15.59 MB / 0.8171 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005135/1.547, allocations: 4.117 MB / 0.8211 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.007245/1.554, allocations: 2.366 MB / 0.8234 GB, free: 8.207 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001644/1.556, allocations: 323.4 kB / 0.8237 GB, free: 7.891 MB / 0.5294 GB Notification: Performance of SimCode: time 1.352e-06/1.556, allocations: 0 / 0.8237 GB, free: 7.891 MB / 0.5294 GB Notification: Performance of Templates: time 0.3529/1.909, allocations: 50.26 MB / 0.8728 GB, free: 162.5 MB / 0.5294 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/LineForceWithMass/LineForceWithMass.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches