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"}) [: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 trunk/package.mo): time 0.0009565/0.0009565, allocations: 198.6 kB / 8.539 MB, free: 1.801 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.083/1.083, allocations: 225.5 MB / 234.4 MB, free: 3.391 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008168/0.0008169, allocations: 91.88 kB / 286.3 MB, free: 5.242 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1535/0.1535, allocations: 45.14 MB / 383.3 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1743/0.3279, allocations: 69.36 MB / 452.7 MB, free: 76.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0751/0.403, allocations: 63.25 MB / 0.5039 GB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2341/0.6372, allocations: 92.35 MB / 0.594 GB, free: 10.79 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001447/0.6373, allocations: 61.34 kB / 0.5941 GB, free: 10.76 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.1288/0.7662, allocations: 52.71 MB / 0.6456 GB, free: 14.73 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.7662, allocations: 8 kB / 0.6456 GB, free: 14.72 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001441/0.7677, allocations: 407.8 kB / 0.646 GB, free: 14.32 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002742/0.7704, allocations: 1.453 MB / 0.6474 GB, free: 12.81 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.076e-05/0.7705, allocations: 91.84 kB / 0.6475 GB, free: 12.72 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003887/0.7709, allocations: 171.8 kB / 0.6476 GB, free: 12.55 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00307/0.774, allocations: 1.502 MB / 0.6491 GB, free: 11.05 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003615/0.7776, allocations: 1.956 MB / 0.651 GB, free: 9.027 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001155/0.7777, allocations: 27.7 kB / 0.6511 GB, free: 9 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001602/0.7779, allocations: 4 kB / 0.6511 GB, free: 8.996 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.884e-05/0.778, allocations: 64 kB / 0.6511 GB, free: 8.934 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01326/0.7912, allocations: 9.65 MB / 0.6605 GB, free: 14.68 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002087/0.7933, allocations: 1.119 MB / 0.6616 GB, free: 13.51 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009267/0.7943, allocations: 0.653 MB / 0.6623 GB, free: 12.83 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.988e-05/0.7944, allocations: 27.98 kB / 0.6623 GB, free: 12.8 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/0.7944, allocations: 58.5 kB / 0.6624 GB, free: 12.74 MB / 458.7 MB Notification: Performance of pre-optimization done (n=195): time 3.777e-06/0.7944, allocations: 4 kB / 0.6624 GB, free: 12.73 MB / 458.7 MB Notification: Performance of matching and sorting (n=249): time 0.01499/0.8094, allocations: 10.92 MB / 0.673 GB, free: 0.9688 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001223/0.8096, allocations: 293 kB / 0.6733 GB, free: 0.6211 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001609/0.8112, allocations: 1.139 MB / 0.6744 GB, free: 15.48 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001206/0.8113, allocations: 25.7 kB / 0.6744 GB, free: 15.45 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004956/0.8118, allocations: 0.9302 MB / 0.6753 GB, free: 14.5 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005505/0.8124, allocations: 0.8351 MB / 0.6762 GB, free: 13.65 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.995e-05/0.8125, allocations: 0 / 0.6762 GB, free: 13.65 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.8127, allocations: 407.7 kB / 0.6766 GB, free: 13.25 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001073/0.8137, allocations: 0.6185 MB / 0.6772 GB, free: 12.63 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001416/0.8152, allocations: 1.1 MB / 0.6782 GB, free: 11.34 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001318/0.8165, allocations: 0.8056 MB / 0.679 GB, free: 10.53 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.777e-06/0.8165, allocations: 8 kB / 0.679 GB, free: 10.52 MB / 474.7 MB Notification: Performance of matching and sorting (n=353) (initialization): time 0.003952/0.8205, allocations: 2.366 MB / 0.6813 GB, free: 8.125 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.8205, allocations: 4.531 kB / 0.6813 GB, free: 8.121 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.973e-05/0.8205, allocations: 20 kB / 0.6814 GB, free: 8.102 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009439/0.8215, allocations: 359.5 kB / 0.6817 GB, free: 7.723 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002383/0.8239, allocations: 0.6205 MB / 0.6823 GB, free: 7.102 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009155/0.833, allocations: 12.4 MB / 0.6944 GB, free: 9.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001921/0.835, allocations: 48.03 kB / 0.6945 GB, free: 9.613 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001854/0.8352, allocations: 104 kB / 0.6946 GB, free: 9.512 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.0004299/0.8356, allocations: 188.6 kB / 0.6947 GB, free: 9.324 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004344/0.8361, allocations: 225.2 kB / 0.695 GB, free: 9.102 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009311/0.837, allocations: 454.2 kB / 0.6954 GB, free: 8.648 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.13e-05/0.837, allocations: 24 kB / 0.6954 GB, free: 8.625 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.501e-05/0.8371, allocations: 8 kB / 0.6954 GB, free: 8.617 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.293e-05/0.8371, allocations: 15.95 kB / 0.6954 GB, free: 8.602 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009876/0.847, allocations: 6.279 MB / 0.7016 GB, free: 2.113 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.494e-05/0.847, allocations: 15.84 kB / 0.7016 GB, free: 2.098 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002345/0.8494, allocations: 0.5189 MB / 0.7021 GB, free: 1.578 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008535/0.8502, allocations: 319.5 kB / 0.7024 GB, free: 1.238 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001404/0.8504, allocations: 35.98 kB / 0.7024 GB, free: 1.203 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00851/0.8589, allocations: 11.97 MB / 0.7141 GB, free: 4.199 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.18e-05/0.8589, allocations: 15.94 kB / 0.7141 GB, free: 4.184 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005276/0.8642, allocations: 4.561 MB / 0.7186 GB, free: 15.13 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006318/0.8705, allocations: 5.788 MB / 0.7242 GB, free: 8.863 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007791/0.8713, allocations: 458.2 kB / 0.7247 GB, free: 8.395 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002843/0.8716, allocations: 23.98 kB / 0.7247 GB, free: 8.371 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001347/0.873, allocations: 43.97 kB / 0.7247 GB, free: 8.328 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002454/0.8732, allocations: 167.5 kB / 0.7249 GB, free: 8.164 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001272/0.8734, allocations: 79.98 kB / 0.725 GB, free: 8.086 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.001128/0.8745, allocations: 0.8368 MB / 0.7258 GB, free: 7.258 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002618/0.8771, allocations: 0.5078 MB / 0.7263 GB, free: 6.75 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.0002282/0.8774, allocations: 162.7 kB / 0.7264 GB, free: 6.578 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00364/0.881, allocations: 2.721 MB / 0.7291 GB, free: 3.773 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.881, allocations: 0 / 0.7291 GB, free: 3.773 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002973/0.884, allocations: 2.127 MB / 0.7312 GB, free: 1.559 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001857/0.8859, allocations: 299.4 kB / 0.7315 GB, free: 1.273 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009684/0.8956, allocations: 5.839 MB / 0.7372 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001952/0.8975, allocations: 1.991 MB / 0.7391 GB, free: 9.195 MB / 0.5261 GB Notification: Performance of SimCode: time 4.4e-07/0.8975, allocations: 0 / 0.7391 GB, free: 9.195 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