Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Translational.Vehicles.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Translational.Vehicles,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Translational_Vehicles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.Vehicles,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Translational_Vehicles",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 221.3 MB / 236 MB, free: 2.91 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009286/0.0009286, allocations: 89.86 kB / 287 MB, free: 176 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2625/0.2625, allocations: 44.16 MB / 382 MB, free: 14.64 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.56e-05/3.583e-05, allocations: 0 / 451.9 MB, free: 9.332 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1371, allocations: 61.92 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4801/0.6172, allocations: 92.03 MB / 0.5917 GB, free: 13.18 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002197/0.6175, allocations: 63.97 kB / 0.5917 GB, free: 13.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1435/0.761, allocations: 51.25 MB / 0.6418 GB, free: 9.668 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.987e-06/0.7611, allocations: 0 / 0.6418 GB, free: 9.668 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002638/0.7613, allocations: 79.97 kB / 0.6418 GB, free: 9.59 MB / 458.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.006112/0.7675, allocations: 2.415 MB / 0.6442 GB, free: 7.117 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.308e-05/0.7676, allocations: 8.031 kB / 0.6442 GB, free: 7.109 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007907/0.7684, allocations: 363.3 kB / 0.6446 GB, free: 6.746 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008627/0.7692, allocations: 343.8 kB / 0.6449 GB, free: 6.406 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002849/0.7721, allocations: 1.445 MB / 0.6463 GB, free: 4.91 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001438/0.7722, allocations: 206 kB / 0.6465 GB, free: 4.707 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004015/0.7727, allocations: 287.7 kB / 0.6468 GB, free: 4.426 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004856/0.7775, allocations: 2.331 MB / 0.649 GB, free: 2.027 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001231/0.7777, allocations: 31.64 kB / 0.6491 GB, free: 1.996 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002761/0.778, allocations: 112 kB / 0.6492 GB, free: 1.887 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.254e-05/0.778, allocations: 64 kB / 0.6492 GB, free: 1.824 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003319/0.7814, allocations: 1.652 MB / 0.6509 GB, free: 172 kB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01944/0.8008, allocations: 8.944 MB / 0.6596 GB, free: 6.902 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003872/0.8048, allocations: 1.451 MB / 0.661 GB, free: 5.379 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001258/0.8061, allocations: 0.7181 MB / 0.6617 GB, free: 4.641 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001125/0.8062, allocations: 23.98 kB / 0.6617 GB, free: 4.617 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.076e-05/0.8063, allocations: 66.44 kB / 0.6618 GB, free: 4.543 MB / 474.7 MB Notification: Performance of pre-optimization done (n=195): time 5.711e-06/0.8063, allocations: 0 / 0.6618 GB, free: 4.543 MB / 474.7 MB Notification: Performance of matching and sorting (n=249): time 0.02125/0.8276, allocations: 11.61 MB / 0.6731 GB, free: 8.094 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002131/0.8278, allocations: 289 kB / 0.6734 GB, free: 7.75 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002987/0.8308, allocations: 1.524 MB / 0.6749 GB, free: 6.191 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004855/0.8313, allocations: 65.7 kB / 0.675 GB, free: 6.121 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001066/0.8324, allocations: 1.226 MB / 0.6762 GB, free: 4.883 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001173/0.8336, allocations: 0.8624 MB / 0.677 GB, free: 4.008 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000173/0.8338, allocations: 56 kB / 0.677 GB, free: 3.953 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002471/0.834, allocations: 411.6 kB / 0.6774 GB, free: 3.547 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001373/0.8354, allocations: 0.6616 MB / 0.6781 GB, free: 2.883 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001682/0.8371, allocations: 1.168 MB / 0.6792 GB, free: 1.52 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001607/0.8387, allocations: 0.8717 MB / 0.6801 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.539e-05/0.8387, allocations: 4 kB / 0.6801 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of matching and sorting (n=353) (initialization): time 0.005268/0.844, allocations: 2.663 MB / 0.6827 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.592e-05/0.8441, allocations: 8 kB / 0.6827 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.259e-05/0.8441, allocations: 16 kB / 0.6827 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001193/0.8453, allocations: 371.7 kB / 0.6831 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002601/0.8479, allocations: 0.6124 MB / 0.6837 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01516/0.8631, allocations: 13.08 MB / 0.6964 GB, free: 14.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00382/0.8671, allocations: 95.97 kB / 0.6965 GB, free: 14.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007009/0.8678, allocations: 104 kB / 0.6966 GB, free: 14.44 MB / 0.5105 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.001033/0.8688, allocations: 286.1 kB / 0.6969 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001282/0.8701, allocations: 256.8 kB / 0.6971 GB, free: 13.91 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001712/0.8719, allocations: 0.5246 MB / 0.6977 GB, free: 13.37 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-05/0.8719, allocations: 27.94 kB / 0.6977 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.52e-05/0.872, allocations: 8 kB / 0.6977 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.764e-05/0.872, allocations: 15.95 kB / 0.6977 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01455/0.8866, allocations: 6.843 MB / 0.7044 GB, free: 6.254 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-05/0.8866, allocations: 15.98 kB / 0.7044 GB, free: 6.238 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002251/0.8889, allocations: 0.5072 MB / 0.7049 GB, free: 5.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001005/0.8899, allocations: 315.6 kB / 0.7052 GB, free: 5.395 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001992/0.8901, allocations: 71.97 kB / 0.7053 GB, free: 5.324 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3491/1.239, allocations: 12.55 MB / 0.7175 GB, free: 128.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.605e-05/1.239, allocations: 18.88 kB / 0.7175 GB, free: 128.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007204/1.247, allocations: 4.869 MB / 0.7223 GB, free: 125.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001431/1.248, allocations: 0.49 MB / 0.7228 GB, free: 125.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004587/1.249, allocations: 70.38 kB / 0.7228 GB, free: 125.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001789/1.25, allocations: 74.72 kB / 0.7229 GB, free: 125.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004732/1.251, allocations: 211.1 kB / 0.7231 GB, free: 125.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001461/1.251, allocations: 81.95 kB / 0.7232 GB, free: 125.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00201/1.253, allocations: 1.146 MB / 0.7243 GB, free: 125.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.91e-07/1.253, allocations: 1.281 kB / 0.7243 GB, free: 125.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003338/1.256, allocations: 0.6254 MB / 0.7249 GB, free: 125.6 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.007314/1.264, allocations: 8.703 MB / 0.7334 GB, free: 119.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005926/1.27, allocations: 2.992 MB / 0.7363 GB, free: 118.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.702e-05/1.27, allocations: 2.062 kB / 0.7363 GB, free: 118.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004503/1.274, allocations: 2.324 MB / 0.7386 GB, free: 117.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004881/1.279, allocations: 365.1 kB / 0.739 GB, free: 117.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01803/1.297, allocations: 6.48 MB / 0.7453 GB, free: 114.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002374/1.3, allocations: 1.756 MB / 0.747 GB, free: 114 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001665/1.301, allocations: 278.4 kB / 0.7473 GB, free: 113.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00138/1.303, allocations: 1.131 MB / 0.7484 GB, free: 113.9 MB / 0.5105 GB Notification: Performance of SimCode: time 1.123e-06/1.303, allocations: 1.031 kB / 0.7484 GB, free: 113.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07595/1.379, allocations: 47.18 MB / 0.7945 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000128/1.379, allocations: 159.7 kB / 0.7946 GB, free: 100 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.459/5.838, allocations: 0 / 0.7946 GB, free: 100 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Translational.Vehicles.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Translational.Vehicles.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Translational.Vehicles.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Translational.Vehicles.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Translational.Vehicles_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Translational_Vehicles_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Translational_Vehicles.fmu > ModelicaTest_4.0.0_ModelicaTest.Translational.Vehicles.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Translational.Vehicles_res.mat does not exist to compare? outputFormat=mat