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.001534/0.001534, allocations: 114.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002206/0.002207, allocations: 204 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2249/0.2249, allocations: 46.1 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 79.88 kB / 482 MB, free: 4.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.3405, allocations: 62.45 MB / 0.5317 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01672/0.3572, allocations: 14.95 MB / 0.5463 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01029/0.3675, allocations: 5.015 MB / 0.5512 GB, free: 13.67 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002958/0.3705, allocations: 103.7 kB / 0.5513 GB, free: 13.57 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007879/0.3785, allocations: 4.007 MB / 0.5552 GB, free: 9.547 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006976/0.3855, allocations: 2.389 MB / 0.5575 GB, free: 7.148 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002958/0.3884, allocations: 1.158 MB / 0.5587 GB, free: 5.988 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009483/0.3979, allocations: 6.581 MB / 0.5651 GB, free: 15.39 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006692/0.4047, allocations: 4.688 MB / 0.5697 GB, free: 10.64 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004235/0.4089, allocations: 2.2 MB / 0.5718 GB, free: 8.43 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005528/0.4145, allocations: 3.022 MB / 0.5748 GB, free: 5.398 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002134/0.4167, allocations: 460 kB / 0.5752 GB, free: 4.949 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003973/0.4207, allocations: 1.529 MB / 0.5767 GB, free: 3.418 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003466/0.4242, allocations: 2.747 MB / 0.5794 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004639/0.4288, allocations: 2.99 MB / 0.5823 GB, free: 13.66 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01124/0.4401, allocations: 9.398 MB / 0.5915 GB, free: 4.227 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.4401, allocations: 3.938 kB / 0.5915 GB, free: 4.223 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4401, allocations: 0 / 0.5915 GB, free: 4.223 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002803/0.4404, allocations: 0 / 0.5915 GB, free: 4.223 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.01597/0.4564, allocations: 6.73 MB / 0.5981 GB, free: 13.41 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.4564, allocations: 8.031 kB / 0.5981 GB, free: 13.4 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02796/0.4844, allocations: 3.293 MB / 0.6013 GB, free: 10.1 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01135/0.4958, allocations: 4.132 MB / 0.6053 GB, free: 5.906 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003369/0.4962, allocations: 308.4 kB / 0.6056 GB, free: 5.602 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00208/0.4983, allocations: 423.7 kB / 0.606 GB, free: 5.188 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02783/0.5261, allocations: 13.84 MB / 0.6195 GB, free: 6.48 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002182/0.5264, allocations: 63.38 kB / 0.6196 GB, free: 6.418 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001163/0.5275, allocations: 191.8 kB / 0.6198 GB, free: 6.23 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004252/0.5318, allocations: 2.531 MB / 0.6222 GB, free: 3.695 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02681/0.5586, allocations: 11.82 MB / 0.6338 GB, free: 7.867 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07971/0.6384, allocations: 53.47 MB / 0.686 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01803/0.6565, allocations: 5.928 MB / 0.6918 GB, free: 10.8 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005401/0.6619, allocations: 3.596 MB / 0.6953 GB, free: 7.195 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.027/0.6889, allocations: 15.51 MB / 0.7104 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.085e-05/0.689, allocations: 64.56 kB / 0.7105 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=230): time 6.221e-06/0.689, allocations: 0 / 0.7105 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of matching and sorting (n=267): time 0.391/1.08, allocations: 28.64 MB / 0.7385 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.845e-05/1.08, allocations: 264.7 kB / 0.7387 GB, free: 159.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004892/1.085, allocations: 5.048 MB / 0.7437 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003957/1.085, allocations: 65.53 kB / 0.7437 GB, free: 155.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001439/1.087, allocations: 3.891 MB / 0.7475 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007019/1.088, allocations: 0.9989 MB / 0.7485 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001471/1.089, allocations: 1.543 MB / 0.75 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.436e-05/1.089, allocations: 301.1 kB / 0.7503 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00326/1.092, allocations: 3.017 MB / 0.7532 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004325/1.097, allocations: 7.346 MB / 0.7604 GB, free: 136.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008551/1.105, allocations: 11.12 MB / 0.7713 GB, free: 123.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.169e-05/1.105, allocations: 40 kB / 0.7713 GB, free: 123.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.01551/1.121, allocations: 11.21 MB / 0.7822 GB, free: 112 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.281e-05/1.121, allocations: 72 kB / 0.7823 GB, free: 111.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001243/1.121, allocations: 148.9 kB / 0.7825 GB, free: 111.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00266/1.124, allocations: 1.232 MB / 0.7837 GB, free: 110.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005458/1.129, allocations: 1.833 MB / 0.7854 GB, free: 108.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007795/1.137, allocations: 8.361 MB / 0.7936 GB, free: 100.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005856/1.143, allocations: 427.4 kB / 0.794 GB, free: 99.69 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001046/1.144, allocations: 448 kB / 0.7944 GB, free: 99.25 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.003791/1.148, allocations: 2.631 MB / 0.797 GB, free: 96.61 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000802/1.149, allocations: 469.4 kB / 0.7975 GB, free: 96.15 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007586/1.156, allocations: 5.238 MB / 0.8026 GB, free: 90.89 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.612e-05/1.156, allocations: 11.95 kB / 0.8026 GB, free: 90.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/1.156, allocations: 8 kB / 0.8026 GB, free: 90.87 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001068/1.157, allocations: 0.4912 MB / 0.8031 GB, free: 90.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006273/1.158, allocations: 51.58 kB / 0.8031 GB, free: 90.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002037/1.16, allocations: 167.8 kB / 0.8033 GB, free: 90.14 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003704/1.16, allocations: 161.7 kB / 0.8034 GB, free: 89.98 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008986/1.169, allocations: 5.747 MB / 0.8091 GB, free: 84.27 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007858/1.177, allocations: 7.824 MB / 0.8167 GB, free: 76.38 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002032/1.179, allocations: 2.12 MB / 0.8188 GB, free: 74.27 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003921/1.183, allocations: 3.157 MB / 0.8218 GB, free: 71.12 MB / 0.5606 GB Notification: Performance of Backend: time 6.31e-07/1.183, allocations: 0 / 0.8218 GB, free: 71.12 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009392/1.193, allocations: 5.726 MB / 0.8274 GB, free: 65.43 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01534/1.208, allocations: 11.89 MB / 0.839 GB, free: 53.51 MB / 0.5606 GB Notification: Performance of Templates: time 0.09572/1.304, allocations: 64.51 MB / 0.902 GB, free: 5.277 MB / 0.5763 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