Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.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.LineForceWithTwoMasses,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_LineForceWithTwoMasses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_LineForceWithTwoMasses",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.001639/0.001639, allocations: 177.6 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.652/1.652, allocations: 205.3 MB / 213.7 MB, free: 1.727 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009759/0.0009761, allocations: 83.91 kB / 261.7 MB, free: 1.676 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2152/0.2152, allocations: 43.49 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.18e-05/2.191e-05, allocations: 4 kB / 418.3 MB, free: 28.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1192, allocations: 58.86 MB / 477.2 MB, free: 1.535 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4671/0.5864, allocations: 112 MB / 0.5754 GB, free: 15.35 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002321/0.5867, allocations: 81.42 kB / 0.5755 GB, free: 15.31 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.341/0.9277, allocations: 133.7 MB / 0.7061 GB, free: 1.469 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.904e-06/0.9277, allocations: 0 / 0.7061 GB, free: 1.469 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003588/0.9281, allocations: 136 kB / 0.7063 GB, free: 1.336 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2303 * Number of variables: 2303 Notification: Performance of Generate backend data structure: time 0.3124/1.241, allocations: 7.044 MB / 0.7131 GB, free: 98.73 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/1.241, allocations: 9.438 kB / 0.7132 GB, free: 98.73 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03349/1.274, allocations: 7.567 MB / 0.7205 GB, free: 98.27 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02651/1.301, allocations: 9.797 MB / 0.7301 GB, free: 97.77 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003054/1.301, allocations: 210.2 kB / 0.7303 GB, free: 97.77 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00277/1.304, allocations: 400 kB / 0.7307 GB, free: 97.76 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01706/1.321, allocations: 9.692 MB / 0.7402 GB, free: 97.73 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02883/1.35, allocations: 14.25 MB / 0.7541 GB, free: 93.87 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004026/1.35, allocations: 101.5 kB / 0.7542 GB, free: 93.86 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001499/1.352, allocations: 40.62 kB / 0.7542 GB, free: 93.86 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002075/1.354, allocations: 1.583 MB / 0.7558 GB, free: 93.85 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08095/1.435, allocations: 73.79 MB / 0.8278 GB, free: 43.34 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005891/1.441, allocations: 5.242 MB / 0.8329 GB, free: 40.74 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004318/1.445, allocations: 3.768 MB / 0.8366 GB, free: 39.08 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002154/1.447, allocations: 2.258 MB / 0.8388 GB, free: 37.03 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.294e-05/1.447, allocations: 78.19 kB / 0.8389 GB, free: 36.97 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=302): time 7.013e-06/1.447, allocations: 0 / 0.8389 GB, free: 36.97 MB / 0.4948 GB Notification: Performance of matching and sorting (n=385): time 0.0873/1.535, allocations: 40.89 MB / 0.8788 GB, free: 3.012 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/1.535, allocations: 269.8 kB / 0.8791 GB, free: 2.691 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007896/1.543, allocations: 4.666 MB / 0.8836 GB, free: 14.63 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001012/1.544, allocations: 25.7 kB / 0.8837 GB, free: 14.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004294/1.548, allocations: 4.79 MB / 0.8883 GB, free: 10.24 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002261/1.55, allocations: 1.368 MB / 0.8897 GB, free: 9.004 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009519/1.551, allocations: 0 / 0.8897 GB, free: 9.004 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006095/1.552, allocations: 0.7085 MB / 0.8904 GB, free: 8.402 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005485/1.557, allocations: 3.636 MB / 0.8939 GB, free: 5.145 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.297/1.854, allocations: 8.926 MB / 0.9026 GB, free: 102 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01154/1.866, allocations: 5.569 MB / 0.9081 GB, free: 102 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004042/1.866, allocations: 55.75 kB / 0.9081 GB, free: 102 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1247) (initialization): time 0.04093/1.907, allocations: 15.01 MB / 0.9228 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005352/1.908, allocations: 85.97 kB / 0.9229 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005274/1.908, allocations: 188.9 kB / 0.923 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01191/1.92, allocations: 4.008 MB / 0.927 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007603/1.928, allocations: 2.11 MB / 0.929 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02917/1.957, allocations: 20.1 MB / 0.9486 GB, free: 98.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008578/1.966, allocations: 385.9 kB / 0.949 GB, free: 98.72 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002419/1.968, allocations: 0.5372 MB / 0.9495 GB, free: 98.72 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 855 * Number of states: 0 () * Number of discrete variables: 66 (lineForceWithTwoMasses.massColor[3],lineForceWithTwoMasses.massColor[2],lineForceWithTwoMasses.massColor[1],lineForceWithTwoMasses.color_b[3],lineForceWithTwoMasses.color_b[2],lineForceWithTwoMasses.color_b[1],lineForceWithTwoMasses.color_a[3],lineForceWithTwoMasses.color_a[2],lineForceWithTwoMasses.color_a[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],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1127): * Single equations (assignments): 1122 * 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%) 45,(5,64.0%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003749/1.972, allocations: 0.59 MB / 0.9501 GB, free: 98.42 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02026/1.992, allocations: 9.315 MB / 0.9592 GB, free: 97.68 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001869/1.994, allocations: 0.5403 MB / 0.9597 GB, free: 97.53 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02141/2.016, allocations: 9.369 MB / 0.9689 GB, free: 94.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.911e-05/2.016, allocations: 43.02 kB / 0.9689 GB, free: 94.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.235e-05/2.016, allocations: 20.41 kB / 0.9689 GB, free: 94.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.714e-05/2.016, allocations: 17.06 kB / 0.969 GB, free: 94.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03745/2.053, allocations: 18.04 MB / 0.9866 GB, free: 88.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.33e-05/2.054, allocations: 8.047 kB / 0.9866 GB, free: 88.33 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002981/2.057, allocations: 0.5343 MB / 0.9871 GB, free: 88.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01107/2.068, allocations: 3.522 MB / 0.9905 GB, free: 87.72 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008002/2.068, allocations: 11.53 kB / 0.9906 GB, free: 87.72 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02283/2.091, allocations: 17.68 MB / 1.008 GB, free: 76 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/2.091, allocations: 0 / 1.008 GB, free: 76 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02331/2.115, allocations: 14.16 MB / 1.022 GB, free: 64.07 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002837/2.118, allocations: 1.101 MB / 1.023 GB, free: 63.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009646/2.119, allocations: 8 kB / 1.023 GB, free: 63.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003059/2.122, allocations: 165.4 kB / 1.023 GB, free: 62.96 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000744/2.122, allocations: 240.5 kB / 1.023 GB, free: 62.81 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003114/2.123, allocations: 99.89 kB / 1.023 GB, free: 62.71 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005403/2.128, allocations: 3.135 MB / 1.026 GB, free: 60.02 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.41e-07/2.128, allocations: 3.281 kB / 1.026 GB, free: 60.02 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009588/2.138, allocations: 1.61 MB / 1.028 GB, free: 58.42 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (285): * Single equations (assignments): 280 * 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 {(2,100.0%) 43,(1,100.0%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02362/2.161, allocations: 15.39 MB / 1.043 GB, free: 45.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01488/2.176, allocations: 9.21 MB / 1.052 GB, free: 36.21 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/2.176, allocations: 5.062 kB / 1.052 GB, free: 36.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005287/2.182, allocations: 3.687 MB / 1.055 GB, free: 32.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003988/2.186, allocations: 0.5808 MB / 1.056 GB, free: 31.93 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03758/2.223, allocations: 15.05 MB / 1.071 GB, free: 16.83 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007298/2.231, allocations: 5.029 MB / 1.076 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00787/2.239, allocations: 2.892 MB / 1.078 GB, free: 8.926 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005066/2.244, allocations: 3.26 MB / 1.082 GB, free: 5.664 MB / 0.5105 GB Notification: Performance of SimCode: time 1.303e-06/2.244, allocations: 0 / 1.082 GB, free: 5.664 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4732/2.717, allocations: 133.5 MB / 1.212 GB, free: 59.13 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001732/2.717, allocations: 142.8 kB / 1.212 GB, free: 58.94 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.307/9.025, allocations: 4.031 kB / 1.212 GB, free: 58.94 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_LineForceWithTwoMasses_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_LineForceWithTwoMasses.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses_res.mat does not exist to compare? outputFormat=mat