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.001105/0.001105, allocations: 95.17 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001288/0.001288, allocations: 205.5 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2186/0.2186, allocations: 45.91 MB / 344 MB, free: 12.08 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002823/0.0002823, allocations: 8 kB / 418.1 MB, free: 20.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1517, allocations: 63.47 MB / 481.5 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.3848/0.5365, allocations: 54.7 MB / 0.5237 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03979/0.5764, allocations: 13.02 MB / 0.5364 GB, free: 5.914 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01662/0.593, allocations: 283 kB / 0.5366 GB, free: 5.867 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01183/0.6049, allocations: 2.703 MB / 0.5393 GB, free: 4.902 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03356/0.6385, allocations: 7.832 MB / 0.5469 GB, free: 312 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005991/0.6445, allocations: 0.9883 MB / 0.5479 GB, free: 15.67 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.07161/0.7161, allocations: 48.86 MB / 0.5956 GB, free: 2.527 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008423/0.7246, allocations: 5.511 MB / 0.601 GB, free: 12.96 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003247/0.7279, allocations: 1.499 MB / 0.6025 GB, free: 11.46 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003338/0.7312, allocations: 2.013 MB / 0.6044 GB, free: 9.441 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008146/0.7321, allocations: 200 kB / 0.6046 GB, free: 9.246 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00276/0.7349, allocations: 1.116 MB / 0.6057 GB, free: 8.129 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002399/0.7373, allocations: 2.205 MB / 0.6079 GB, free: 5.918 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001663/0.739, allocations: 1.107 MB / 0.6089 GB, free: 4.801 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009298/0.7483, allocations: 7.517 MB / 0.6163 GB, free: 13.26 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.7483, allocations: 0 / 0.6163 GB, free: 13.26 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.474e-06/0.7483, allocations: 0 / 0.6163 GB, free: 13.26 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003717/0.7487, allocations: 0 / 0.6163 GB, free: 13.26 MB / 462.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.01898/0.7677, allocations: 6.098 MB / 0.6222 GB, free: 7.082 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.253e-05/0.7678, allocations: 12.03 kB / 0.6222 GB, free: 7.07 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003763/0.7715, allocations: 0.9178 MB / 0.6231 GB, free: 6.141 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1609/0.9324, allocations: 14.69 MB / 0.6375 GB, free: 7.426 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01128/0.9438, allocations: 4.201 MB / 0.6416 GB, free: 3.141 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003108/0.9441, allocations: 316 kB / 0.6419 GB, free: 2.828 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001739/0.9459, allocations: 427.6 kB / 0.6423 GB, free: 2.41 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02666/0.9725, allocations: 13.9 MB / 0.6559 GB, free: 3.641 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001812/0.9728, allocations: 63.38 kB / 0.6559 GB, free: 3.578 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005534/0.9733, allocations: 195.8 kB / 0.6561 GB, free: 3.387 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004028/0.9774, allocations: 2.531 MB / 0.6586 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02508/1.002, allocations: 11.78 MB / 0.6701 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3374/1.34, allocations: 53.3 MB / 0.7221 GB, free: 152.4 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0184/1.358, allocations: 5.857 MB / 0.7279 GB, free: 151.7 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02748/1.386, allocations: 15.03 MB / 0.7425 GB, free: 144.1 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.828e-05/1.386, allocations: 54.59 kB / 0.7426 GB, free: 144 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=227): time 5.55e-06/1.386, allocations: 2.844 kB / 0.7426 GB, free: 144 MB / 0.5294 GB Notification: Performance of matching and sorting (n=264): time 0.08002/1.466, allocations: 26.63 MB / 0.7686 GB, free: 127.1 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.592e-05/1.466, allocations: 257.3 kB / 0.7689 GB, free: 126.8 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006253/1.472, allocations: 5.286 MB / 0.774 GB, free: 121.5 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007571/1.473, allocations: 65.7 kB / 0.7741 GB, free: 121.5 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002398/1.476, allocations: 3.952 MB / 0.7779 GB, free: 117.5 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001339/1.477, allocations: 0.9853 MB / 0.7789 GB, free: 116.5 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003219/1.477, allocations: 154 kB / 0.779 GB, free: 116.4 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003559/1.478, allocations: 0.6122 MB / 0.7796 GB, free: 115.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003375/1.481, allocations: 2.711 MB / 0.7823 GB, free: 113.1 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004773/1.486, allocations: 7.025 MB / 0.7892 GB, free: 104.1 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00512/1.491, allocations: 4.249 MB / 0.7933 GB, free: 99.93 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.165e-05/1.491, allocations: 44 kB / 0.7933 GB, free: 99.89 MB / 0.5294 GB Notification: Performance of matching and sorting (n=963) (initialization): time 0.01535/1.506, allocations: 10.05 MB / 0.8032 GB, free: 89.82 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.231e-05/1.507, allocations: 70.81 kB / 0.8032 GB, free: 89.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001421/1.507, allocations: 152 kB / 0.8034 GB, free: 89.61 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001436/1.508, allocations: 0.735 MB / 0.8041 GB, free: 88.87 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005674/1.514, allocations: 1.781 MB / 0.8058 GB, free: 87.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005805/1.52, allocations: 6.456 MB / 0.8121 GB, free: 80.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005926/1.526, allocations: 416.8 kB / 0.8125 GB, free: 79.98 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001098/1.527, allocations: 444 kB / 0.813 GB, free: 79.55 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 (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.003961/1.531, allocations: 2.627 MB / 0.8155 GB, free: 76.91 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008317/1.532, allocations: 466 kB / 0.816 GB, free: 76.45 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00616/1.538, allocations: 4.384 MB / 0.8202 GB, free: 72.05 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.396e-05/1.538, allocations: 28 kB / 0.8203 GB, free: 72.02 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/1.538, allocations: 8 kB / 0.8203 GB, free: 72.01 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.598e-05/1.538, allocations: 11.95 kB / 0.8203 GB, free: 72 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0174/1.555, allocations: 10.86 MB / 0.8309 GB, free: 61.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.618e-05/1.555, allocations: 4 kB / 0.8309 GB, free: 61.13 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002342/1.558, allocations: 0.4915 MB / 0.8314 GB, free: 60.64 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00127/1.559, allocations: 493.1 kB / 0.8319 GB, free: 60.15 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002456/1.559, allocations: 51.94 kB / 0.8319 GB, free: 60.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005252/1.564, allocations: 5.816 MB / 0.8376 GB, free: 54.03 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/1.564, allocations: 1.406 kB / 0.8376 GB, free: 54.03 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008744/1.573, allocations: 7.703 MB / 0.8451 GB, free: 46.23 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001876/1.575, allocations: 0.5028 MB / 0.8456 GB, free: 45.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005723/1.576, allocations: 49.08 kB / 0.8456 GB, free: 45.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001843/1.578, allocations: 164.4 kB / 0.8458 GB, free: 45.5 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003136/1.578, allocations: 141.8 kB / 0.8459 GB, free: 45.36 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001648/1.578, allocations: 72.77 kB / 0.846 GB, free: 45.29 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004298/1.582, allocations: 3.348 MB / 0.8493 GB, free: 41.96 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.42e-07/1.582, allocations: 3.938 kB / 0.8493 GB, free: 41.95 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006493/1.589, allocations: 1.316 MB / 0.8506 GB, free: 40.64 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 (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.00922/1.598, allocations: 8.57 MB / 0.8589 GB, free: 31.98 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009731/1.608, allocations: 6.755 MB / 0.8655 GB, free: 25.24 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/1.608, allocations: 4 kB / 0.8655 GB, free: 25.23 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002782/1.611, allocations: 2.363 MB / 0.8678 GB, free: 22.85 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003043/1.614, allocations: 0.5627 MB / 0.8684 GB, free: 22.29 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3724/1.986, allocations: 152.4 MB / 1.017 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005535/1.992, allocations: 4.225 MB / 1.021 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.006489/1.998, allocations: 2.378 MB / 1.024 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004467/2.003, allocations: 2.631 MB / 1.026 GB, free: 110.1 MB / 0.5606 GB Notification: Performance of SimCode: time 1.222e-06/2.003, allocations: 0 / 1.026 GB, free: 110.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1349/2.138, allocations: 100.9 MB / 1.125 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001327/2.138, allocations: 200.2 kB / 1.125 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.787/6.925, allocations: 0 / 1.125 GB, free: 13.29 MB / 0.5606 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