Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50",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.001107/0.001107, 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.584/1.584, allocations: 221.3 MB / 236 MB, free: 2.988 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.0008964/0.0008964, allocations: 99.66 kB / 287 MB, free: 252 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.2729/0.2729, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.961e-05/3.965e-05, allocations: 4.219 kB / 451.9 MB, free: 9.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1569, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5617/0.7187, allocations: 89.45 MB / 0.5892 GB, free: 15.8 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002434/0.7189, allocations: 75.95 kB / 0.5892 GB, free: 15.73 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01779/0.7368, allocations: 6.232 MB / 0.5953 GB, free: 9.512 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.7368, allocations: 0 / 0.5953 GB, free: 9.512 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.594e-05/0.7368, allocations: 4 kB / 0.5953 GB, free: 9.508 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000605/0.7375, allocations: 394.2 kB / 0.5957 GB, free: 9.078 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.809e-05/0.7375, allocations: 15.97 kB / 0.5957 GB, free: 9.062 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.468e-05/0.7376, allocations: 38.55 kB / 0.5958 GB, free: 9.016 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.915e-05/0.7377, allocations: 11.91 kB / 0.5958 GB, free: 9.004 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003994/0.7381, allocations: 211.4 kB / 0.596 GB, free: 8.754 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.7381, allocations: 11.95 kB / 0.596 GB, free: 8.742 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.685e-05/0.7381, allocations: 0 / 0.596 GB, free: 8.742 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001977/0.7383, allocations: 75.39 kB / 0.596 GB, free: 8.656 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.7384, allocations: 0 / 0.596 GB, free: 8.656 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.7384, allocations: 0 / 0.596 GB, free: 8.656 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.7384, allocations: 4 kB / 0.5961 GB, free: 8.652 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.849e-05/0.7385, allocations: 35.97 kB / 0.5961 GB, free: 8.617 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005795/0.7391, allocations: 304.7 kB / 0.5964 GB, free: 8.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001784/0.7393, allocations: 66.69 kB / 0.5964 GB, free: 8.195 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.251e-05/0.7394, allocations: 24.97 kB / 0.5965 GB, free: 8.168 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.7394, allocations: 8 kB / 0.5965 GB, free: 8.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001835/0.7396, allocations: 79.39 kB / 0.5965 GB, free: 8.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.7396, allocations: 0 / 0.5965 GB, free: 8.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006656/0.7403, allocations: 173.2 kB / 0.5967 GB, free: 7.895 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.549e-05/0.7404, allocations: 77.11 kB / 0.5968 GB, free: 7.801 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001845/0.7406, allocations: 153.3 kB / 0.5969 GB, free: 7.641 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.737e-05/0.7406, allocations: 29.7 kB / 0.597 GB, free: 7.605 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.204e-05/0.7407, allocations: 104 kB / 0.5971 GB, free: 7.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.073e-05/0.7407, allocations: 23.72 kB / 0.5971 GB, free: 7.477 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.13e-06/0.7407, allocations: 0 / 0.5971 GB, free: 7.477 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.7409, allocations: 326.8 kB / 0.5974 GB, free: 7.148 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.301e-05/0.741, allocations: 24 kB / 0.5974 GB, free: 7.125 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.08e-05/0.7411, allocations: 50.5 kB / 0.5975 GB, free: 7.066 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.736e-05/0.7411, allocations: 28.02 kB / 0.5975 GB, free: 7.039 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.7411, allocations: 7.938 kB / 0.5975 GB, free: 7.031 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002038/0.7413, allocations: 117.5 kB / 0.5976 GB, free: 6.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.7414, allocations: 5.562 kB / 0.5976 GB, free: 6.906 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.7414, allocations: 0 / 0.5976 GB, free: 6.906 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.7414, allocations: 0 / 0.5976 GB, free: 6.906 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.7415, allocations: 19.98 kB / 0.5976 GB, free: 6.887 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.7415, allocations: 0 / 0.5976 GB, free: 6.887 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.625e-05/0.7416, allocations: 8 kB / 0.5976 GB, free: 6.879 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.7416, allocations: 4 kB / 0.5976 GB, free: 6.875 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 (11): * Single equations (assignments): 11 * 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.0001268/0.7418, allocations: 124.9 kB / 0.5978 GB, free: 6.746 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.317e-05/0.7418, allocations: 15.75 kB / 0.5978 GB, free: 6.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002853/0.7421, allocations: 126.3 kB / 0.5979 GB, free: 6.605 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.7421, allocations: 4 kB / 0.5979 GB, free: 6.602 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.7421, allocations: 3.938 kB / 0.5979 GB, free: 6.598 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.7421, allocations: 0 / 0.5979 GB, free: 6.598 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004884/0.7426, allocations: 439.2 kB / 0.5983 GB, free: 6.109 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.7426, allocations: 0 / 0.5983 GB, free: 6.109 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.271e-05/0.7427, allocations: 19.94 kB / 0.5983 GB, free: 6.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.7427, allocations: 0 / 0.5983 GB, free: 6.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.7427, allocations: 0 / 0.5983 GB, free: 6.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.7427, allocations: 4 kB / 0.5984 GB, free: 6.086 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.7427, allocations: 240 / 0.5984 GB, free: 6.086 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003322/0.7431, allocations: 244.7 kB / 0.5986 GB, free: 5.824 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.992e-05/0.7432, allocations: 89 kB / 0.5987 GB, free: 5.719 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.37e-05/0.7432, allocations: 8 kB / 0.5987 GB, free: 5.711 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.612e-05/0.7433, allocations: 8 kB / 0.5987 GB, free: 5.703 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.465e-05/0.7434, allocations: 11.94 kB / 0.5987 GB, free: 5.691 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.7434, allocations: 8 kB / 0.5987 GB, free: 5.684 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001301/0.7435, allocations: 123.8 kB / 0.5988 GB, free: 5.562 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.7435, allocations: 3.938 kB / 0.5988 GB, free: 5.559 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003053/0.7438, allocations: 43.92 kB / 0.5989 GB, free: 5.516 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 (11): * Single equations (assignments): 9 * 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.00206/0.7459, allocations: 1.19 MB / 0.6 GB, free: 4.418 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002272/0.7461, allocations: 75.86 kB / 0.6001 GB, free: 4.344 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.7462, allocations: 4.062 kB / 0.6001 GB, free: 4.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.375e-05/0.7463, allocations: 39.94 kB / 0.6001 GB, free: 4.301 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000309/0.7466, allocations: 33.95 kB / 0.6002 GB, free: 4.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007391/0.7473, allocations: 221.2 kB / 0.6004 GB, free: 4.008 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004698/0.7478, allocations: 0.7082 MB / 0.6011 GB, free: 3.273 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.844e-05/0.7479, allocations: 24.92 kB / 0.6011 GB, free: 3.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.778e-05/0.748, allocations: 35.42 kB / 0.6011 GB, free: 3.215 MB / 410.7 MB Notification: Performance of SimCode: time 4.91e-07/0.748, allocations: 0 / 0.6011 GB, free: 3.215 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02013/0.7682, allocations: 3.31 MB / 0.6044 GB, free: 0 / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003965/0.7687, allocations: 189.2 kB / 0.6045 GB, free: 15.77 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.72/2.489, allocations: 3.938 kB / 0.6046 GB, free: 15.77 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat does not exist to compare? outputFormat=mat