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.001121/0.001121, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.316/1.316, allocations: 225.4 MB / 240.1 MB, free: 15.12 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008901/0.0008903, allocations: 89.23 kB / 292.1 MB, free: 5.953 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1851/0.1851, allocations: 45.15 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.157e-05/3.168e-05, allocations: 4 kB / 460.5 MB, free: 69.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1031, allocations: 63.24 MB / 0.5115 GB, free: 6.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4/0.5032, allocations: 114.4 MB / 0.6232 GB, free: 11.65 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00024/0.5035, allocations: 79.83 kB / 0.6233 GB, free: 11.61 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2896/0.7931, allocations: 115.1 MB / 0.7357 GB, free: 316 kB / 0.5105 GB Notification: Performance of FrontEnd: time 1.096e-05/0.7931, allocations: 0 / 0.7357 GB, free: 316 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003998/0.7936, allocations: 115.9 kB / 0.7358 GB, free: 200 kB / 0.5105 GB 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.0203/0.8139, allocations: 5.912 MB / 0.7416 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/0.8139, allocations: 8.031 kB / 0.7416 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003956/0.8179, allocations: 0.9803 MB / 0.7426 GB, free: 9.211 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02689/0.8448, allocations: 6.892 MB / 0.7493 GB, free: 2.301 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.307/1.152, allocations: 6.126 MB / 0.7553 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004415/1.152, allocations: 414.7 kB / 0.7557 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002521/1.155, allocations: 0.5434 MB / 0.7562 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03227/1.187, allocations: 14.02 MB / 0.7699 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003194/1.188, allocations: 76.09 kB / 0.77 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001439/1.189, allocations: 270.9 kB / 0.7702 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002093/1.191, allocations: 1.36 MB / 0.7716 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02223/1.213, allocations: 11.57 MB / 0.7829 GB, free: 113 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.059/1.272, allocations: 60.68 MB / 0.8421 GB, free: 72.56 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01457/1.287, allocations: 5.772 MB / 0.8478 GB, free: 70.57 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004136/1.291, allocations: 3.252 MB / 0.8509 GB, free: 69.14 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01898/1.31, allocations: 14.7 MB / 0.8653 GB, free: 61.18 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.547e-05/1.31, allocations: 66.95 kB / 0.8653 GB, free: 61.12 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=227): time 5.53e-06/1.31, allocations: 0 / 0.8653 GB, free: 61.12 MB / 0.5261 GB Notification: Performance of matching and sorting (n=264): time 0.06017/1.37, allocations: 21.77 MB / 0.8866 GB, free: 46.81 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.299e-05/1.371, allocations: 261.3 kB / 0.8869 GB, free: 46.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005838/1.376, allocations: 4.379 MB / 0.8911 GB, free: 42.62 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004418/1.377, allocations: 65.7 kB / 0.8912 GB, free: 42.55 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00199/1.379, allocations: 3.976 MB / 0.8951 GB, free: 38.99 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001299/1.38, allocations: 0.9993 MB / 0.8961 GB, free: 38.11 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003632/1.381, allocations: 144 kB / 0.8962 GB, free: 37.96 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003393/1.381, allocations: 0.6142 MB / 0.8968 GB, free: 37.43 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003296/1.384, allocations: 2.523 MB / 0.8993 GB, free: 35.16 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004718/1.389, allocations: 6.854 MB / 0.9059 GB, free: 26.58 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005089/1.394, allocations: 4.117 MB / 0.91 GB, free: 23.05 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.692e-05/1.394, allocations: 44 kB / 0.91 GB, free: 23.01 MB / 0.5261 GB Notification: Performance of matching and sorting (n=966) (initialization): time 0.01434/1.409, allocations: 9.618 MB / 0.9194 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.736e-05/1.409, allocations: 72 kB / 0.9195 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001322/1.409, allocations: 152.5 kB / 0.9196 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001113/1.41, allocations: 0.5872 MB / 0.9202 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005509/1.416, allocations: 1.745 MB / 0.9219 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005241/1.421, allocations: 5.618 MB / 0.9274 GB, free: 6.906 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005858/1.427, allocations: 405.3 kB / 0.9278 GB, free: 6.555 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001396/1.428, allocations: 446 kB / 0.9282 GB, free: 6.129 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 () * 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.001203/1.429, allocations: 0.6735 MB / 0.9288 GB, free: 5.453 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008964/1.43, allocations: 469.9 kB / 0.9293 GB, free: 4.988 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006003/1.436, allocations: 3.976 MB / 0.9332 GB, free: 1.641 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.74e-05/1.436, allocations: 35.77 kB / 0.9332 GB, free: 1.609 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/1.436, allocations: 7.625 kB / 0.9332 GB, free: 1.605 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.132e-05/1.436, allocations: 18.25 kB / 0.9332 GB, free: 1.602 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01999/1.456, allocations: 10.31 MB / 0.9433 GB, free: 9.461 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-05/1.456, allocations: 0 / 0.9433 GB, free: 9.461 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002234/1.459, allocations: 472.6 kB / 0.9438 GB, free: 9.09 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009369/1.46, allocations: 338.8 kB / 0.9441 GB, free: 8.832 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000208/1.46, allocations: 43.61 kB / 0.9441 GB, free: 8.793 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00513/1.465, allocations: 4.955 MB / 0.949 GB, free: 3.98 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/1.465, allocations: 112 / 0.949 GB, free: 3.98 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3/1.765, allocations: 7.094 MB / 0.9559 GB, free: 117.6 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001564/1.767, allocations: 0.4898 MB / 0.9564 GB, free: 117.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001324/1.768, allocations: 41.56 kB / 0.9564 GB, free: 117.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002565/1.771, allocations: 163.3 kB / 0.9566 GB, free: 117.6 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000495/1.771, allocations: 151.8 kB / 0.9567 GB, free: 117.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001889/1.771, allocations: 65.92 kB / 0.9568 GB, free: 117.6 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.006718/1.778, allocations: 3.065 MB / 0.9598 GB, free: 117.3 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.81e-07/1.778, allocations: 0 / 0.9598 GB, free: 117.3 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006943/1.785, allocations: 1.3 MB / 0.961 GB, free: 117.3 MB / 0.5417 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 () * 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.01224/1.797, allocations: 7.907 MB / 0.9688 GB, free: 116.1 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01135/1.809, allocations: 6.374 MB / 0.975 GB, free: 115.8 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.377e-06/1.809, allocations: 3.906 kB / 0.975 GB, free: 115.8 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002805/1.812, allocations: 2.182 MB / 0.9771 GB, free: 115.6 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003433/1.815, allocations: 0.5723 MB / 0.9777 GB, free: 115.6 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02955/1.845, allocations: 11.88 MB / 0.9893 GB, free: 113.5 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004652/1.849, allocations: 4.218 MB / 0.9934 GB, free: 112.7 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.006215/1.856, allocations: 2.39 MB / 0.9957 GB, free: 112.6 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00419/1.86, allocations: 2.629 MB / 0.9983 GB, free: 112.4 MB / 0.5417 GB Notification: Performance of SimCode: time 9.71e-07/1.86, allocations: 0 / 0.9983 GB, free: 112.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1361/1.996, allocations: 99.34 MB / 1.095 GB, free: 57.03 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001429/1.996, allocations: 176.4 kB / 1.095 GB, free: 56.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.683/6.679, allocations: 0 / 1.095 GB, free: 56.8 MB / 0.5417 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