Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31",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.001048/0.001048, allocations: 183.8 kB / 17.06 MB, free: 5.074 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.327/1.327, allocations: 223.2 MB / 241 MB, free: 11.9 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008742/0.0008743, allocations: 101.1 kB / 292.1 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3667/0.3667, allocations: 44.22 MB / 387.5 MB, free: 38.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003342/0.0003342, allocations: 12 kB / 460 MB, free: 1.426 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.3458, allocations: 61.89 MB / 0.5096 GB, free: 38.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1168/0.4626, allocations: 88.17 MB / 0.5957 GB, free: 6.957 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002002/0.4629, allocations: 83.92 kB / 0.5958 GB, free: 6.883 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01146/0.4743, allocations: 4.524 MB / 0.6002 GB, free: 2.352 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4744, allocations: 0 / 0.6002 GB, free: 2.352 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.17e-05/0.4744, allocations: 0 / 0.6002 GB, free: 2.352 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.0004619/0.4749, allocations: 434.7 kB / 0.6006 GB, free: 1.879 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.4749, allocations: 12.03 kB / 0.6007 GB, free: 1.867 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.627e-05/0.475, allocations: 34.56 kB / 0.6007 GB, free: 1.824 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.729e-05/0.475, allocations: 11.81 kB / 0.6007 GB, free: 1.812 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002586/0.4753, allocations: 214.8 kB / 0.6009 GB, free: 1.562 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.4753, allocations: 3.953 kB / 0.6009 GB, free: 1.559 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.243e-05/0.4753, allocations: 7.906 kB / 0.6009 GB, free: 1.551 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.4755, allocations: 53.67 kB / 0.601 GB, free: 1.492 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.4755, allocations: 7.938 kB / 0.601 GB, free: 1.484 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.4755, allocations: 0 / 0.601 GB, free: 1.484 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.4755, allocations: 4 kB / 0.601 GB, free: 1.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.825e-05/0.4756, allocations: 31.97 kB / 0.601 GB, free: 1.449 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004493/0.4761, allocations: 320.8 kB / 0.6013 GB, free: 1.086 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.4762, allocations: 50.5 kB / 0.6014 GB, free: 1.027 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.4762, allocations: 4 kB / 0.6014 GB, free: 1.023 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.4763, allocations: 30.56 kB / 0.6014 GB, free: 0.9844 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.4763, allocations: 0 / 0.6014 GB, free: 0.9844 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008869/0.4772, allocations: 285.1 kB / 0.6017 GB, free: 0.6992 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.4772, allocations: 51.41 kB / 0.6017 GB, free: 0.6367 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002624/0.4775, allocations: 246.2 kB / 0.602 GB, free: 404 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.4775, allocations: 25.7 kB / 0.602 GB, free: 372 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.608e-05/0.4776, allocations: 116.1 kB / 0.6021 GB, free: 252 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.615e-05/0.4776, allocations: 27.55 kB / 0.6021 GB, free: 224 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.712e-06/0.4776, allocations: 4 kB / 0.6021 GB, free: 220 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.4778, allocations: 322.8 kB / 0.6024 GB, free: 15.89 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.203e-05/0.4779, allocations: 35.98 kB / 0.6025 GB, free: 15.86 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.146e-05/0.4779, allocations: 35.97 kB / 0.6025 GB, free: 15.82 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.825e-05/0.478, allocations: 35.98 kB / 0.6025 GB, free: 15.79 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.4781, allocations: 0 / 0.6025 GB, free: 15.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002256/0.4783, allocations: 129.6 kB / 0.6027 GB, free: 15.65 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.4783, allocations: 4 kB / 0.6027 GB, free: 15.65 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.4783, allocations: 0 / 0.6027 GB, free: 15.65 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.4783, allocations: 0 / 0.6027 GB, free: 15.65 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.4784, allocations: 23.92 kB / 0.6027 GB, free: 15.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.4785, allocations: 0 / 0.6027 GB, free: 15.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.839e-05/0.4785, allocations: 15.98 kB / 0.6027 GB, free: 15.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.846e-06/0.4785, allocations: 3.953 kB / 0.6027 GB, free: 15.61 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001134/0.4786, allocations: 134.4 kB / 0.6028 GB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.993e-05/0.4787, allocations: 19.75 kB / 0.6028 GB, free: 15.45 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002784/0.479, allocations: 143.3 kB / 0.603 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.479, allocations: 0 / 0.603 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.479, allocations: 0 / 0.603 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.479, allocations: 0 / 0.603 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005968/0.4796, allocations: 475.2 kB / 0.6034 GB, free: 14.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.4796, allocations: 0 / 0.6034 GB, free: 14.78 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.019e-05/0.4797, allocations: 23.98 kB / 0.6035 GB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.4797, allocations: 0 / 0.6035 GB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.467e-06/0.4797, allocations: 0 / 0.6035 GB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.85e-06/0.4797, allocations: 7.938 kB / 0.6035 GB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.4797, allocations: 3.953 kB / 0.6035 GB, free: 14.74 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002731/0.48, allocations: 229.9 kB / 0.6037 GB, free: 14.49 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.074e-05/0.4801, allocations: 101 kB / 0.6038 GB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.4801, allocations: 0 / 0.6038 GB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.966e-05/0.4802, allocations: 15.95 kB / 0.6038 GB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.854e-05/0.4803, allocations: 11.92 kB / 0.6038 GB, free: 14.35 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.4803, allocations: 4 kB / 0.6038 GB, free: 14.34 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001769/0.4805, allocations: 197 kB / 0.604 GB, free: 14.15 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4805, allocations: 0 / 0.604 GB, free: 14.15 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002543/0.4807, allocations: 31.94 kB / 0.604 GB, free: 14.12 MB / 426.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.001489/0.4822, allocations: 1.204 MB / 0.6052 GB, free: 13.07 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002249/0.4825, allocations: 79.89 kB / 0.6053 GB, free: 13 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.4825, allocations: 4 kB / 0.6053 GB, free: 12.99 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.222e-05/0.4826, allocations: 39.98 kB / 0.6053 GB, free: 12.95 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002256/0.4828, allocations: 22.92 kB / 0.6053 GB, free: 12.93 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/0.4842, allocations: 0.9221 MB / 0.6063 GB, free: 11.94 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/0.4846, allocations: 0.7215 MB / 0.607 GB, free: 11.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.778e-05/0.4846, allocations: 28.95 kB / 0.607 GB, free: 11.17 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.042e-05/0.4847, allocations: 43.42 kB / 0.607 GB, free: 11.12 MB / 426.7 MB Notification: Performance of SimCode: time 3.91e-07/0.4847, allocations: 0 / 0.607 GB, free: 11.12 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01458/0.4993, allocations: 3.08 MB / 0.61 GB, free: 8.164 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001894/0.4996, allocations: 209.1 kB / 0.6102 GB, free: 7.926 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.583/2.082, allocations: 0 / 0.6102 GB, free: 7.926 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat does not exist to compare? outputFormat=mat