Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test37",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.001658/0.001663, 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.097/2.097, 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.001153/0.001153, allocations: 91.34 kB / 270.9 MB, free: 8.363 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.5535/0.5535, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008059/0.0008062, allocations: 16 kB / 431.5 MB, free: 6.066 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1891/0.19, allocations: 58.85 MB / 490.3 MB, free: 11.13 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003682/0.1937, allocations: 1.351 MB / 491.7 MB, free: 9.766 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002634/0.1964, allocations: 0.715 MB / 492.4 MB, free: 9.043 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001266/0.1966, allocations: 4 kB / 492.4 MB, free: 9.039 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000458/0.1971, allocations: 59.8 kB / 492.4 MB, free: 8.98 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003752/0.1975, allocations: 51.86 kB / 492.5 MB, free: 8.93 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005643/0.1981, allocations: 75.78 kB / 492.6 MB, free: 8.855 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002956/0.1984, allocations: 63.86 kB / 492.6 MB, free: 8.793 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.4e-05/0.1985, allocations: 7.984 kB / 492.6 MB, free: 8.785 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001699/0.1987, allocations: 39.83 kB / 492.7 MB, free: 8.746 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001503/0.1989, allocations: 35.84 kB / 492.7 MB, free: 8.711 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.549e-05/0.1989, allocations: 4 kB / 492.7 MB, free: 8.707 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001633/0.1991, allocations: 19.98 kB / 492.7 MB, free: 8.688 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.595e-05/0.1992, allocations: 15.98 kB / 492.8 MB, free: 8.672 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.943e-05/0.1993, allocations: 37.64 kB / 492.8 MB, free: 8.629 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002702/0.1996, allocations: 76.03 kB / 492.9 MB, free: 8.555 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.1996, allocations: 3.938 kB / 492.9 MB, free: 8.551 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1996, allocations: 0 / 492.9 MB, free: 8.551 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.1997, allocations: 0 / 492.9 MB, free: 8.551 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0008184/0.2005, allocations: 402.8 kB / 493.3 MB, free: 8.109 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.954e-05/0.2006, allocations: 12.03 kB / 493.3 MB, free: 8.098 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.279e-05/0.2007, allocations: 34.56 kB / 493.3 MB, free: 8.055 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.662e-05/0.2007, allocations: 7.906 kB / 493.3 MB, free: 8.047 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000395/0.2012, allocations: 198.9 kB / 493.5 MB, free: 7.812 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.2012, allocations: 0 / 493.5 MB, free: 7.812 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.2012, allocations: 0 / 493.5 MB, free: 7.812 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002416/0.2015, allocations: 53.67 kB / 493.6 MB, free: 7.754 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.2015, allocations: 0 / 493.6 MB, free: 7.754 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.2015, allocations: 3.953 kB / 493.6 MB, free: 7.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.2016, allocations: 4 kB / 493.6 MB, free: 7.746 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000141/0.2017, allocations: 15.94 kB / 493.6 MB, free: 7.73 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003431/0.2021, allocations: 181.6 kB / 493.8 MB, free: 7.504 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000356/0.2025, allocations: 58.55 kB / 493.8 MB, free: 7.438 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.729e-05/0.2025, allocations: 4 kB / 493.8 MB, free: 7.434 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003285/0.2029, allocations: 71.42 kB / 493.9 MB, free: 7.352 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 3.326e-06/0.2029, allocations: 0 / 493.9 MB, free: 7.352 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005744/0.2035, allocations: 89.58 kB / 494 MB, free: 7.258 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.439e-05/0.2036, allocations: 55.36 kB / 494 MB, free: 7.191 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004051/0.204, allocations: 182.1 kB / 494.2 MB, free: 7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/0.2041, allocations: 29.7 kB / 494.2 MB, free: 6.965 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.2042, allocations: 162.6 kB / 494.4 MB, free: 6.805 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.27e-05/0.2043, allocations: 11.89 kB / 494.4 MB, free: 6.793 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.166e-05/0.2043, allocations: 8 kB / 494.4 MB, free: 6.785 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001899/0.2045, allocations: 310.8 kB / 494.7 MB, free: 6.473 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.2047, allocations: 12 kB / 494.7 MB, free: 6.461 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.2049, allocations: 25.7 kB / 494.8 MB, free: 6.43 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.205, allocations: 19.94 kB / 494.8 MB, free: 6.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.205, allocations: 4 kB / 494.8 MB, free: 6.406 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003914/0.2054, allocations: 73.92 kB / 494.9 MB, free: 6.328 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.828e-05/0.2055, allocations: 4 kB / 494.9 MB, free: 6.324 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.2055, allocations: 64 / 494.9 MB, free: 6.324 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.472e-05/0.2056, allocations: 8 kB / 494.9 MB, free: 6.316 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.2058, allocations: 11.94 kB / 494.9 MB, free: 6.305 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.481e-05/0.2058, allocations: 3.953 kB / 494.9 MB, free: 6.301 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001426/0.206, allocations: 11.89 kB / 494.9 MB, free: 6.289 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.206, allocations: 0 / 494.9 MB, free: 6.289 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 (7): * Single equations (assignments): 7 * 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.0002049/0.2062, allocations: 129.8 kB / 495 MB, free: 6.152 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.157e-05/0.2063, allocations: 15.92 kB / 495 MB, free: 6.137 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.387e-05/0.2064, allocations: 20.23 kB / 495.1 MB, free: 6.121 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.2065, allocations: 0 / 495.1 MB, free: 6.121 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.2065, allocations: 0 / 495.1 MB, free: 6.121 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.2065, allocations: 3.953 kB / 495.1 MB, free: 6.117 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002914/0.2068, allocations: 181.6 kB / 495.2 MB, free: 5.891 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.2068, allocations: 0 / 495.2 MB, free: 5.891 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.506e-05/0.2069, allocations: 7.984 kB / 495.2 MB, free: 5.883 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.695e-06/0.2069, allocations: 0 / 495.2 MB, free: 5.883 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/0.207, allocations: 4 kB / 495.3 MB, free: 5.879 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.637e-06/0.207, allocations: 0 / 495.3 MB, free: 5.879 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.207, allocations: 11.94 kB / 495.3 MB, free: 5.867 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004592/0.2075, allocations: 108.9 kB / 495.4 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.2076, allocations: 88.92 kB / 495.5 MB, free: 5.637 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.557e-05/0.2077, allocations: 4 kB / 495.5 MB, free: 5.633 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.2078, allocations: 3.984 kB / 495.5 MB, free: 5.629 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.265e-05/0.2079, allocations: 4 kB / 495.5 MB, free: 5.625 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.429e-05/0.2079, allocations: 0 / 495.5 MB, free: 5.625 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002621/0.2082, allocations: 148 kB / 495.6 MB, free: 5.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.31e-07/0.2082, allocations: 0 / 495.6 MB, free: 5.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004855/0.2087, allocations: 20 kB / 495.6 MB, free: 5.461 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.00269/0.2115, allocations: 0.946 MB / 496.6 MB, free: 4.539 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004179/0.2119, allocations: 43.98 kB / 496.6 MB, free: 4.496 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.212, allocations: 0 / 496.6 MB, free: 4.496 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001519/0.2121, allocations: 23.92 kB / 496.6 MB, free: 4.473 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004726/0.2126, allocations: 19.98 kB / 496.7 MB, free: 4.453 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00254/0.2152, allocations: 0.8032 MB / 497.5 MB, free: 3.586 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005058/0.2158, allocations: 0.7121 MB / 498.2 MB, free: 2.848 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001384/0.2159, allocations: 27.44 kB / 498.2 MB, free: 2.82 MB / 378.7 MB Notification: Performance of SimCode: time 2.474e-06/0.216, allocations: 0 / 498.2 MB, free: 2.82 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.017/3.233, allocations: 2.18 MB / 0.4887 GB, free: 0.6445 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test37_fmu --startTime=0 --stopTime=3.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat does not exist to compare? outputFormat=mat