Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.Vehicle.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) 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(Modelica.Mechanics.Translational.Examples.Vehicle,fileNamePrefix="Modelica_trunk_cpp_Modelica_Mechanics_Translational_Examples_Vehicle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Vehicle,fileNamePrefix="Modelica_trunk_cpp_Modelica_Mechanics_Translational_Examples_Vehicle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001039/0.001039, allocations: 192 kB / 17.37 MB, free: 4.434 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.214/1.214, allocations: 226.5 MB / 244.7 MB, free: 8.203 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007776/0.0007776, allocations: 95.94 kB / 296.7 MB, free: 6.887 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002032/0.0002033, allocations: 8 kB / 356.8 MB, free: 10.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1795/0.1798, allocations: 51.29 MB / 408.1 MB, free: 27.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.003892/0.1837, allocations: 5.428 MB / 413.6 MB, free: 22.14 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002527/0.1863, allocations: 2.176 MB / 415.7 MB, free: 19.98 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003969/0.1867, allocations: 31.81 kB / 415.8 MB, free: 19.95 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005063/0.1872, allocations: 354.2 kB / 416.1 MB, free: 19.6 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000677/0.1879, allocations: 417.6 kB / 416.5 MB, free: 19.19 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007295/0.1886, allocations: 356.5 kB / 416.9 MB, free: 18.84 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000867/0.1895, allocations: 1.363 MB / 418.2 MB, free: 17.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004837/0.19, allocations: 487.6 kB / 418.7 MB, free: 16.97 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003818/0.1904, allocations: 446 kB / 419.1 MB, free: 16.54 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000371/0.1908, allocations: 0.5249 MB / 419.7 MB, free: 16.01 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.35e-05/0.1908, allocations: 55.94 kB / 419.7 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002014/0.1911, allocations: 99.97 kB / 419.8 MB, free: 15.86 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001295/0.1912, allocations: 211 kB / 420 MB, free: 15.65 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000314/0.1915, allocations: 0.5495 MB / 420.6 MB, free: 15.09 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007083/0.1922, allocations: 1.244 MB / 421.8 MB, free: 13.84 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.1922, allocations: 0 / 421.8 MB, free: 13.84 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1923, allocations: 3.938 kB / 421.8 MB, free: 13.84 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.224e-05/0.1923, allocations: 0 / 421.8 MB, free: 13.84 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.001778/0.194, allocations: 1.344 MB / 423.2 MB, free: 12.45 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.1941, allocations: 16.03 kB / 423.2 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001217/0.1942, allocations: 152.4 kB / 423.3 MB, free: 12.27 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002845/0.1945, allocations: 147.2 kB / 423.5 MB, free: 12.13 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007566/0.1953, allocations: 0.747 MB / 424.2 MB, free: 11.34 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.939e-05/0.1953, allocations: 77.94 kB / 424.3 MB, free: 11.26 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.1954, allocations: 107.9 kB / 424.4 MB, free: 11.16 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001274/0.1967, allocations: 0.9079 MB / 425.3 MB, free: 10.23 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.434e-05/0.1968, allocations: 7.844 kB / 425.3 MB, free: 10.23 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.521e-05/0.1968, allocations: 44 kB / 425.4 MB, free: 10.18 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/0.1969, allocations: 28 kB / 425.4 MB, free: 10.16 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009831/0.1978, allocations: 0.6286 MB / 426 MB, free: 9.523 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00345/0.2013, allocations: 3.248 MB / 429.3 MB, free: 6.148 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001259/0.2026, allocations: 0.6156 MB / 429.9 MB, free: 5.527 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004899/0.2031, allocations: 302.6 kB / 430.2 MB, free: 5.23 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.424e-05/0.2031, allocations: 12.64 kB / 430.2 MB, free: 5.219 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000661/0.2038, allocations: 348.3 kB / 430.5 MB, free: 4.867 MB / 298.7 MB Notification: Performance of pre-optimization done (n=80): time 2.936e-06/0.2038, allocations: 0 / 430.5 MB, free: 4.867 MB / 298.7 MB Notification: Performance of matching and sorting (n=100): time 0.005461/0.2093, allocations: 3.077 MB / 433.6 MB, free: 1.711 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.527e-05/0.2093, allocations: 64.41 kB / 433.7 MB, free: 1.637 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007772/0.2101, allocations: 0.9313 MB / 434.6 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.854e-05/0.2102, allocations: 45.7 kB / 434.6 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002285/0.2104, allocations: 0.5195 MB / 435.2 MB, free: 124 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002069/0.2106, allocations: 343.1 kB / 435.5 MB, free: 15.78 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.976e-05/0.2107, allocations: 24 kB / 435.5 MB, free: 15.75 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.2108, allocations: 345.9 kB / 435.9 MB, free: 15.41 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004792/0.2113, allocations: 265.9 kB / 436.1 MB, free: 15.15 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005799/0.2118, allocations: 429.4 kB / 436.5 MB, free: 14.68 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/0.213, allocations: 0.7469 MB / 437.3 MB, free: 13.89 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.213, allocations: 0 / 437.3 MB, free: 13.89 MB / 314.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001612/0.2146, allocations: 1.028 MB / 438.3 MB, free: 12.84 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.2146, allocations: 11.98 kB / 438.3 MB, free: 12.83 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.2146, allocations: 4 kB / 438.3 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003909/0.215, allocations: 146 kB / 438.5 MB, free: 12.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000696/0.2157, allocations: 211.7 kB / 438.7 MB, free: 12.47 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002956/0.2187, allocations: 3.615 MB / 442.3 MB, free: 8.586 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004013/0.2191, allocations: 28 kB / 442.3 MB, free: 8.559 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.724e-05/0.2192, allocations: 44.05 kB / 442.4 MB, free: 8.516 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.timeTableTorqueInclination.nextTimeEvent,timeTableTorqueInclination.nextTimeEvent,$PRE.timeTableTorqueInclination.nextTimeEventScaled,timeTableTorqueInclination.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 106 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003753/0.2196, allocations: 301.6 kB / 442.7 MB, free: 8.211 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.2197, allocations: 102.7 kB / 442.8 MB, free: 8.109 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00165/0.2213, allocations: 0.9557 MB / 443.7 MB, free: 7.137 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.697e-06/0.2214, allocations: 12 kB / 443.7 MB, free: 7.125 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.2214, allocations: 3.938 kB / 443.7 MB, free: 7.121 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/0.2214, allocations: 3.984 kB / 443.7 MB, free: 7.117 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003496/0.2249, allocations: 2.502 MB / 446.2 MB, free: 4.496 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/0.2249, allocations: 7.984 kB / 446.2 MB, free: 4.488 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000703/0.2256, allocations: 183.7 kB / 446.4 MB, free: 4.309 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003252/0.2259, allocations: 117.6 kB / 446.5 MB, free: 4.188 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.581e-05/0.226, allocations: 28.19 kB / 446.6 MB, free: 4.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002507/0.2285, allocations: 3.3 MB / 449.9 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.2285, allocations: 3.938 kB / 449.9 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002061/0.2306, allocations: 1.438 MB / 451.3 MB, free: 15.09 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002845/0.2309, allocations: 243.6 kB / 451.5 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.231, allocations: 27.98 kB / 451.6 MB, free: 14.81 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003855/0.2314, allocations: 24 kB / 451.6 MB, free: 14.79 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001533/0.2316, allocations: 84.86 kB / 451.7 MB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.963e-05/0.2316, allocations: 28 kB / 451.7 MB, free: 14.68 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000708/0.2323, allocations: 0.663 MB / 452.4 MB, free: 14.02 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2324, allocations: 0 / 452.4 MB, free: 14.02 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007587/0.2331, allocations: 248 kB / 452.6 MB, free: 13.78 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 10 (vehicle.mass.s,vehicle.mass.v,vehicle.windSpeed.s,vehicle.windSpeed.v,vehicle1.mass.s,vehicle1.mass.v,vehicle1.windSpeed.s,vehicle1.windSpeed.v,trailer.windSpeed.s,trailer.windSpeed.v) * Number of discrete variables: 3 ($whenCondition1,timeTableTorqueInclination.nextTimeEvent,timeTableTorqueInclination.nextTimeEventScaled) * Number of discrete states: 2 (timeTableTorqueInclination.nextTimeEvent,timeTableTorqueInclination.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00299/0.2361, allocations: 2.313 MB / 454.9 MB, free: 11.54 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001603/0.2377, allocations: 1.038 MB / 456 MB, free: 10.47 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.2377, allocations: 0 / 456 MB, free: 10.47 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009212/0.2387, allocations: 0.6949 MB / 456.7 MB, free: 9.75 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/0.2398, allocations: 168.8 kB / 456.8 MB, free: 9.586 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009634/0.2495, allocations: 7.083 MB / 463.9 MB, free: 2.156 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006117/0.2501, allocations: 1.108 MB / 465 MB, free: 1.023 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005229/0.2507, allocations: 455.3 kB / 465.5 MB, free: 0.5781 MB / 330.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2507, allocations: 0 / 465.5 MB, free: 0.5781 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.006/4.257, allocations: 26.58 MB / 492 MB, free: 5.938 MB / 362.7 MB (rm -f Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.Vehicle.pipe >> ../files/Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.Vehicle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.Vehicle_res.mat --tempDir=temp_Modelica_trunk_cpp_Modelica_Mechanics_Translational_Examples_Vehicle_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Modelica_trunk_cpp_Modelica_Mechanics_Translational_Examples_Vehicle.fmu > Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.Vehicle.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.Vehicle_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Vehicle/Vehicle.csv","../files/Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.Vehicle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches