Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.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.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22",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.001686/0.001686, allocations: 180.7 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.607/1.607, allocations: 221.3 MB / 236 MB, free: 2.973 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.0009853/0.000985, allocations: 88.05 kB / 287 MB, free: 260 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.2524/0.2524, allocations: 44.14 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.417e-05/4.419e-05, allocations: 7.938 kB / 451.9 MB, free: 9.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1841, allocations: 61.91 MB / 0.5018 GB, free: 11.37 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4922/0.6764, allocations: 89.96 MB / 0.5897 GB, free: 15.3 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/0.6767, allocations: 67.97 kB / 0.5897 GB, free: 15.24 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02312/0.6998, allocations: 9.092 MB / 0.5986 GB, free: 6.141 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.6999, allocations: 0 / 0.5986 GB, free: 6.141 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.178e-05/0.6999, allocations: 8 kB / 0.5986 GB, free: 6.133 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007954/0.7007, allocations: 0.6259 MB / 0.5992 GB, free: 5.461 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.7008, allocations: 12.03 kB / 0.5992 GB, free: 5.449 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.326e-05/0.7008, allocations: 42.55 kB / 0.5993 GB, free: 5.398 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.17e-05/0.7009, allocations: 51.34 kB / 0.5993 GB, free: 5.348 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008099/0.7017, allocations: 482.9 kB / 0.5998 GB, free: 4.832 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.7018, allocations: 8 kB / 0.5998 GB, free: 4.824 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.978e-05/0.7018, allocations: 15.91 kB / 0.5998 GB, free: 4.809 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002761/0.7021, allocations: 134.5 kB / 0.5999 GB, free: 4.668 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.7021, allocations: 4 kB / 0.5999 GB, free: 4.664 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.09e-05/0.7022, allocations: 8 kB / 0.5999 GB, free: 4.656 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/0.7022, allocations: 4 kB / 0.5999 GB, free: 4.652 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001469/0.7023, allocations: 79.91 kB / 0.6 GB, free: 4.574 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.7034, allocations: 0.7268 MB / 0.6007 GB, free: 3.793 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001645/0.7036, allocations: 113.2 kB / 0.6008 GB, free: 3.664 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.202e-05/0.7037, allocations: 33.84 kB / 0.6009 GB, free: 3.625 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.139e-05/0.7037, allocations: 0 / 0.6009 GB, free: 3.625 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.7037, allocations: 42.56 kB / 0.6009 GB, free: 3.574 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.7037, allocations: 0 / 0.6009 GB, free: 3.574 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.001064/0.7048, allocations: 474.2 kB / 0.6014 GB, free: 3.102 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.7049, allocations: 81.11 kB / 0.6014 GB, free: 3.004 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009631/0.7058, allocations: 0.7902 MB / 0.6022 GB, free: 2.207 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.7059, allocations: 33.7 kB / 0.6022 GB, free: 2.168 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001877/0.7061, allocations: 252.2 kB / 0.6025 GB, free: 1.914 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.082e-05/0.7061, allocations: 55.19 kB / 0.6025 GB, free: 1.859 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.678e-06/0.7061, allocations: 4 kB / 0.6025 GB, free: 1.855 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.7063, allocations: 378.7 kB / 0.6029 GB, free: 1.477 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.283e-05/0.7064, allocations: 43.98 kB / 0.6029 GB, free: 1.434 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.842e-05/0.7065, allocations: 65.64 kB / 0.603 GB, free: 1.363 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001004/0.7066, allocations: 56.03 kB / 0.6031 GB, free: 1.309 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.7066, allocations: 4 kB / 0.6031 GB, free: 1.305 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003113/0.7069, allocations: 201 kB / 0.6033 GB, free: 1.102 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.707, allocations: 4 kB / 0.6033 GB, free: 1.098 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.707, allocations: 0 / 0.6033 GB, free: 1.098 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.707, allocations: 3.938 kB / 0.6033 GB, free: 1.094 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002094/0.7072, allocations: 43.95 kB / 0.6033 GB, free: 1.051 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.7072, allocations: 7.938 kB / 0.6033 GB, free: 1.043 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001454/0.7074, allocations: 23.91 kB / 0.6033 GB, free: 1.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.841e-05/0.7074, allocations: 7.984 kB / 0.6033 GB, free: 1.012 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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 8.329e-05/0.7075, allocations: 112.9 kB / 0.6034 GB, free: 0.8945 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.7076, allocations: 55.34 kB / 0.6035 GB, free: 0.8398 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004653/0.7081, allocations: 258.4 kB / 0.6037 GB, free: 0.582 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.7081, allocations: 7.938 kB / 0.6038 GB, free: 0.5742 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.7081, allocations: 0 / 0.6038 GB, free: 0.5742 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.7081, allocations: 0 / 0.6038 GB, free: 0.5742 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/0.7093, allocations: 0.8372 MB / 0.6046 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.7093, allocations: 0 / 0.6046 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001715/0.7095, allocations: 43.97 kB / 0.6046 GB, free: 15.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.7095, allocations: 0 / 0.6046 GB, free: 15.64 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.088e-05/0.7095, allocations: 7.984 kB / 0.6046 GB, free: 15.63 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.772e-06/0.7096, allocations: 7.938 kB / 0.6046 GB, free: 15.62 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.7096, allocations: 0 / 0.6046 GB, free: 15.62 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000473/0.71, allocations: 396.7 kB / 0.605 GB, free: 15.21 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002641/0.7103, allocations: 172.4 kB / 0.6052 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.673e-05/0.7104, allocations: 7.984 kB / 0.6052 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002065/0.7106, allocations: 12 kB / 0.6052 GB, free: 15 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.328e-05/0.7107, allocations: 23.92 kB / 0.6052 GB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.7107, allocations: 7.938 kB / 0.6052 GB, free: 14.97 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007523/0.7115, allocations: 0.6264 MB / 0.6058 GB, free: 14.35 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7115, allocations: 0 / 0.6058 GB, free: 14.35 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003629/0.7118, allocations: 83.94 kB / 0.6059 GB, free: 14.27 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.001466/0.7133, allocations: 1.269 MB / 0.6072 GB, free: 13.07 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002594/0.7136, allocations: 119.9 kB / 0.6073 GB, free: 12.96 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.7136, allocations: 0 / 0.6073 GB, free: 12.96 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.7137, allocations: 75.91 kB / 0.6073 GB, free: 12.88 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004356/0.7142, allocations: 68.31 kB / 0.6074 GB, free: 12.82 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001473/0.7157, allocations: 0.8515 MB / 0.6082 GB, free: 11.92 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004528/0.7161, allocations: 0.8804 MB / 0.6091 GB, free: 11.02 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002169/0.7164, allocations: 103.8 kB / 0.6092 GB, free: 10.92 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002465/0.7166, allocations: 171.4 kB / 0.6094 GB, free: 10.75 MB / 426.7 MB Notification: Performance of SimCode: time 2.034e-06/0.7166, allocations: 0 / 0.6094 GB, free: 10.75 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02327/0.7399, allocations: 9.098 MB / 0.6182 GB, free: 1.723 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001899/0.7401, allocations: 182.9 kB / 0.6184 GB, free: 1.5 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.278/3.018, allocations: 0 / 0.6184 GB, free: 1.5 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat does not exist to compare? outputFormat=mat