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"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 177 kB / 8.515 MB, free: 1.852 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 221.4 MB / 230.3 MB, free: 7.727 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.0009087/0.0009087, allocations: 80.8 kB / 281.2 MB, free: 5.488 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.1834/0.1834, allocations: 44.15 MB / 376.1 MB, free: 3.27 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2252/0.4086, allocations: 68.03 MB / 444.1 MB, free: 15.58 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.525, allocations: 61.91 MB / 0.4942 GB, free: 1.59 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3495/0.8746, allocations: 91.3 MB / 0.5833 GB, free: 5.48 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002443/0.8749, allocations: 64 kB / 0.5834 GB, free: 5.422 MB / 394.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.1427/1.018, allocations: 53.05 MB / 0.6352 GB, free: 128 kB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/1.018, allocations: 11.94 kB / 0.6352 GB, free: 116 kB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005566/1.018, allocations: 340.1 kB / 0.6355 GB, free: 15.77 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002418/1.021, allocations: 1.441 MB / 0.6369 GB, free: 14.29 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.458e-05/1.021, allocations: 91.98 kB / 0.637 GB, free: 14.2 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003243/1.021, allocations: 179.7 kB / 0.6372 GB, free: 14.02 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002978/1.024, allocations: 1.494 MB / 0.6387 GB, free: 12.52 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003604/1.028, allocations: 1.967 MB / 0.6406 GB, free: 10.49 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001029/1.028, allocations: 27.7 kB / 0.6406 GB, free: 10.46 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001563/1.028, allocations: 0 / 0.6406 GB, free: 10.46 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.088e-05/1.028, allocations: 67.94 kB / 0.6407 GB, free: 10.39 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01404/1.042, allocations: 9.036 MB / 0.6495 GB, free: 0.9023 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002373/1.044, allocations: 1.119 MB / 0.6506 GB, free: 15.74 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009747/1.045, allocations: 0.6562 MB / 0.6512 GB, free: 15.05 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.216e-05/1.046, allocations: 31.97 kB / 0.6513 GB, free: 15.02 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.58e-05/1.046, allocations: 62.5 kB / 0.6513 GB, free: 14.95 MB / 474.7 MB Notification: Performance of pre-optimization done (n=195): time 4.649e-06/1.046, allocations: 0 / 0.6513 GB, free: 14.95 MB / 474.7 MB Notification: Performance of matching and sorting (n=249): time 0.01647/1.062, allocations: 10.93 MB / 0.662 GB, free: 3.172 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001328/1.062, allocations: 281 kB / 0.6623 GB, free: 2.836 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00168/1.064, allocations: 1.136 MB / 0.6634 GB, free: 1.703 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001804/1.064, allocations: 25.7 kB / 0.6634 GB, free: 1.672 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005858/1.065, allocations: 0.9263 MB / 0.6643 GB, free: 0.7305 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006877/1.065, allocations: 0.8351 MB / 0.6651 GB, free: 15.88 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.057e-05/1.066, allocations: 4 kB / 0.6651 GB, free: 15.88 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002059/1.066, allocations: 411.6 kB / 0.6655 GB, free: 15.47 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001112/1.067, allocations: 0.6068 MB / 0.6661 GB, free: 14.86 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001533/1.068, allocations: 1.112 MB / 0.6672 GB, free: 13.55 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001371/1.07, allocations: 0.8053 MB / 0.668 GB, free: 12.75 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.809e-06/1.07, allocations: 4 kB / 0.668 GB, free: 12.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=353) (initialization): time 0.004126/1.074, allocations: 2.374 MB / 0.6703 GB, free: 10.34 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/1.074, allocations: 7.906 kB / 0.6703 GB, free: 10.33 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.15e-05/1.074, allocations: 12 kB / 0.6703 GB, free: 10.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009926/1.075, allocations: 367.9 kB / 0.6707 GB, free: 9.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002463/1.077, allocations: 0.6164 MB / 0.6713 GB, free: 9.312 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009686/1.087, allocations: 12.39 MB / 0.6834 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001769/1.089, allocations: 44.09 kB / 0.6834 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001787/1.089, allocations: 112 kB / 0.6835 GB, free: 11.73 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.0004386/1.09, allocations: 187.5 kB / 0.6837 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000458/1.09, allocations: 233.2 kB / 0.6839 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009461/1.091, allocations: 466.4 kB / 0.6844 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.052e-05/1.091, allocations: 24 kB / 0.6844 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.736e-05/1.091, allocations: 12 kB / 0.6844 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-05/1.091, allocations: 15.95 kB / 0.6844 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01028/1.101, allocations: 6.265 MB / 0.6905 GB, free: 4.316 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.899e-05/1.101, allocations: 12 kB / 0.6905 GB, free: 4.305 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00245/1.104, allocations: 0.5072 MB / 0.691 GB, free: 3.797 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009533/1.105, allocations: 327.4 kB / 0.6914 GB, free: 3.449 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001698/1.105, allocations: 35.97 kB / 0.6914 GB, free: 3.414 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009626/1.115, allocations: 11.97 MB / 0.7031 GB, free: 6.414 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.672e-05/1.115, allocations: 15.94 kB / 0.7031 GB, free: 6.398 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005818/1.121, allocations: 4.564 MB / 0.7075 GB, free: 1.352 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1767/1.297, allocations: 5.784 MB / 0.7132 GB, free: 196.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009193/1.298, allocations: 464.7 kB / 0.7136 GB, free: 196.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003287/1.299, allocations: 26.23 kB / 0.7137 GB, free: 196.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001487/1.3, allocations: 42.45 kB / 0.7137 GB, free: 196.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002521/1.3, allocations: 170.9 kB / 0.7139 GB, free: 196.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000119/1.3, allocations: 76.33 kB / 0.7139 GB, free: 196.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.001083/1.302, allocations: 0.8348 MB / 0.7148 GB, free: 196.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002877/1.304, allocations: 0.5092 MB / 0.7152 GB, free: 196.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.0002605/1.305, allocations: 162.9 kB / 0.7154 GB, free: 196.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003926/1.309, allocations: 2.7 MB / 0.718 GB, free: 195.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/1.309, allocations: 0 / 0.718 GB, free: 195.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002947/1.312, allocations: 2.134 MB / 0.7201 GB, free: 194.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00218/1.314, allocations: 297.6 kB / 0.7204 GB, free: 194.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008893/1.323, allocations: 5.832 MB / 0.7261 GB, free: 192.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001719/1.324, allocations: 1.992 MB / 0.728 GB, free: 191.5 MB / 0.5105 GB Notification: Performance of SimCode: time 5.51e-07/1.324, allocations: 0 / 0.728 GB, free: 191.5 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