Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.LineForceWithMass,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_LineForceWithMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.LineForceWithMass,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_LineForceWithMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 181.7 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 99.03 kB / 292.1 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3594/0.3594, allocations: 44.21 MB / 387.5 MB, free: 39.08 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003478/0.0003478, allocations: 16 kB / 460 MB, free: 1.688 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3518, allocations: 61.9 MB / 0.5096 GB, free: 37.92 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1542/0.5061, allocations: 113.6 MB / 0.6206 GB, free: 13.51 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003417/0.5065, allocations: 87.91 kB / 0.6207 GB, free: 13.43 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.559/1.066, allocations: 112.8 MB / 0.7308 GB, free: 95.57 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.786e-06/1.066, allocations: 0 / 0.7308 GB, free: 95.57 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004596/1.066, allocations: 114.2 kB / 0.7309 GB, free: 95.57 MB / 490.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.02377/1.09, allocations: 6.349 MB / 0.7371 GB, free: 92.57 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.654e-05/1.09, allocations: 7.312 kB / 0.7371 GB, free: 92.57 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006017/1.096, allocations: 0.9719 MB / 0.7381 GB, free: 92.11 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02763/1.124, allocations: 6.888 MB / 0.7448 GB, free: 91.07 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02201/1.146, allocations: 6.805 MB / 0.7515 GB, free: 88.61 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006438/1.146, allocations: 411.9 kB / 0.7519 GB, free: 88.45 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0036/1.15, allocations: 0.5379 MB / 0.7524 GB, free: 88.3 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03505/1.185, allocations: 14.13 MB / 0.7662 GB, free: 79.23 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004827/1.186, allocations: 75.3 kB / 0.7663 GB, free: 79.16 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002704/1.188, allocations: 263.4 kB / 0.7665 GB, free: 78.93 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002034/1.19, allocations: 1.363 MB / 0.7678 GB, free: 77.58 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0263/1.217, allocations: 11.73 MB / 0.7793 GB, free: 65.84 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07332/1.29, allocations: 60.68 MB / 0.8385 GB, free: 3.445 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01632/1.306, allocations: 5.812 MB / 0.8442 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02794/1.334, allocations: 14.72 MB / 0.8586 GB, free: 14.19 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.992e-05/1.335, allocations: 64.44 kB / 0.8587 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=227): time 6.793e-06/1.335, allocations: 0 / 0.8587 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of matching and sorting (n=264): time 0.3973/1.732, allocations: 25.49 MB / 0.8836 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/1.732, allocations: 259.3 kB / 0.8838 GB, free: 116.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009037/1.741, allocations: 4.433 MB / 0.8881 GB, free: 116.4 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007613/1.742, allocations: 69.11 kB / 0.8882 GB, free: 116.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003457/1.745, allocations: 3.971 MB / 0.8921 GB, free: 114.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001773/1.747, allocations: 0.9856 MB / 0.893 GB, free: 113.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006561/1.748, allocations: 152.1 kB / 0.8932 GB, free: 113.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004355/1.748, allocations: 0.6235 MB / 0.8938 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004365/1.753, allocations: 2.573 MB / 0.8963 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007602/1.76, allocations: 6.909 MB / 0.9031 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007641/1.768, allocations: 4.127 MB / 0.9071 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002405/1.768, allocations: 47.03 kB / 0.9071 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=966) (initialization): time 0.02297/1.791, allocations: 9.723 MB / 0.9166 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002847/1.792, allocations: 75.78 kB / 0.9167 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004338/1.792, allocations: 158.7 kB / 0.9168 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002041/1.794, allocations: 0.5838 MB / 0.9174 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008127/1.802, allocations: 1.744 MB / 0.9191 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008389/1.811, allocations: 5.715 MB / 0.9247 GB, free: 98.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00814/1.819, allocations: 398.9 kB / 0.9251 GB, free: 97.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002011/1.821, allocations: 441.8 kB / 0.9255 GB, free: 97.92 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 696 * 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 (916): * Single equations (assignments): 911 * 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.01041/1.831, allocations: 2.633 MB / 0.9281 GB, free: 96.71 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001755/1.833, allocations: 470.9 kB / 0.9285 GB, free: 96.45 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01147/1.845, allocations: 4.02 MB / 0.9324 GB, free: 94.82 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.632e-05/1.845, allocations: 32.02 kB / 0.9325 GB, free: 94.82 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.566e-05/1.845, allocations: 6.5 kB / 0.9325 GB, free: 94.82 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.768e-05/1.845, allocations: 12.28 kB / 0.9325 GB, free: 94.82 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02123/1.866, allocations: 10.27 MB / 0.9425 GB, free: 91.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-05/1.866, allocations: 0 / 0.9425 GB, free: 91.01 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002242/1.868, allocations: 467.7 kB / 0.943 GB, free: 90.98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009601/1.869, allocations: 348.2 kB / 0.9433 GB, free: 90.89 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002137/1.87, allocations: 42.55 kB / 0.9433 GB, free: 90.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004431/1.874, allocations: 5.064 MB / 0.9483 GB, free: 87.13 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/1.874, allocations: 8 kB / 0.9483 GB, free: 87.12 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008703/1.883, allocations: 7.141 MB / 0.9553 GB, free: 83.95 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001621/1.884, allocations: 498.4 kB / 0.9557 GB, free: 83.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007417/1.885, allocations: 42.83 kB / 0.9558 GB, free: 83.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002141/1.887, allocations: 163.2 kB / 0.9559 GB, free: 83.51 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003352/1.888, allocations: 139.8 kB / 0.9561 GB, free: 83.49 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001752/1.888, allocations: 68.23 kB / 0.9561 GB, free: 83.47 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005779/1.894, allocations: 3.108 MB / 0.9592 GB, free: 82.45 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.22e-07/1.894, allocations: 0 / 0.9592 GB, free: 82.45 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009286/1.903, allocations: 1.295 MB / 0.9604 GB, free: 82.29 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.009507/1.913, allocations: 7.998 MB / 0.9682 GB, free: 77.45 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009735/1.922, allocations: 6.461 MB / 0.9746 GB, free: 71.74 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/1.922, allocations: 4 kB / 0.9746 GB, free: 71.74 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002697/1.925, allocations: 2.202 MB / 0.9767 GB, free: 69.76 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003524/1.929, allocations: 0.5616 MB / 0.9773 GB, free: 69.27 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4362/2.365, allocations: 151.4 MB / 1.125 GB, free: 102.4 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006872/2.372, allocations: 4.212 MB / 1.129 GB, free: 101.6 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.007439/2.379, allocations: 2.388 MB / 1.132 GB, free: 101.5 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004646/2.384, allocations: 2.625 MB / 1.134 GB, free: 101.5 MB / 0.5417 GB Notification: Performance of SimCode: time 9.418e-06/2.384, allocations: 1.469 kB / 1.134 GB, free: 101.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1558/2.54, allocations: 99.21 MB / 1.231 GB, free: 42.14 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001513/2.54, allocations: 201.5 kB / 1.231 GB, free: 41.91 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.649/8.189, allocations: 0 / 1.231 GB, free: 41.91 MB / 0.5417 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_LineForceWithMass_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_LineForceWithMass.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat does not exist to compare? outputFormat=mat