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: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.LineForceWithMass,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_LineForceWithMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.LineForceWithMass,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_LineForceWithMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001113/0.001113, allocations: 93.75 kB / 17.35 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001164/0.001164, allocations: 199.3 kB / 18.28 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.357/1.357, allocations: 227.7 MB / 246.8 MB, free: 11.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1998/0.1998, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000249/0.000249, allocations: 8 kB / 419.6 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1152, allocations: 63.56 MB / 483.2 MB, free: 4.066 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.2771/0.3924, allocations: 61.9 MB / 0.5323 GB, free: 8.738 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02525/0.4177, allocations: 12.86 MB / 0.5449 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009645/0.4274, allocations: 283.3 kB / 0.5451 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001441/0.4288, allocations: 0.5381 MB / 0.5456 GB, free: 1.082 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004954/0.4338, allocations: 2.207 MB / 0.5478 GB, free: 15.85 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002111/0.4359, allocations: 1.06 MB / 0.5488 GB, free: 15.15 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01001/0.4459, allocations: 9.441 MB / 0.5581 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008409/0.4544, allocations: 6.237 MB / 0.5641 GB, free: 3.707 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003401/0.4578, allocations: 1.689 MB / 0.5658 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004802/0.4627, allocations: 2.854 MB / 0.5686 GB, free: 15.15 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009645/0.4637, allocations: 200 kB / 0.5688 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003102/0.4668, allocations: 1.369 MB / 0.5701 GB, free: 13.58 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002768/0.4696, allocations: 2.396 MB / 0.5725 GB, free: 11.18 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003958/0.4735, allocations: 2.793 MB / 0.5752 GB, free: 8.363 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00925/0.4828, allocations: 9.07 MB / 0.584 GB, free: 15.26 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.4828, allocations: 0 / 0.584 GB, free: 15.26 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4828, allocations: 0 / 0.584 GB, free: 15.26 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000213/0.4831, allocations: 0 / 0.584 GB, free: 15.26 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.01509/0.4982, allocations: 5.798 MB / 0.5897 GB, free: 9.387 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.4982, allocations: 16.81 kB / 0.5897 GB, free: 9.371 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002403/0.5006, allocations: 0.914 MB / 0.5906 GB, free: 8.445 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1768/0.6775, allocations: 12.84 MB / 0.6031 GB, free: 11.58 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009655/0.6872, allocations: 4.469 MB / 0.6075 GB, free: 7.055 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003304/0.6875, allocations: 312.4 kB / 0.6078 GB, free: 6.746 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001482/0.689, allocations: 427.5 kB / 0.6082 GB, free: 6.328 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02759/0.7166, allocations: 13.72 MB / 0.6216 GB, free: 7.734 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002107/0.7169, allocations: 55.44 kB / 0.6217 GB, free: 7.68 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001111/0.718, allocations: 203.8 kB / 0.6219 GB, free: 7.48 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004205/0.7222, allocations: 2.527 MB / 0.6243 GB, free: 4.953 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02468/0.7469, allocations: 11.59 MB / 0.6356 GB, free: 9.352 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06987/0.8168, allocations: 53.11 MB / 0.6875 GB, free: 2.715 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01664/0.8335, allocations: 5.826 MB / 0.6932 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005018/0.8386, allocations: 3.392 MB / 0.6965 GB, free: 9.34 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2343/1.073, allocations: 14.87 MB / 0.711 GB, free: 179.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/1.073, allocations: 57.28 kB / 0.7111 GB, free: 179.7 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=227): time 5.851e-06/1.073, allocations: 0 / 0.7111 GB, free: 179.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=264): time 0.07354/1.147, allocations: 26.32 MB / 0.7368 GB, free: 171.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.794e-05/1.147, allocations: 264.1 kB / 0.737 GB, free: 171.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005575/1.152, allocations: 5.062 MB / 0.742 GB, free: 168 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003438/1.153, allocations: 62.25 kB / 0.7421 GB, free: 168 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001682/1.154, allocations: 3.95 MB / 0.7459 GB, free: 164 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007455/1.155, allocations: 0.9914 MB / 0.7469 GB, free: 163 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005627/1.156, allocations: 0.6158 MB / 0.7475 GB, free: 162.4 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.775e-05/1.156, allocations: 308.9 kB / 0.7478 GB, free: 162.1 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003031/1.159, allocations: 2.735 MB / 0.7504 GB, free: 159.4 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004531/1.163, allocations: 7.089 MB / 0.7574 GB, free: 150.3 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008405/1.172, allocations: 10.65 MB / 0.7678 GB, free: 137.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.286e-05/1.172, allocations: 44 kB / 0.7678 GB, free: 137.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=963) (initialization): time 0.01444/1.186, allocations: 10.12 MB / 0.7777 GB, free: 127.3 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.504e-05/1.186, allocations: 72 kB / 0.7778 GB, free: 127.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001633/1.187, allocations: 154 kB / 0.7779 GB, free: 127.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001531/1.188, allocations: 0.7088 MB / 0.7786 GB, free: 126.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005412/1.193, allocations: 1.766 MB / 0.7803 GB, free: 124.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005577/1.199, allocations: 6.353 MB / 0.7865 GB, free: 118 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005168/1.204, allocations: 407.3 kB / 0.7869 GB, free: 117.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008042/1.205, allocations: 444 kB / 0.7873 GB, free: 117.2 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 693 * 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 (913): * Single equations (assignments): 908 * 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,13,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003911/1.209, allocations: 2.628 MB / 0.7899 GB, free: 114.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007775/1.21, allocations: 466 kB / 0.7904 GB, free: 114.1 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005883/1.216, allocations: 4.392 MB / 0.7946 GB, free: 109.7 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.879e-05/1.216, allocations: 28.66 kB / 0.7947 GB, free: 109.6 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/1.216, allocations: 8 kB / 0.7947 GB, free: 109.6 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.959e-05/1.216, allocations: 19.89 kB / 0.7947 GB, free: 109.6 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01456/1.23, allocations: 10.84 MB / 0.8053 GB, free: 98.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-05/1.23, allocations: 0 / 0.8053 GB, free: 98.77 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002267/1.233, allocations: 0.4993 MB / 0.8058 GB, free: 98.27 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001175/1.234, allocations: 485.2 kB / 0.8062 GB, free: 97.79 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001687/1.234, allocations: 57.02 kB / 0.8063 GB, free: 97.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004842/1.239, allocations: 5.702 MB / 0.8119 GB, free: 91.76 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/1.239, allocations: 7.984 kB / 0.8119 GB, free: 91.75 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00857/1.247, allocations: 7.632 MB / 0.8193 GB, free: 84.05 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001107/1.249, allocations: 0.4951 MB / 0.8198 GB, free: 83.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004369/1.249, allocations: 40.78 kB / 0.8198 GB, free: 83.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001859/1.251, allocations: 163.9 kB / 0.82 GB, free: 83.34 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003351/1.251, allocations: 150.5 kB / 0.8201 GB, free: 83.19 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001568/1.251, allocations: 77.94 kB / 0.8202 GB, free: 83.12 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003503/1.255, allocations: 3.18 MB / 0.8233 GB, free: 79.95 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/1.255, allocations: 0 / 0.8233 GB, free: 79.95 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004864/1.26, allocations: 1.28 MB / 0.8246 GB, free: 78.68 MB / 0.5294 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 (224): * Single equations (assignments): 219 * 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.008333/1.268, allocations: 8.329 MB / 0.8327 GB, free: 70.27 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007653/1.276, allocations: 6.782 MB / 0.8393 GB, free: 63.49 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/1.276, allocations: 4 kB / 0.8393 GB, free: 63.48 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002375/1.278, allocations: 2.376 MB / 0.8416 GB, free: 61.09 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003495/1.282, allocations: 0.6036 MB / 0.8422 GB, free: 60.49 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3274/1.609, allocations: 72.07 MB / 0.9126 GB, free: 178.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007921/1.617, allocations: 4.101 MB / 0.9166 GB, free: 178.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.007224/1.624, allocations: 2.365 MB / 0.9189 GB, free: 178.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003165/1.628, allocations: 2.623 MB / 0.9215 GB, free: 177.6 MB / 0.545 GB Notification: Performance of SimCode: time 9.62e-07/1.628, allocations: 0 / 0.9215 GB, free: 177.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1318/1.759, allocations: 93.24 MB / 1.013 GB, free: 103.5 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001984/1.76, allocations: 225.3 kB / 1.013 GB, free: 103.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.409/6.169, allocations: 3.938 kB / 1.013 GB, free: 103.2 MB / 0.545 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_LineForceWithMass_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_LineForceWithMass.fmu > 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