Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Translational.Vehicles.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.Translational.Vehicles,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Translational_Vehicles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.Vehicles,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Translational_Vehicles",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001182/0.001182, allocations: 197 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.3/1.3, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008697/0.0008697, allocations: 89.75 kB / 292.1 MB, free: 5.977 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1904/0.1904, allocations: 45.14 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.911e-05/2.913e-05, allocations: 8 kB / 460.5 MB, free: 69.96 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1108, allocations: 63.24 MB / 0.5114 GB, free: 6.742 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3652/0.4761, allocations: 93.09 MB / 0.6024 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001789/0.4763, allocations: 68.41 kB / 0.6024 GB, free: 0.8711 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1313/0.6077, allocations: 50.9 MB / 0.6521 GB, free: 6.523 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.674e-06/0.6077, allocations: 0 / 0.6521 GB, free: 6.523 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002892/0.608, allocations: 79.97 kB / 0.6522 GB, free: 6.445 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 678 * Number of variables: 678 Notification: Performance of Generate backend data structure: time 0.006341/0.6144, allocations: 2.427 MB / 0.6546 GB, free: 3.961 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.6144, allocations: 11.97 kB / 0.6546 GB, free: 3.949 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001003/0.6154, allocations: 363.3 kB / 0.6549 GB, free: 3.586 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00176/0.6172, allocations: 399.8 kB / 0.6553 GB, free: 3.191 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003174/0.6204, allocations: 1.441 MB / 0.6567 GB, free: 1.699 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001806/0.6206, allocations: 201.3 kB / 0.6569 GB, free: 1.5 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007394/0.6213, allocations: 291.7 kB / 0.6572 GB, free: 1.215 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005607/0.627, allocations: 2.331 MB / 0.6595 GB, free: 14.82 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001852/0.6272, allocations: 31.64 kB / 0.6595 GB, free: 14.79 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003222/0.6275, allocations: 108 kB / 0.6596 GB, free: 14.68 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.313e-05/0.6275, allocations: 64 kB / 0.6597 GB, free: 14.62 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003229/0.6308, allocations: 1.652 MB / 0.6613 GB, free: 12.96 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01483/0.6456, allocations: 8.948 MB / 0.67 GB, free: 3.691 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002674/0.6483, allocations: 1.435 MB / 0.6714 GB, free: 2.184 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001057/0.6494, allocations: 0.7116 MB / 0.6721 GB, free: 1.445 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.187e-05/0.6495, allocations: 31.98 kB / 0.6721 GB, free: 1.414 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.405e-05/0.6496, allocations: 66.42 kB / 0.6722 GB, free: 1.34 MB / 458.7 MB Notification: Performance of pre-optimization done (n=195): time 3.626e-06/0.6496, allocations: 0 / 0.6722 GB, free: 1.34 MB / 458.7 MB Notification: Performance of matching and sorting (n=249): time 0.01687/0.6665, allocations: 11.62 MB / 0.6835 GB, free: 4.887 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001536/0.6667, allocations: 289 kB / 0.6838 GB, free: 4.543 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002183/0.6689, allocations: 1.524 MB / 0.6853 GB, free: 2.984 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002462/0.6691, allocations: 65.7 kB / 0.6854 GB, free: 2.914 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009208/0.67, allocations: 1.222 MB / 0.6866 GB, free: 1.68 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007413/0.6708, allocations: 0.8662 MB / 0.6874 GB, free: 0.8008 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.6709, allocations: 60 kB / 0.6875 GB, free: 0.7422 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002003/0.6711, allocations: 411.6 kB / 0.6879 GB, free: 344 kB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001166/0.6723, allocations: 0.6577 MB / 0.6885 GB, free: 15.68 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001395/0.6737, allocations: 1.175 MB / 0.6897 GB, free: 14.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001377/0.6751, allocations: 0.8602 MB / 0.6905 GB, free: 13.45 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-05/0.6751, allocations: 4 kB / 0.6905 GB, free: 13.44 MB / 490.7 MB Notification: Performance of matching and sorting (n=353) (initialization): time 0.004364/0.6795, allocations: 2.666 MB / 0.6931 GB, free: 10.74 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.138e-05/0.6795, allocations: 13.09 kB / 0.6931 GB, free: 10.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.323e-05/0.6796, allocations: 16.45 kB / 0.6931 GB, free: 10.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009727/0.6805, allocations: 372.1 kB / 0.6935 GB, free: 10.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00218/0.6827, allocations: 0.6163 MB / 0.6941 GB, free: 9.703 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01021/0.693, allocations: 13.06 MB / 0.7068 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00216/0.6952, allocations: 100 kB / 0.7069 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001891/0.6954, allocations: 99.98 kB / 0.707 GB, free: 11.24 MB / 0.4948 GB Warning: Assuming fixed start value for the following 9 variables: vehicleDrag.mass.s:VARIABLE(start = 0.0 unit = "m" ) "Absolute position of center of component (s = flange_a.s + L/2 = flange_b.s - L/2)" type: Real vehicleRoll.mass.s:VARIABLE(start = 0.0 unit = "m" ) "Absolute position of center of component (s = flange_a.s + L/2 = flange_b.s - L/2)" type: Real vehicleInclination.mass.s:VARIABLE(start = 0.0 unit = "m" ) "Absolute position of center of component (s = flange_a.s + L/2 = flange_b.s - L/2)" type: Real vehicleDragInConst.mass.s:VARIABLE(start = 0.0 unit = "m" ) "Absolute position of center of component (s = flange_a.s + L/2 = flange_b.s - L/2)" type: Real vehicleRollInConst.mass.s:VARIABLE(start = 0.0 unit = "m" ) "Absolute position of center of component (s = flange_a.s + L/2 = flange_b.s - L/2)" type: Real vehicleInclinationInConst.mass.s:VARIABLE(start = 0.0 unit = "m" ) "Absolute position of center of component (s = flange_a.s + L/2 = flange_b.s - L/2)" type: Real vehicleDragInVar.mass.s:VARIABLE(start = 0.0 unit = "m" ) "Absolute position of center of component (s = flange_a.s + L/2 = flange_b.s - L/2)" type: Real vehicleRollInVar.mass.s:VARIABLE(start = 0.0 unit = "m" ) "Absolute position of center of component (s = flange_a.s + L/2 = flange_b.s - L/2)" type: Real vehicleInclinationInVar.mass.s:VARIABLE(start = 0.0 unit = "m" ) "Absolute position of center of component (s = flange_a.s + L/2 = flange_b.s - L/2)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (317): * Single equations (assignments): 308 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000574/0.696, allocations: 292.4 kB / 0.7073 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005289/0.6965, allocations: 256.8 kB / 0.7076 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001137/0.6976, allocations: 0.5247 MB / 0.7081 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.196e-05/0.6977, allocations: 27.95 kB / 0.7081 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.239e-05/0.6977, allocations: 8 kB / 0.7081 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.145e-05/0.6977, allocations: 15.95 kB / 0.7081 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01054/0.7083, allocations: 6.829 MB / 0.7148 GB, free: 3.055 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.716e-05/0.7083, allocations: 12 kB / 0.7148 GB, free: 3.043 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002096/0.7104, allocations: 0.5117 MB / 0.7153 GB, free: 2.531 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008207/0.7113, allocations: 323.5 kB / 0.7156 GB, free: 2.188 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001457/0.7114, allocations: 67.98 kB / 0.7157 GB, free: 2.121 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009433/0.7209, allocations: 12.58 MB / 0.728 GB, free: 4.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.249e-05/0.7209, allocations: 15.94 kB / 0.728 GB, free: 4.324 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005874/0.7268, allocations: 4.862 MB / 0.7327 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009787/0.7278, allocations: 0.4899 MB / 0.7332 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002666/0.7281, allocations: 71.98 kB / 0.7333 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00124/0.7293, allocations: 79.92 kB / 0.7333 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000352/0.7297, allocations: 207.3 kB / 0.7335 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001219/0.7298, allocations: 83.97 kB / 0.7336 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001676/0.7315, allocations: 1.148 MB / 0.7347 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7315, allocations: 0 / 0.7347 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002154/0.7337, allocations: 0.6288 MB / 0.7354 GB, free: 12.13 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * Number of states: 36 (vehicleInclinationInVar.mass.s,vehicleInclinationInVar.mass.v,vehicleInclinationInVar.windSpeed.s,vehicleInclinationInVar.windSpeed.v,vehicleRollInVar.mass.s,vehicleRollInVar.mass.v,vehicleRollInVar.windSpeed.s,vehicleRollInVar.windSpeed.v,vehicleDragInVar.mass.s,vehicleDragInVar.mass.v,vehicleDragInVar.windSpeed.s,vehicleDragInVar.windSpeed.v,vehicleInclinationInConst.mass.s,vehicleInclinationInConst.mass.v,vehicleInclinationInConst.windSpeed.s,vehicleInclinationInConst.windSpeed.v,vehicleRollInConst.mass.s,vehicleRollInConst.mass.v,vehicleRollInConst.windSpeed.s,vehicleRollInConst.windSpeed.v,vehicleDragInConst.mass.s,vehicleDragInConst.mass.v,vehicleDragInConst.windSpeed.s,vehicleDragInConst.windSpeed.v,vehicleInclination.mass.s,vehicleInclination.mass.v,vehicleInclination.windSpeed.s,vehicleInclination.windSpeed.v,vehicleRoll.mass.s,vehicleRoll.mass.v,vehicleRoll.windSpeed.s,vehicleRoll.windSpeed.v,vehicleDrag.mass.s,vehicleDrag.mass.v,vehicleDrag.windSpeed.s,vehicleDrag.windSpeed.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (222): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006687/0.7404, allocations: 8.71 MB / 0.7439 GB, free: 3.027 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.2506/0.991, allocations: 2.983 MB / 0.7468 GB, free: 146.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.71e-05/0.991, allocations: 1.688 kB / 0.7468 GB, free: 146.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003934/0.995, allocations: 2.314 MB / 0.749 GB, free: 145.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002934/0.9979, allocations: 361.9 kB / 0.7494 GB, free: 145.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0114/1.009, allocations: 6.474 MB / 0.7557 GB, free: 142.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001951/1.011, allocations: 1.76 MB / 0.7574 GB, free: 141.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001494/1.013, allocations: 283 kB / 0.7577 GB, free: 141.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00147/1.014, allocations: 1.131 MB / 0.7588 GB, free: 141.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.803e-06/1.014, allocations: 0 / 0.7588 GB, free: 141.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0789/1.093, allocations: 47.17 MB / 0.8049 GB, free: 133.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001353/1.093, allocations: 170 kB / 0.805 GB, free: 133.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.843/4.937, allocations: 0 / 0.805 GB, free: 133.3 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Translational.Vehicles.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Translational.Vehicles.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Translational.Vehicles.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Translational.Vehicles.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Translational.Vehicles_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Translational_Vehicles_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Translational_Vehicles.fmu > ModelicaTest_trunk_ModelicaTest.Translational.Vehicles.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Translational.Vehicles_res.mat does not exist to compare? outputFormat=mat