Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.LineForceWithMass,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_LineForceWithMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.LineForceWithMass,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_LineForceWithMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001583/0.001583, allocations: 189.2 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.119/2.119, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001142/0.001141, allocations: 94.86 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3005/0.3005, allocations: 43.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004695/0.0004697, allocations: 12 kB / 431.5 MB, free: 20.17 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1224, allocations: 58.86 MB / 490.3 MB, free: 9.242 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.5788/0.7012, allocations: 54.7 MB / 0.5322 GB, free: 9.824 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.03765/0.7389, allocations: 13.02 MB / 0.545 GB, free: 8.293 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01633/0.7553, allocations: 279.7 kB / 0.5452 GB, free: 8.25 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01112/0.7664, allocations: 2.703 MB / 0.5479 GB, free: 7.68 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0334/0.7999, allocations: 7.832 MB / 0.5555 GB, free: 4.113 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006154/0.8061, allocations: 0.9902 MB / 0.5565 GB, free: 3.531 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.07109/0.8772, allocations: 27.01 MB / 0.5829 GB, free: 13.58 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01224/0.8895, allocations: 5.53 MB / 0.5883 GB, free: 7.992 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004572/0.8942, allocations: 1.503 MB / 0.5897 GB, free: 6.484 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005175/0.8994, allocations: 2.013 MB / 0.5917 GB, free: 4.465 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001636/0.9011, allocations: 200 kB / 0.5919 GB, free: 4.27 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004637/0.9058, allocations: 1.124 MB / 0.593 GB, free: 3.145 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00496/0.9108, allocations: 2.217 MB / 0.5952 GB, free: 0.9219 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003412/0.9143, allocations: 1.104 MB / 0.5962 GB, free: 15.8 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01554/0.9299, allocations: 7.544 MB / 0.6036 GB, free: 8.246 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.9299, allocations: 0 / 0.6036 GB, free: 8.246 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.845e-06/0.93, allocations: 0 / 0.6036 GB, free: 8.246 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003621/0.9303, allocations: 0 / 0.6036 GB, free: 8.246 MB / 410.7 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.02611/0.9564, allocations: 6.106 MB / 0.6096 GB, free: 2.059 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.846e-05/0.9565, allocations: 12.03 kB / 0.6096 GB, free: 2.047 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003658/0.9602, allocations: 0.9255 MB / 0.6105 GB, free: 1.109 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3446/1.305, allocations: 14.68 MB / 0.6248 GB, free: 2.402 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01674/1.322, allocations: 4.525 MB / 0.6292 GB, free: 13.79 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004386/1.322, allocations: 308 kB / 0.6295 GB, free: 13.49 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002313/1.324, allocations: 423.7 kB / 0.6299 GB, free: 13.07 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04448/1.369, allocations: 13.89 MB / 0.6435 GB, free: 14.3 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000288/1.369, allocations: 59.42 kB / 0.6436 GB, free: 14.25 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001502/1.371, allocations: 203.8 kB / 0.6438 GB, free: 14.05 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007673/1.379, allocations: 2.523 MB / 0.6462 GB, free: 11.52 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06221/1.441, allocations: 11.76 MB / 0.6577 GB, free: 15.75 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1077/1.549, allocations: 53.35 MB / 0.7098 GB, free: 8.887 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02914/1.578, allocations: 5.834 MB / 0.7155 GB, free: 2.902 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3748/1.953, allocations: 14.94 MB / 0.7301 GB, free: 181.8 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.973e-05/1.953, allocations: 59.25 kB / 0.7301 GB, free: 181.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=227): time 7.053e-06/1.953, allocations: 0 / 0.7301 GB, free: 181.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=264): time 0.1472/2.1, allocations: 26.71 MB / 0.7562 GB, free: 170.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.338e-05/2.1, allocations: 261.3 kB / 0.7565 GB, free: 169.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01031/2.11, allocations: 5.325 MB / 0.7617 GB, free: 164.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005994/2.111, allocations: 70.64 kB / 0.7618 GB, free: 164.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002993/2.114, allocations: 3.806 MB / 0.7655 GB, free: 160.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001435/2.116, allocations: 0.9886 MB / 0.7664 GB, free: 159.8 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008275/2.116, allocations: 154.4 kB / 0.7666 GB, free: 159.6 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005538/2.117, allocations: 0.6247 MB / 0.7672 GB, free: 159 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006842/2.124, allocations: 2.696 MB / 0.7698 GB, free: 156.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009285/2.133, allocations: 7.022 MB / 0.7767 GB, free: 147.3 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009453/2.143, allocations: 4.236 MB / 0.7808 GB, free: 143.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001434/2.143, allocations: 44 kB / 0.7809 GB, free: 143 MB / 0.5105 GB Notification: Performance of matching and sorting (n=963) (initialization): time 0.02487/2.168, allocations: 9.86 MB / 0.7905 GB, free: 133.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001102/2.168, allocations: 73.56 kB / 0.7906 GB, free: 133.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001927/2.168, allocations: 155.5 kB / 0.7907 GB, free: 132.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002831/2.171, allocations: 0.7269 MB / 0.7914 GB, free: 132.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01101/2.182, allocations: 1.77 MB / 0.7931 GB, free: 130.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01043/2.193, allocations: 6.462 MB / 0.7995 GB, free: 123.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007984/2.201, allocations: 407.4 kB / 0.7998 GB, free: 123.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001437/2.202, allocations: 444 kB / 0.8003 GB, free: 122.9 MB / 0.5105 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006652/2.209, allocations: 2.649 MB / 0.8029 GB, free: 120.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001201/2.21, allocations: 473.9 kB / 0.8033 GB, free: 119.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01099/2.221, allocations: 4.356 MB / 0.8076 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.882e-05/2.221, allocations: 28 kB / 0.8076 GB, free: 115.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.536e-05/2.221, allocations: 11.95 kB / 0.8076 GB, free: 115.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.652e-05/2.221, allocations: 11.95 kB / 0.8076 GB, free: 115.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.029/2.25, allocations: 10.86 MB / 0.8182 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.533e-05/2.25, allocations: 7.953 kB / 0.8182 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004857/2.255, allocations: 0.4892 MB / 0.8187 GB, free: 104 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002353/2.258, allocations: 497.3 kB / 0.8192 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004948/2.258, allocations: 48.86 kB / 0.8192 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009075/2.267, allocations: 5.81 MB / 0.8249 GB, free: 97.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/2.267, allocations: 4.062 kB / 0.8249 GB, free: 97.34 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01713/2.284, allocations: 7.685 MB / 0.8324 GB, free: 89.57 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003407/2.288, allocations: 0.8502 MB / 0.8332 GB, free: 88.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001459/2.289, allocations: 44 kB / 0.8333 GB, free: 88.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0044/2.294, allocations: 172.6 kB / 0.8334 GB, free: 88.48 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009266/2.295, allocations: 141.7 kB / 0.8336 GB, free: 88.34 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003201/2.295, allocations: 72.69 kB / 0.8336 GB, free: 88.27 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007873/2.303, allocations: 3.372 MB / 0.8369 GB, free: 84.92 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.42e-07/2.303, allocations: 0 / 0.8369 GB, free: 84.92 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008558/2.312, allocations: 1.33 MB / 0.8382 GB, free: 83.59 MB / 0.5105 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01799/2.33, allocations: 8.542 MB / 0.8466 GB, free: 74.97 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01499/2.345, allocations: 6.744 MB / 0.8532 GB, free: 68.23 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/2.345, allocations: 0 / 0.8532 GB, free: 68.23 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005102/2.35, allocations: 2.366 MB / 0.8555 GB, free: 65.85 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004474/2.354, allocations: 0.5717 MB / 0.856 GB, free: 65.28 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4872/2.842, allocations: 153.2 MB / 1.006 GB, free: 94.96 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008131/2.85, allocations: 4.231 MB / 1.01 GB, free: 93.52 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006171/2.856, allocations: 2.678 MB / 1.012 GB, free: 91.38 MB / 0.5105 GB Notification: Performance of SimCode: time 3.216e-06/2.856, allocations: 0 / 1.012 GB, free: 91.38 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.249/8.105, allocations: 152.9 MB / 1.162 GB, free: 167.9 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_LineForceWithMass_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_LineForceWithMass.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat does not exist to compare? outputFormat=mat