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.002188/0.002188, allocations: 197.8 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 227.2 MB / 245 MB, free: 5.879 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001081/0.001081, allocations: 107.8 kB / 297.3 MB, free: 5.973 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.403/0.403, allocations: 45.23 MB / 394.7 MB, free: 31.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002601/0.0002603, allocations: 8.219 kB / 468.5 MB, free: 7.641 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.3363, allocations: 63.24 MB / 0.5193 GB, free: 37.33 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1112/0.4475, allocations: 93.17 MB / 0.6102 GB, free: 10.26 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000226/0.4478, allocations: 67.94 kB / 0.6103 GB, free: 10.2 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1351/0.5829, allocations: 50.88 MB / 0.66 GB, free: 7.109 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.036e-06/0.583, allocations: 0 / 0.66 GB, free: 7.109 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002268/0.5832, allocations: 83.91 kB / 0.6601 GB, free: 7.027 MB / 474.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.006504/0.5897, allocations: 2.705 MB / 0.6627 GB, free: 4.258 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.5898, allocations: 12.03 kB / 0.6627 GB, free: 4.246 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007602/0.5906, allocations: 363.3 kB / 0.6631 GB, free: 3.883 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001352/0.5919, allocations: 399.8 kB / 0.6635 GB, free: 3.488 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002806/0.5947, allocations: 1.464 MB / 0.6649 GB, free: 1.973 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001582/0.5949, allocations: 197.3 kB / 0.6651 GB, free: 1.777 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004445/0.5954, allocations: 283.8 kB / 0.6654 GB, free: 1.5 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004764/0.6001, allocations: 2.415 MB / 0.6677 GB, free: 15.02 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001181/0.6003, allocations: 31.7 kB / 0.6677 GB, free: 14.98 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002242/0.6005, allocations: 108 kB / 0.6678 GB, free: 14.88 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.739e-05/0.6006, allocations: 64 kB / 0.6679 GB, free: 14.82 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003733/0.6043, allocations: 1.795 MB / 0.6697 GB, free: 13.02 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01601/0.6203, allocations: 8.943 MB / 0.6784 GB, free: 3.754 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003515/0.6239, allocations: 1.546 MB / 0.6799 GB, free: 2.137 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.241e-05/0.624, allocations: 41.03 kB / 0.6799 GB, free: 2.098 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.193e-05/0.6241, allocations: 58.5 kB / 0.68 GB, free: 2.031 MB / 490.7 MB Notification: Performance of pre-optimization done (n=195): time 3.356e-06/0.6241, allocations: 0 / 0.68 GB, free: 2.031 MB / 490.7 MB Notification: Performance of matching and sorting (n=249): time 0.2632/0.8874, allocations: 12.44 MB / 0.6921 GB, free: 93.12 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.385e-05/0.8875, allocations: 284.4 kB / 0.6924 GB, free: 92.81 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001938/0.8894, allocations: 1.548 MB / 0.6939 GB, free: 92.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000179/0.8896, allocations: 73.73 kB / 0.694 GB, free: 92.57 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006688/0.8903, allocations: 1.219 MB / 0.6952 GB, free: 92.21 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005062/0.8908, allocations: 0.866 MB / 0.696 GB, free: 91.73 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.8909, allocations: 51.34 kB / 0.6961 GB, free: 91.73 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.8911, allocations: 414.9 kB / 0.6965 GB, free: 91.42 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00127/0.8923, allocations: 0.7331 MB / 0.6972 GB, free: 91.41 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001466/0.8938, allocations: 1.23 MB / 0.6984 GB, free: 90.89 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001502/0.8953, allocations: 0.9322 MB / 0.6993 GB, free: 90.87 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.1e-05/0.8954, allocations: 2.75 kB / 0.6993 GB, free: 90.87 MB / 490.7 MB Notification: Performance of matching and sorting (n=353) (initialization): time 0.004507/0.8999, allocations: 2.797 MB / 0.702 GB, free: 90.57 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.005e-05/0.8999, allocations: 8.594 kB / 0.702 GB, free: 90.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.266e-05/0.8999, allocations: 14.09 kB / 0.7021 GB, free: 90.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000907/0.9009, allocations: 375 kB / 0.7024 GB, free: 90.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002096/0.903, allocations: 0.6192 MB / 0.703 GB, free: 90.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007473/0.9105, allocations: 13.22 MB / 0.7159 GB, free: 79.19 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002146/0.9126, allocations: 102.2 kB / 0.716 GB, free: 79.19 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002184/0.9129, allocations: 103.3 kB / 0.7161 GB, free: 79.19 MB / 490.7 MB Warning: Assuming fixed start value for the following 9 variables: vehicleDrag.mass.s:VARIABLE(start = 0.0 unit = "m" fixed = true ) "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" fixed = true ) "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" fixed = true ) "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" fixed = true ) "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" fixed = true ) "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" fixed = true ) "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" fixed = true ) "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" fixed = true ) "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" fixed = true ) "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 () * Number of clocked 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.001317/0.9142, allocations: 0.5613 MB / 0.7167 GB, free: 79.06 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005302/0.9147, allocations: 263.1 kB / 0.7169 GB, free: 78.93 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001037/0.9158, allocations: 0.5458 MB / 0.7175 GB, free: 78.86 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.296e-05/0.9158, allocations: 25.97 kB / 0.7175 GB, free: 78.86 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.769e-05/0.9159, allocations: 7.281 kB / 0.7175 GB, free: 78.86 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.201e-05/0.9159, allocations: 21.19 kB / 0.7175 GB, free: 78.86 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01065/0.9266, allocations: 6.957 MB / 0.7243 GB, free: 75.81 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.28e-05/0.9266, allocations: 10.91 kB / 0.7243 GB, free: 75.81 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002369/0.929, allocations: 0.5124 MB / 0.7248 GB, free: 75.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008991/0.9299, allocations: 323.4 kB / 0.7251 GB, free: 75.63 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001828/0.9301, allocations: 78.25 kB / 0.7252 GB, free: 75.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00796/0.9381, allocations: 12.67 MB / 0.7376 GB, free: 63.22 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.1e-05/0.9382, allocations: 17.22 kB / 0.7376 GB, free: 63.22 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007345/0.9455, allocations: 5.053 MB / 0.7425 GB, free: 59.36 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001317/0.9469, allocations: 0.4917 MB / 0.743 GB, free: 59 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003708/0.9472, allocations: 64.19 kB / 0.7431 GB, free: 58.97 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001615/0.9489, allocations: 73.48 kB / 0.7431 GB, free: 58.94 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000474/0.9494, allocations: 226.2 kB / 0.7434 GB, free: 58.87 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001528/0.9495, allocations: 80.08 kB / 0.7434 GB, free: 58.86 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002049/0.9516, allocations: 1.17 MB / 0.7446 GB, free: 58.38 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.9516, allocations: 0 / 0.7446 GB, free: 58.38 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003023/0.9546, allocations: 0.6206 MB / 0.7452 GB, free: 58.29 MB / 490.7 MB 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 () * Number of clocked 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.006694/0.9613, allocations: 8.9 MB / 0.7539 GB, free: 50.86 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004578/0.9659, allocations: 3.131 MB / 0.7569 GB, free: 49.07 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.326e-05/0.966, allocations: 6.344 kB / 0.7569 GB, free: 49.07 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003509/0.9695, allocations: 2.402 MB / 0.7593 GB, free: 47.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002928/0.9725, allocations: 368 kB / 0.7596 GB, free: 47.36 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03076/1.003, allocations: 28.02 MB / 0.787 GB, free: 25.82 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0013/1.005, allocations: 1.755 MB / 0.7887 GB, free: 25.05 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001327/1.006, allocations: 289.5 kB / 0.789 GB, free: 24.99 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00112/1.007, allocations: 1.127 MB / 0.7901 GB, free: 24.09 MB / 490.7 MB Notification: Performance of SimCode: time 8.01e-07/1.007, allocations: 0 / 0.7901 GB, free: 24.09 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0739/1.081, allocations: 47.38 MB / 0.8364 GB, free: 8.457 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002804/1.081, allocations: 180.1 kB / 0.8365 GB, free: 8.223 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.429/5.51, allocations: 4 kB / 0.8365 GB, free: 8.219 MB / 0.4948 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