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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.002178/0.002178, allocations: 198.6 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.597/1.597, allocations: 227.2 MB / 245 MB, free: 5.855 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001298/0.001298, allocations: 95.97 kB / 297.3 MB, free: 5.957 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4533/0.4533, allocations: 45.23 MB / 394.6 MB, free: 31.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002861/0.0002862, allocations: 8.219 kB / 468.5 MB, free: 7.613 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3369, allocations: 63.25 MB / 0.5193 GB, free: 37.5 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.152/0.4889, allocations: 114.5 MB / 0.6311 GB, free: 4.879 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002527/0.4892, allocations: 79.94 kB / 0.6312 GB, free: 4.805 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5961/1.085, allocations: 115.1 MB / 0.7435 GB, free: 95.62 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.065e-06/1.085, allocations: 3.938 kB / 0.7435 GB, free: 95.62 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004663/1.086, allocations: 105.7 kB / 0.7436 GB, free: 95.62 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.02357/1.109, allocations: 6.4 MB / 0.7499 GB, free: 91.47 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/1.11, allocations: 10.56 kB / 0.7499 GB, free: 91.47 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006129/1.116, allocations: 0.9773 MB / 0.7509 GB, free: 90.79 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02711/1.143, allocations: 6.883 MB / 0.7576 GB, free: 86.13 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01994/1.163, allocations: 6.162 MB / 0.7636 GB, free: 79.89 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005209/1.163, allocations: 414.8 kB / 0.764 GB, free: 79.48 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003682/1.167, allocations: 0.5388 MB / 0.7645 GB, free: 78.94 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03231/1.199, allocations: 14.13 MB / 0.7783 GB, free: 63.66 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003454/1.2, allocations: 79.23 kB / 0.7784 GB, free: 63.59 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001802/1.202, allocations: 259.9 kB / 0.7787 GB, free: 63.33 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001709/1.203, allocations: 1.364 MB / 0.78 GB, free: 61.96 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02477/1.228, allocations: 11.73 MB / 0.7914 GB, free: 50.21 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07179/1.3, allocations: 60.68 MB / 0.8507 GB, free: 3.664 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01671/1.317, allocations: 5.812 MB / 0.8564 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02488/1.342, allocations: 14.73 MB / 0.8708 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.009e-05/1.342, allocations: 56.56 kB / 0.8708 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=227): time 5.881e-06/1.342, allocations: 0 / 0.8708 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of matching and sorting (n=264): time 0.4296/1.771, allocations: 25.49 MB / 0.8957 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/1.772, allocations: 263.8 kB / 0.8959 GB, free: 132.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009116/1.781, allocations: 4.432 MB / 0.9003 GB, free: 132.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0006644/1.781, allocations: 72.98 kB / 0.9003 GB, free: 132 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003744/1.785, allocations: 3.977 MB / 0.9042 GB, free: 130 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001723/1.787, allocations: 0.9884 MB / 0.9052 GB, free: 129.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000719/1.788, allocations: 148 kB / 0.9053 GB, free: 129.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004767/1.788, allocations: 0.6187 MB / 0.9059 GB, free: 129.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004503/1.793, allocations: 2.577 MB / 0.9085 GB, free: 129.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007482/1.8, allocations: 6.91 MB / 0.9152 GB, free: 123.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007707/1.808, allocations: 4.123 MB / 0.9192 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002653/1.808, allocations: 46.03 kB / 0.9193 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=966) (initialization): time 0.02277/1.831, allocations: 9.722 MB / 0.9288 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001769/1.831, allocations: 73.77 kB / 0.9288 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002931/1.831, allocations: 154.5 kB / 0.929 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001656/1.833, allocations: 0.5938 MB / 0.9296 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007202/1.84, allocations: 1.741 MB / 0.9313 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006705/1.847, allocations: 5.717 MB / 0.9368 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007644/1.855, allocations: 406.3 kB / 0.9372 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001779/1.857, allocations: 439.7 kB / 0.9377 GB, free: 114.3 MB / 0.5261 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.007253/1.864, allocations: 2.629 MB / 0.9402 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001273/1.865, allocations: 471.1 kB / 0.9407 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007157/1.872, allocations: 4.015 MB / 0.9446 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.702e-05/1.872, allocations: 34.66 kB / 0.9446 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.279e-05/1.872, allocations: 3.469 kB / 0.9446 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.831e-05/1.872, allocations: 11.25 kB / 0.9446 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02418/1.897, allocations: 10.27 MB / 0.9547 GB, free: 107.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.512e-05/1.897, allocations: 0 / 0.9547 GB, free: 107.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002492/1.899, allocations: 471.9 kB / 0.9551 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001088/1.9, allocations: 346.5 kB / 0.9554 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004476/1.901, allocations: 47.39 kB / 0.9555 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005054/1.906, allocations: 5.061 MB / 0.9604 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/1.906, allocations: 3.906 kB / 0.9604 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01044/1.916, allocations: 7.141 MB / 0.9674 GB, free: 100.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001899/1.918, allocations: 0.4893 MB / 0.9679 GB, free: 99.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001709/1.92, allocations: 43.44 kB / 0.9679 GB, free: 99.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003228/1.923, allocations: 157.3 kB / 0.9681 GB, free: 99.87 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006535/1.924, allocations: 143.1 kB / 0.9682 GB, free: 99.84 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001978/1.924, allocations: 77.02 kB / 0.9683 GB, free: 99.82 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.006117/1.93, allocations: 3.106 MB / 0.9713 GB, free: 97.44 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.41e-07/1.93, allocations: 0 / 0.9713 GB, free: 97.44 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009125/1.94, allocations: 1.302 MB / 0.9726 GB, free: 96.15 MB / 0.5261 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.01032/1.95, allocations: 7.982 MB / 0.9804 GB, free: 88.93 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01095/1.961, allocations: 6.462 MB / 0.9867 GB, free: 83.23 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/1.961, allocations: 0 / 0.9867 GB, free: 83.23 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002955/1.964, allocations: 2.21 MB / 0.9889 GB, free: 81.25 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004206/1.968, allocations: 0.5586 MB / 0.9894 GB, free: 80.76 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4219/2.39, allocations: 151.4 MB / 1.137 GB, free: 129 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007308/2.397, allocations: 4.209 MB / 1.141 GB, free: 128.2 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.008684/2.406, allocations: 2.394 MB / 1.144 GB, free: 128.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00487/2.411, allocations: 2.627 MB / 1.146 GB, free: 128.2 MB / 0.5573 GB Notification: Performance of SimCode: time 1.433e-06/2.411, allocations: 1.125 kB / 1.146 GB, free: 128.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1527/2.564, allocations: 99.18 MB / 1.243 GB, free: 62.01 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001654/2.564, allocations: 201.8 kB / 1.243 GB, free: 61.77 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.405/8.969, allocations: 0 / 1.243 GB, free: 61.77 MB / 0.5573 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat does not exist to compare? outputFormat=mat