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.00168/0.00168, allocations: 173.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 221.5 MB / 230.7 MB, free: 7.582 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.0009543/0.0009547, allocations: 90.61 kB / 281.6 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1905/0.1905, allocations: 44.16 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.648e-05/2.658e-05, allocations: 224 / 444.7 MB, free: 15.15 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1605, allocations: 61.91 MB / 0.4948 GB, free: 1.172 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4324/0.5929, allocations: 91.37 MB / 0.584 GB, free: 5.008 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001955/0.5932, allocations: 63.97 kB / 0.584 GB, free: 4.945 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1404/0.7336, allocations: 50.77 MB / 0.6336 GB, free: 1.988 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.7337, allocations: 4 kB / 0.6336 GB, free: 1.984 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002572/0.7339, allocations: 79.97 kB / 0.6337 GB, free: 1.906 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.006395/0.7403, allocations: 2.407 MB / 0.6361 GB, free: 15.44 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/0.7404, allocations: 11.98 kB / 0.6361 GB, free: 15.43 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009087/0.7413, allocations: 339.9 kB / 0.6364 GB, free: 15.09 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002781/0.7441, allocations: 1.453 MB / 0.6378 GB, free: 13.59 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-05/0.7442, allocations: 91.94 kB / 0.6379 GB, free: 13.5 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003554/0.7446, allocations: 172.5 kB / 0.6381 GB, free: 13.33 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003188/0.7478, allocations: 1.502 MB / 0.6395 GB, free: 11.82 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003826/0.7516, allocations: 1.962 MB / 0.6414 GB, free: 9.797 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00012/0.7518, allocations: 31.64 kB / 0.6415 GB, free: 9.766 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001593/0.7519, allocations: 0 / 0.6415 GB, free: 9.766 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.157e-05/0.752, allocations: 68 kB / 0.6415 GB, free: 9.699 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01494/0.767, allocations: 8.43 MB / 0.6498 GB, free: 0.9609 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00274/0.7697, allocations: 1.365 MB / 0.6511 GB, free: 15.52 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001069/0.7708, allocations: 0.6523 MB / 0.6517 GB, free: 14.84 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001054/0.771, allocations: 35.92 kB / 0.6518 GB, free: 14.81 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.223e-05/0.771, allocations: 62.5 kB / 0.6518 GB, free: 14.74 MB / 474.7 MB Notification: Performance of pre-optimization done (n=195): time 4.639e-06/0.771, allocations: 0 / 0.6518 GB, free: 14.74 MB / 474.7 MB Notification: Performance of matching and sorting (n=249): time 0.01796/0.789, allocations: 10.97 MB / 0.6625 GB, free: 2.93 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001648/0.7892, allocations: 293 kB / 0.6628 GB, free: 2.582 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001858/0.7911, allocations: 1.132 MB / 0.6639 GB, free: 1.453 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003203/0.7914, allocations: 29.64 kB / 0.664 GB, free: 1.418 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009477/0.7924, allocations: 1.215 MB / 0.6651 GB, free: 192 kB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009128/0.7933, allocations: 0.8391 MB / 0.666 GB, free: 15.33 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.7934, allocations: 0 / 0.666 GB, free: 15.33 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002281/0.7936, allocations: 407.7 kB / 0.6664 GB, free: 14.93 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001127/0.7948, allocations: 0.6069 MB / 0.6669 GB, free: 14.32 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001504/0.7963, allocations: 1.104 MB / 0.668 GB, free: 13.02 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0014/0.7977, allocations: 0.8092 MB / 0.6688 GB, free: 12.21 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.09e-05/0.7977, allocations: 4 kB / 0.6688 GB, free: 12.21 MB / 490.7 MB Notification: Performance of matching and sorting (n=353) (initialization): time 0.004453/0.8022, allocations: 2.381 MB / 0.6711 GB, free: 9.797 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.535e-05/0.8023, allocations: 12 kB / 0.6712 GB, free: 9.785 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.62e-05/0.8023, allocations: 15.98 kB / 0.6712 GB, free: 9.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009566/0.8032, allocations: 360.5 kB / 0.6715 GB, free: 9.391 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002276/0.8055, allocations: 0.6163 MB / 0.6721 GB, free: 8.773 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009911/0.8155, allocations: 12.56 MB / 0.6844 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001998/0.8175, allocations: 39.97 kB / 0.6844 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002248/0.8177, allocations: 108 kB / 0.6845 GB, free: 11.04 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.0004969/0.8182, allocations: 187.7 kB / 0.6847 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003486/0.8217, allocations: 1.854 MB / 0.6865 GB, free: 8.965 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004832/0.8222, allocations: 225.3 kB / 0.6867 GB, free: 8.742 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009871/0.8232, allocations: 470.9 kB / 0.6872 GB, free: 8.27 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.323e-05/0.8233, allocations: 28 kB / 0.6872 GB, free: 8.242 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-05/0.8233, allocations: 11.98 kB / 0.6872 GB, free: 8.23 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.722e-05/0.8233, allocations: 15.91 kB / 0.6872 GB, free: 8.215 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01039/0.8337, allocations: 6.296 MB / 0.6934 GB, free: 1.707 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.68e-05/0.8338, allocations: 8 kB / 0.6934 GB, free: 1.699 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002234/0.836, allocations: 0.5156 MB / 0.6939 GB, free: 1.184 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008847/0.8369, allocations: 307.5 kB / 0.6942 GB, free: 0.8555 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000152/0.8371, allocations: 43.92 kB / 0.6942 GB, free: 0.8125 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008855/0.8459, allocations: 12.06 MB / 0.706 GB, free: 3.719 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.761e-05/0.846, allocations: 15.94 kB / 0.706 GB, free: 3.703 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3324/1.178, allocations: 4.54 MB / 0.7104 GB, free: 137.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0016/1.18, allocations: 462.4 kB / 0.7109 GB, free: 137.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009031/1.181, allocations: 25.5 kB / 0.7109 GB, free: 137.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002074/1.183, allocations: 35.2 kB / 0.7109 GB, free: 137.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004979/1.184, allocations: 214.5 kB / 0.7111 GB, free: 137.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001499/1.184, allocations: 79.31 kB / 0.7112 GB, free: 137.6 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001459/1.185, allocations: 0.8325 MB / 0.712 GB, free: 137.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.51e-07/1.185, allocations: 0.7188 kB / 0.712 GB, free: 137.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003551/1.189, allocations: 0.5144 MB / 0.7125 GB, free: 137.5 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.007288/1.196, allocations: 8.45 MB / 0.7208 GB, free: 131.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00471/1.201, allocations: 2.784 MB / 0.7235 GB, free: 130.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.816e-05/1.201, allocations: 1.125 kB / 0.7235 GB, free: 130.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003492/1.204, allocations: 2.204 MB / 0.7257 GB, free: 129.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003339/1.208, allocations: 315.9 kB / 0.726 GB, free: 129.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01539/1.223, allocations: 6.223 MB / 0.732 GB, free: 127 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00331/1.227, allocations: 1.752 MB / 0.7338 GB, free: 126.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001776/1.228, allocations: 254.5 kB / 0.734 GB, free: 126.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001628/1.23, allocations: 1.109 MB / 0.7351 GB, free: 126.2 MB / 0.5105 GB Notification: Performance of SimCode: time 1.142e-06/1.23, allocations: 0 / 0.7351 GB, free: 126.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08887/1.319, allocations: 42.54 MB / 0.7766 GB, free: 119.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000169/1.319, allocations: 129.4 kB / 0.7767 GB, free: 119.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.042/5.361, allocations: 7.938 kB / 0.7767 GB, free: 119.1 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