Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00202/0.00202, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 221.3 MB / 236 MB, free: 2.945 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.0009427/0.0009427, allocations: 86.23 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2262/0.2262, allocations: 44.15 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.846e-05/3.852e-05, allocations: 7.938 kB / 451.9 MB, free: 9.312 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1621, allocations: 61.92 MB / 0.5018 GB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6392/0.8014, allocations: 89.43 MB / 0.5892 GB, free: 15.81 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000297/0.8017, allocations: 75.95 kB / 0.5892 GB, free: 15.73 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02119/0.8229, allocations: 5.979 MB / 0.5951 GB, free: 9.766 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.823, allocations: 4 kB / 0.5951 GB, free: 9.762 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.823, allocations: 3.938 kB / 0.5951 GB, free: 9.758 MB / 410.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.0006053/0.8236, allocations: 390.3 kB / 0.5954 GB, free: 9.332 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.277e-05/0.8237, allocations: 12.03 kB / 0.5955 GB, free: 9.32 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.235e-05/0.8238, allocations: 42.48 kB / 0.5955 GB, free: 9.27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.864e-05/0.8239, allocations: 7.906 kB / 0.5955 GB, free: 9.262 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003984/0.8243, allocations: 204.9 kB / 0.5957 GB, free: 9.023 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.8243, allocations: 3.938 kB / 0.5957 GB, free: 9.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.47e-05/0.8243, allocations: 7.984 kB / 0.5957 GB, free: 9.012 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.8245, allocations: 67.41 kB / 0.5958 GB, free: 8.934 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.8246, allocations: 0 / 0.5958 GB, free: 8.934 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.501e-05/0.8246, allocations: 3.984 kB / 0.5958 GB, free: 8.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.8246, allocations: 4 kB / 0.5958 GB, free: 8.926 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.143e-05/0.8247, allocations: 19.94 kB / 0.5958 GB, free: 8.906 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005341/0.8252, allocations: 288.9 kB / 0.5961 GB, free: 8.574 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001959/0.8255, allocations: 50.69 kB / 0.5961 GB, free: 8.516 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.765e-05/0.8255, allocations: 28.95 kB / 0.5962 GB, free: 8.484 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.8256, allocations: 7.938 kB / 0.5962 GB, free: 8.477 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001693/0.8257, allocations: 59.41 kB / 0.5962 GB, free: 8.406 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.653e-06/0.8258, allocations: 0 / 0.5962 GB, free: 8.406 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006401/0.8264, allocations: 157.2 kB / 0.5964 GB, free: 8.246 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.749e-05/0.8265, allocations: 81.11 kB / 0.5964 GB, free: 8.148 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002241/0.8267, allocations: 154.8 kB / 0.5966 GB, free: 7.992 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.8268, allocations: 25.7 kB / 0.5966 GB, free: 7.961 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.364e-05/0.8269, allocations: 96.14 kB / 0.5967 GB, free: 7.863 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.256e-05/0.8269, allocations: 27.64 kB / 0.5967 GB, free: 7.836 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.821e-06/0.8269, allocations: 0 / 0.5967 GB, free: 7.836 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.8271, allocations: 322.8 kB / 0.597 GB, free: 7.512 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.331e-05/0.8272, allocations: 16 kB / 0.5971 GB, free: 7.496 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.462e-05/0.8273, allocations: 38.58 kB / 0.5971 GB, free: 7.449 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.873e-05/0.8273, allocations: 23.98 kB / 0.5971 GB, free: 7.426 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.8274, allocations: 7.969 kB / 0.5971 GB, free: 7.418 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002293/0.8276, allocations: 97.58 kB / 0.5972 GB, free: 7.316 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.8276, allocations: 5.25 kB / 0.5972 GB, free: 7.312 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.8276, allocations: 0 / 0.5972 GB, free: 7.312 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.8277, allocations: 0 / 0.5972 GB, free: 7.312 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.8278, allocations: 23.92 kB / 0.5972 GB, free: 7.289 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.8278, allocations: 4.141 kB / 0.5972 GB, free: 7.285 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.777e-05/0.8279, allocations: 8 kB / 0.5973 GB, free: 7.277 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.8279, allocations: 3.938 kB / 0.5973 GB, free: 7.273 MB / 410.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 () * 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.0001186/0.8281, allocations: 114.4 kB / 0.5974 GB, free: 7.156 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.748e-05/0.8281, allocations: 7.906 kB / 0.5974 GB, free: 7.148 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003095/0.8284, allocations: 114.2 kB / 0.5975 GB, free: 7.031 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.8284, allocations: 3.938 kB / 0.5975 GB, free: 7.027 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.8284, allocations: 0 / 0.5975 GB, free: 7.027 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.8285, allocations: 7.938 kB / 0.5975 GB, free: 7.02 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006183/0.8291, allocations: 403.4 kB / 0.5979 GB, free: 6.566 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/0.8291, allocations: 4.031 kB / 0.5979 GB, free: 6.562 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.611e-05/0.8292, allocations: 11.98 kB / 0.5979 GB, free: 6.551 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.8292, allocations: 0 / 0.5979 GB, free: 6.551 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.8292, allocations: 4 kB / 0.5979 GB, free: 6.547 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.8292, allocations: 3.953 kB / 0.5979 GB, free: 6.543 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.8292, allocations: 0 / 0.5979 GB, free: 6.543 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003146/0.8296, allocations: 218 kB / 0.5981 GB, free: 6.305 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.073e-05/0.8297, allocations: 93 kB / 0.5982 GB, free: 6.195 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.374e-05/0.8297, allocations: 3.953 kB / 0.5982 GB, free: 6.191 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.8298, allocations: 4 kB / 0.5982 GB, free: 6.188 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.125e-05/0.8299, allocations: 11.92 kB / 0.5982 GB, free: 6.176 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.642e-05/0.8299, allocations: 8 kB / 0.5982 GB, free: 6.168 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001383/0.8301, allocations: 117.3 kB / 0.5983 GB, free: 6.055 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.8301, allocations: 0 / 0.5983 GB, free: 6.055 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004482/0.8305, allocations: 43.92 kB / 0.5984 GB, free: 6.012 MB / 410.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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.002304/0.8328, allocations: 1.174 MB / 0.5995 GB, free: 4.934 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002155/0.8331, allocations: 63.91 kB / 0.5996 GB, free: 4.871 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.8331, allocations: 0 / 0.5996 GB, free: 4.871 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.99e-05/0.8332, allocations: 32 kB / 0.5996 GB, free: 4.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003679/0.8336, allocations: 35.84 kB / 0.5997 GB, free: 4.805 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007091/0.8343, allocations: 196.9 kB / 0.5998 GB, free: 4.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003836/0.8347, allocations: 0.7004 MB / 0.6005 GB, free: 3.844 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001023/0.8348, allocations: 24.91 kB / 0.6005 GB, free: 3.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.348e-05/0.8349, allocations: 31.42 kB / 0.6006 GB, free: 3.789 MB / 410.7 MB Notification: Performance of SimCode: time 7.92e-07/0.8349, allocations: 0 / 0.6006 GB, free: 3.789 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0198/0.8547, allocations: 3.084 MB / 0.6036 GB, free: 0.793 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001988/0.855, allocations: 191.4 kB / 0.6038 GB, free: 0.5664 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.649/2.504, allocations: 0 / 0.6038 GB, free: 0.5664 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat does not exist to compare? outputFormat=mat