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.001093/0.001093, allocations: 114.9 kB / 18.45 MB, free: 4.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00116/0.00116, allocations: 214.8 kB / 19.41 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2037/0.2037, allocations: 46.1 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 71.89 kB / 482 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.2981, allocations: 62.44 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01487/0.3131, allocations: 14.97 MB / 0.5463 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01033/0.3234, allocations: 5.023 MB / 0.5512 GB, free: 13.71 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002514/0.326, allocations: 103.7 kB / 0.5513 GB, free: 13.61 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007119/0.3331, allocations: 3.995 MB / 0.5552 GB, free: 9.598 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006337/0.3395, allocations: 2.318 MB / 0.5575 GB, free: 7.273 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002637/0.3422, allocations: 1.174 MB / 0.5586 GB, free: 6.098 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008546/0.3507, allocations: 6.574 MB / 0.565 GB, free: 15.51 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005657/0.3564, allocations: 4.688 MB / 0.5696 GB, free: 10.75 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003218/0.3596, allocations: 2.192 MB / 0.5717 GB, free: 8.555 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004267/0.3639, allocations: 3.022 MB / 0.5747 GB, free: 5.523 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00123/0.3652, allocations: 460 kB / 0.5751 GB, free: 5.074 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003235/0.3684, allocations: 1.533 MB / 0.5766 GB, free: 3.539 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002959/0.3714, allocations: 2.751 MB / 0.5793 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003685/0.3751, allocations: 2.987 MB / 0.5822 GB, free: 13.77 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009454/0.3846, allocations: 9.39 MB / 0.5914 GB, free: 4.355 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3846, allocations: 0 / 0.5914 GB, free: 4.355 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.727e-06/0.3846, allocations: 0 / 0.5914 GB, free: 4.355 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002379/0.3848, allocations: 3.938 kB / 0.5914 GB, free: 4.352 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.01432/0.3992, allocations: 6.733 MB / 0.598 GB, free: 13.54 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.3992, allocations: 12.03 kB / 0.598 GB, free: 13.52 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02588/0.4251, allocations: 3.297 MB / 0.6012 GB, free: 10.21 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008747/0.4339, allocations: 4.132 MB / 0.6052 GB, free: 6.023 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002459/0.4342, allocations: 304.4 kB / 0.6055 GB, free: 5.723 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001266/0.4354, allocations: 431.6 kB / 0.606 GB, free: 5.301 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02567/0.4611, allocations: 13.82 MB / 0.6195 GB, free: 6.605 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002084/0.4614, allocations: 63.44 kB / 0.6195 GB, free: 6.543 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001203/0.4626, allocations: 203.8 kB / 0.6197 GB, free: 6.344 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003927/0.4665, allocations: 2.523 MB / 0.6222 GB, free: 3.816 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02358/0.4901, allocations: 11.81 MB / 0.6337 GB, free: 7.992 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06617/0.5563, allocations: 53.47 MB / 0.6859 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01639/0.5728, allocations: 5.932 MB / 0.6917 GB, free: 10.92 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004726/0.5775, allocations: 3.591 MB / 0.6952 GB, free: 7.324 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02238/0.5999, allocations: 15.51 MB / 0.7104 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.331e-05/0.6, allocations: 64.5 kB / 0.7104 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=230): time 7.834e-06/0.6001, allocations: 0 / 0.7104 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=267): time 0.3181/0.9182, allocations: 28.64 MB / 0.7384 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.285e-05/0.9183, allocations: 268.3 kB / 0.7387 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005931/0.9242, allocations: 5.052 MB / 0.7436 GB, free: 155.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003225/0.9246, allocations: 65.53 kB / 0.7436 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00174/0.9263, allocations: 3.884 MB / 0.7474 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007617/0.9271, allocations: 0.9992 MB / 0.7484 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001867/0.9289, allocations: 1.543 MB / 0.7499 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.034e-05/0.929, allocations: 305.1 kB / 0.7502 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003451/0.9325, allocations: 3.017 MB / 0.7532 GB, free: 146 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004643/0.9371, allocations: 7.346 MB / 0.7603 GB, free: 136.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009241/0.9464, allocations: 11.11 MB / 0.7712 GB, free: 123.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001185/0.9465, allocations: 44 kB / 0.7712 GB, free: 123.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.01596/0.9625, allocations: 11.2 MB / 0.7822 GB, free: 112.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001097/0.9626, allocations: 72 kB / 0.7822 GB, free: 112.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001564/0.9628, allocations: 148 kB / 0.7824 GB, free: 111.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002763/0.9655, allocations: 1.226 MB / 0.7836 GB, free: 110.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005826/0.9714, allocations: 1.836 MB / 0.7854 GB, free: 108.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007756/0.9792, allocations: 8.361 MB / 0.7935 GB, free: 100.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005943/0.9851, allocations: 431.4 kB / 0.7939 GB, free: 99.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001286/0.9864, allocations: 452 kB / 0.7944 GB, free: 99.39 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.004471/0.9909, allocations: 2.626 MB / 0.7969 GB, free: 96.76 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001009/0.9919, allocations: 466 kB / 0.7974 GB, free: 96.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008047/1, allocations: 5.238 MB / 0.8025 GB, free: 91.04 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-05/1, allocations: 11.95 kB / 0.8025 GB, free: 91.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/1, allocations: 0 / 0.8025 GB, free: 91.03 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009501/1.001, allocations: 0.4989 MB / 0.803 GB, free: 90.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009053/1.002, allocations: 48 kB / 0.803 GB, free: 90.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002346/1.004, allocations: 175.7 kB / 0.8032 GB, free: 90.29 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004916/1.005, allocations: 161.7 kB / 0.8034 GB, free: 90.12 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009138/1.014, allocations: 5.747 MB / 0.809 GB, free: 84.42 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00824/1.022, allocations: 7.82 MB / 0.8166 GB, free: 76.53 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002181/1.024, allocations: 2.116 MB / 0.8187 GB, free: 74.41 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005115/1.03, allocations: 3.154 MB / 0.8218 GB, free: 71.27 MB / 0.5606 GB Notification: Performance of Backend: time 4.51e-07/1.03, allocations: 3.562 kB / 0.8218 GB, free: 71.27 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01056/1.04, allocations: 5.734 MB / 0.8274 GB, free: 65.58 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01831/1.058, allocations: 11.89 MB / 0.839 GB, free: 53.66 MB / 0.5606 GB Notification: Performance of Templates: time 0.1038/1.162, allocations: 65.02 MB / 0.9025 GB, free: 4.98 MB / 0.5762 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/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_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches