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.001024/0.001024, allocations: 199.5 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 225.6 MB / 234.8 MB, free: 3.203 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007909/0.000791, allocations: 100.1 kB / 286.7 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1992/0.1992, allocations: 45.14 MB / 383.8 MB, free: 248 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.314e-05/1.323e-05, allocations: 0 / 453.3 MB, free: 75.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1204, allocations: 63.25 MB / 0.5044 GB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3775/0.498, allocations: 92.43 MB / 0.5947 GB, free: 9.891 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001851/0.4982, allocations: 62.97 kB / 0.5948 GB, free: 9.859 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1317/0.63, allocations: 50.41 MB / 0.644 GB, free: 368 kB / 426.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.63, allocations: 0 / 0.644 GB, free: 368 kB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003947/0.6304, allocations: 79.97 kB / 0.6441 GB, free: 288 kB / 426.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.00732/0.6378, allocations: 2.427 MB / 0.6464 GB, free: 13.8 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.6378, allocations: 8.031 kB / 0.6465 GB, free: 13.79 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002071/0.6399, allocations: 399.8 kB / 0.6468 GB, free: 13.39 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003454/0.6434, allocations: 1.449 MB / 0.6483 GB, free: 11.89 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001385/0.6436, allocations: 84 kB / 0.6483 GB, free: 11.81 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007019/0.6443, allocations: 171.8 kB / 0.6485 GB, free: 11.64 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004039/0.6483, allocations: 1.506 MB / 0.65 GB, free: 10.13 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004967/0.6533, allocations: 1.958 MB / 0.6519 GB, free: 8.109 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001593/0.6535, allocations: 31.7 kB / 0.6519 GB, free: 8.078 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002374/0.6537, allocations: 0 / 0.6519 GB, free: 8.078 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.464e-05/0.6538, allocations: 64 kB / 0.652 GB, free: 8.016 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0144/0.6682, allocations: 8.445 MB / 0.6602 GB, free: 15.26 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002527/0.6708, allocations: 1.355 MB / 0.6615 GB, free: 13.84 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001069/0.6719, allocations: 0.653 MB / 0.6622 GB, free: 13.16 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000104/0.672, allocations: 31.92 kB / 0.6622 GB, free: 13.12 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.3e-05/0.672, allocations: 62.44 kB / 0.6623 GB, free: 13.05 MB / 458.7 MB Notification: Performance of pre-optimization done (n=195): time 3.957e-06/0.672, allocations: 4 kB / 0.6623 GB, free: 13.05 MB / 458.7 MB Notification: Performance of matching and sorting (n=249): time 0.01813/0.6902, allocations: 10.97 MB / 0.673 GB, free: 1.242 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001659/0.6904, allocations: 300.9 kB / 0.6733 GB, free: 0.8867 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00209/0.6925, allocations: 1.132 MB / 0.6744 GB, free: 15.76 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003057/0.6928, allocations: 25.7 kB / 0.6744 GB, free: 15.73 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009489/0.6938, allocations: 1.219 MB / 0.6756 GB, free: 14.49 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009544/0.6947, allocations: 0.8312 MB / 0.6764 GB, free: 13.65 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002377/0.695, allocations: 0 / 0.6764 GB, free: 13.65 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002406/0.6952, allocations: 415.6 kB / 0.6768 GB, free: 13.24 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001263/0.6965, allocations: 0.6069 MB / 0.6774 GB, free: 12.63 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001622/0.6981, allocations: 1.108 MB / 0.6785 GB, free: 11.33 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001515/0.6997, allocations: 0.8134 MB / 0.6793 GB, free: 10.52 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.177e-05/0.6997, allocations: 4 kB / 0.6793 GB, free: 10.51 MB / 474.7 MB Notification: Performance of matching and sorting (n=353) (initialization): time 0.005154/0.7049, allocations: 2.37 MB / 0.6816 GB, free: 8.105 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.45e-05/0.7049, allocations: 12 kB / 0.6816 GB, free: 8.094 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.089e-05/0.705, allocations: 12 kB / 0.6816 GB, free: 8.082 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001047/0.706, allocations: 364 kB / 0.682 GB, free: 7.699 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002377/0.7084, allocations: 0.6125 MB / 0.6826 GB, free: 7.086 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01088/0.7193, allocations: 12.56 MB / 0.6948 GB, free: 9.496 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002106/0.7215, allocations: 39.97 kB / 0.6949 GB, free: 9.457 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004099/0.7219, allocations: 108 kB / 0.695 GB, free: 9.352 MB / 490.7 MB 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.0007367/0.7226, allocations: 191.3 kB / 0.6951 GB, free: 9.164 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003923/0.7266, allocations: 1.862 MB / 0.697 GB, free: 7.266 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007109/0.7273, allocations: 221.3 kB / 0.6972 GB, free: 7.047 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001144/0.7284, allocations: 466.6 kB / 0.6976 GB, free: 6.578 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.618e-05/0.7285, allocations: 28 kB / 0.6976 GB, free: 6.551 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-05/0.7285, allocations: 8 kB / 0.6976 GB, free: 6.543 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-05/0.7286, allocations: 15.95 kB / 0.6977 GB, free: 6.527 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01233/0.7409, allocations: 6.294 MB / 0.7038 GB, free: 20 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.173e-05/0.741, allocations: 12 kB / 0.7038 GB, free: 8 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002333/0.7433, allocations: 0.5195 MB / 0.7043 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009136/0.7443, allocations: 315.5 kB / 0.7046 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000204/0.7445, allocations: 31.98 kB / 0.7047 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009539/0.754, allocations: 12.04 MB / 0.7164 GB, free: 2.043 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.725e-05/0.7541, allocations: 15.94 kB / 0.7164 GB, free: 2.027 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00675/0.7609, allocations: 4.547 MB / 0.7209 GB, free: 12.99 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001157/0.762, allocations: 462 kB / 0.7213 GB, free: 12.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005759/0.7626, allocations: 31.98 kB / 0.7214 GB, free: 12.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001679/0.7643, allocations: 39.91 kB / 0.7214 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004256/0.7648, allocations: 211.5 kB / 0.7216 GB, free: 12.24 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001546/0.7649, allocations: 87.97 kB / 0.7217 GB, free: 12.15 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001601/0.7665, allocations: 0.8291 MB / 0.7225 GB, free: 11.33 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7666, allocations: 0 / 0.7225 GB, free: 11.33 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002978/0.7695, allocations: 0.5195 MB / 0.723 GB, free: 10.81 MB / 0.5105 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.007742/0.7773, allocations: 8.447 MB / 0.7312 GB, free: 1.984 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004543/0.7819, allocations: 2.786 MB / 0.734 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.486e-05/0.7819, allocations: 4 kB / 0.734 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00364/0.7856, allocations: 2.195 MB / 0.7361 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002999/0.7886, allocations: 309.3 kB / 0.7364 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01347/0.8021, allocations: 6.246 MB / 0.7425 GB, free: 6.07 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00203/0.8042, allocations: 1.748 MB / 0.7442 GB, free: 4.289 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001516/0.8057, allocations: 253.5 kB / 0.7445 GB, free: 4.039 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001652/0.8074, allocations: 1.105 MB / 0.7455 GB, free: 2.934 MB / 0.5261 GB Notification: Performance of SimCode: time 8.11e-07/0.8074, allocations: 0 / 0.7455 GB, free: 2.934 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3422/1.15, allocations: 42.52 MB / 0.787 GB, free: 144.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000166/1.15, allocations: 128.1 kB / 0.7872 GB, free: 144.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.355/4.505, allocations: 3.938 kB / 0.7872 GB, free: 144.4 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