Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test20,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test20,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001618/0.001623, allocations: 182.1 kB / 16.4 MB, free: 5.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.181/2.181, allocations: 205.4 MB / 222.5 MB, free: 9.105 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001186/0.001186, allocations: 95.39 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.6277/0.6277, allocations: 43.54 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007103/0.0007105, allocations: 16 kB / 431.5 MB, free: 5.816 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.1809, allocations: 58.85 MB / 490.3 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.003484/0.1845, allocations: 1.386 MB / 491.7 MB, free: 9.48 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00228/0.1868, allocations: 0.7267 MB / 492.4 MB, free: 8.746 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.187, allocations: 4 kB / 492.4 MB, free: 8.742 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003541/0.1874, allocations: 35.83 kB / 492.5 MB, free: 8.707 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002906/0.1877, allocations: 39.89 kB / 492.5 MB, free: 8.668 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004737/0.1882, allocations: 75.77 kB / 492.6 MB, free: 8.594 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002217/0.1884, allocations: 59.86 kB / 492.6 MB, free: 8.535 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.1885, allocations: 20.2 kB / 492.7 MB, free: 8.516 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.1887, allocations: 35.84 kB / 492.7 MB, free: 8.48 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.359e-05/0.1888, allocations: 23.86 kB / 492.7 MB, free: 8.457 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.1888, allocations: 4 kB / 492.7 MB, free: 8.453 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001619/0.189, allocations: 35.86 kB / 492.8 MB, free: 8.418 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.87e-05/0.1891, allocations: 15.97 kB / 492.8 MB, free: 8.402 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.501e-05/0.1892, allocations: 37.64 kB / 492.8 MB, free: 8.359 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002588/0.1894, allocations: 84.11 kB / 492.9 MB, free: 8.277 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.1895, allocations: 0 / 492.9 MB, free: 8.277 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.1895, allocations: 3.938 kB / 492.9 MB, free: 8.273 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.1895, allocations: 0 / 492.9 MB, free: 8.273 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008026/0.1903, allocations: 406.7 kB / 493.3 MB, free: 7.828 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.831e-05/0.1904, allocations: 8.031 kB / 493.3 MB, free: 7.82 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.222e-05/0.1905, allocations: 42.55 kB / 493.3 MB, free: 7.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.387e-05/0.1906, allocations: 7.906 kB / 493.4 MB, free: 7.762 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003859/0.191, allocations: 202.8 kB / 493.6 MB, free: 7.523 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/0.191, allocations: 4 kB / 493.6 MB, free: 7.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.118e-05/0.191, allocations: 4 kB / 493.6 MB, free: 7.516 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002448/0.1913, allocations: 57.66 kB / 493.6 MB, free: 7.453 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.1913, allocations: 0 / 493.6 MB, free: 7.453 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.1914, allocations: 3.953 kB / 493.6 MB, free: 7.449 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.1914, allocations: 4 kB / 493.6 MB, free: 7.445 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001414/0.1915, allocations: 23.92 kB / 493.6 MB, free: 7.422 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006161/0.1922, allocations: 280.9 kB / 493.9 MB, free: 7.098 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003193/0.1925, allocations: 54.69 kB / 494 MB, free: 7.035 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.337e-05/0.1926, allocations: 0 / 494 MB, free: 7.035 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003076/0.1929, allocations: 75.41 kB / 494 MB, free: 6.949 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.555e-06/0.1929, allocations: 0 / 494 MB, free: 6.949 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.001028/0.194, allocations: 177.2 kB / 494.2 MB, free: 6.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.065e-05/0.194, allocations: 55.41 kB / 494.3 MB, free: 6.703 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003611/0.1944, allocations: 182.2 kB / 494.5 MB, free: 6.516 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.8e-05/0.1945, allocations: 25.7 kB / 494.5 MB, free: 6.484 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.1946, allocations: 166.6 kB / 494.6 MB, free: 6.32 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.555e-05/0.1947, allocations: 23.64 kB / 494.7 MB, free: 6.297 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.131e-05/0.1947, allocations: 8 kB / 494.7 MB, free: 6.289 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.1949, allocations: 310.8 kB / 495 MB, free: 5.977 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.1951, allocations: 23.98 kB / 495 MB, free: 5.953 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.1952, allocations: 33.7 kB / 495 MB, free: 5.914 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.1954, allocations: 20 kB / 495 MB, free: 5.895 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1954, allocations: 4 kB / 495.1 MB, free: 5.891 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004125/0.1958, allocations: 97.56 kB / 495.1 MB, free: 5.789 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.008e-05/0.1959, allocations: 8 kB / 495.2 MB, free: 5.781 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.1959, allocations: 3.938 kB / 495.2 MB, free: 5.777 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.1959, allocations: 0 / 495.2 MB, free: 5.777 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/0.1961, allocations: 16 kB / 495.2 MB, free: 5.762 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.1962, allocations: 4.125 kB / 495.2 MB, free: 5.758 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/0.1963, allocations: 3.984 kB / 495.2 MB, free: 5.754 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/0.1963, allocations: 7.938 kB / 495.2 MB, free: 5.746 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002154/0.1966, allocations: 133.7 kB / 495.3 MB, free: 5.609 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.983e-05/0.1966, allocations: 19.77 kB / 495.3 MB, free: 5.59 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.766e-05/0.1967, allocations: 20.69 kB / 495.4 MB, free: 5.574 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.1967, allocations: 0 / 495.4 MB, free: 5.574 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.1968, allocations: 0 / 495.4 MB, free: 5.574 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.1968, allocations: 0 / 495.4 MB, free: 5.574 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009255/0.1977, allocations: 395.3 kB / 495.7 MB, free: 5.129 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.1977, allocations: 4.031 kB / 495.8 MB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.429e-05/0.1978, allocations: 8 kB / 495.8 MB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.019e-05/0.1979, allocations: 3.984 kB / 495.8 MB, free: 5.113 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/0.1979, allocations: 4 kB / 495.8 MB, free: 5.109 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.1979, allocations: 0 / 495.8 MB, free: 5.109 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1979, allocations: 0 / 495.8 MB, free: 5.109 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004756/0.1984, allocations: 226.1 kB / 496 MB, free: 4.863 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.557e-05/0.1985, allocations: 92.91 kB / 496.1 MB, free: 4.754 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.626e-05/0.1986, allocations: 4 kB / 496.1 MB, free: 4.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00017/0.1988, allocations: 4 kB / 496.1 MB, free: 4.746 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.904e-05/0.1989, allocations: 7.984 kB / 496.1 MB, free: 4.738 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.88e-05/0.1989, allocations: 4 kB / 496.1 MB, free: 4.734 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002417/0.1991, allocations: 140.1 kB / 496.2 MB, free: 4.598 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.1992, allocations: 0 / 496.2 MB, free: 4.598 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005896/0.1998, allocations: 23.98 kB / 496.3 MB, free: 4.574 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002711/0.2025, allocations: 1.183 MB / 497.4 MB, free: 3.406 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003559/0.2029, allocations: 59.84 kB / 497.5 MB, free: 3.348 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.2029, allocations: 0 / 497.5 MB, free: 3.348 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001545/0.2031, allocations: 27.98 kB / 497.5 MB, free: 3.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005159/0.2036, allocations: 19.98 kB / 497.5 MB, free: 3.301 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002338/0.206, allocations: 0.8763 MB / 498.4 MB, free: 2.363 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004872/0.2065, allocations: 0.7082 MB / 499.1 MB, free: 1.629 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.2067, allocations: 39.36 kB / 499.2 MB, free: 1.59 MB / 378.7 MB Notification: Performance of SimCode: time 1.162e-06/0.2067, allocations: 0 / 499.2 MB, free: 1.59 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.335/3.542, allocations: 2.399 MB / 0.4898 GB, free: 42.03 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test20_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test20.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat does not exist to compare? outputFormat=mat