Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1",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.001392/0.001393, 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.541/1.541, allocations: 221.3 MB / 236 MB, free: 2.957 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.001006/0.001006, allocations: 87.98 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.2382/0.2382, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.902e-05/2.909e-05, allocations: 4.203 kB / 451.9 MB, free: 9.344 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1374, allocations: 61.92 MB / 0.5018 GB, free: 11.37 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4602/0.5977, allocations: 88.54 MB / 0.5883 GB, free: 0.7305 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002215/0.598, allocations: 67.95 kB / 0.5883 GB, free: 0.6641 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.018/0.616, allocations: 8.365 MB / 0.5965 GB, free: 8.301 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.6161, allocations: 0 / 0.5965 GB, free: 8.301 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.927e-05/0.6161, allocations: 4 kB / 0.5965 GB, free: 8.297 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006017/0.6167, allocations: 0.5752 MB / 0.5971 GB, free: 7.676 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/0.6168, allocations: 12.03 kB / 0.5971 GB, free: 7.664 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.262e-05/0.6168, allocations: 30.56 kB / 0.5971 GB, free: 7.625 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.708e-05/0.6169, allocations: 39.53 kB / 0.5971 GB, free: 7.586 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005092/0.6174, allocations: 331.3 kB / 0.5975 GB, free: 7.219 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.6174, allocations: 4 kB / 0.5975 GB, free: 7.215 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.6174, allocations: 3.938 kB / 0.5975 GB, free: 7.211 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.6176, allocations: 53.69 kB / 0.5975 GB, free: 7.152 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.6176, allocations: 0 / 0.5975 GB, free: 7.152 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.6176, allocations: 8 kB / 0.5975 GB, free: 7.145 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.6176, allocations: 0 / 0.5975 GB, free: 7.145 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.631e-05/0.6177, allocations: 16 kB / 0.5975 GB, free: 7.129 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006503/0.6183, allocations: 452.5 kB / 0.598 GB, free: 6.637 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.165e-05/0.6184, allocations: 34.56 kB / 0.598 GB, free: 6.594 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.201e-05/0.6185, allocations: 24.86 kB / 0.598 GB, free: 6.566 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.6185, allocations: 4.078 kB / 0.598 GB, free: 6.562 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.6185, allocations: 34.5 kB / 0.5981 GB, free: 6.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 2.915e-06/0.6186, allocations: 0 / 0.5981 GB, free: 6.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.000601/0.6192, allocations: 235.9 kB / 0.5983 GB, free: 6.285 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.6192, allocations: 55.41 kB / 0.5983 GB, free: 6.219 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001129/0.6203, allocations: 0.7772 MB / 0.5991 GB, free: 5.434 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.853e-05/0.6204, allocations: 33.69 kB / 0.5991 GB, free: 5.395 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001742/0.6206, allocations: 223.9 kB / 0.5994 GB, free: 5.172 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.052e-05/0.6206, allocations: 27.64 kB / 0.5994 GB, free: 5.145 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-06/0.6206, allocations: 0 / 0.5994 GB, free: 5.145 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.6208, allocations: 366.8 kB / 0.5997 GB, free: 4.777 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.378e-05/0.6208, allocations: 12 kB / 0.5997 GB, free: 4.766 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.054e-05/0.6209, allocations: 20.08 kB / 0.5998 GB, free: 4.746 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.197e-05/0.6209, allocations: 20.12 kB / 0.5998 GB, free: 4.727 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.6209, allocations: 4 kB / 0.5998 GB, free: 4.723 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001611/0.6211, allocations: 117.1 kB / 0.5999 GB, free: 4.602 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.6211, allocations: 4 kB / 0.5999 GB, free: 4.598 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.6211, allocations: 0 / 0.5999 GB, free: 4.598 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.6211, allocations: 3.953 kB / 0.5999 GB, free: 4.594 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.6213, allocations: 23.98 kB / 0.5999 GB, free: 4.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.6213, allocations: 4 kB / 0.5999 GB, free: 4.566 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.059e-05/0.6214, allocations: 7.938 kB / 0.5999 GB, free: 4.559 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.6214, allocations: 8 kB / 0.5999 GB, free: 4.551 MB / 410.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 () * 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 7.586e-05/0.6215, allocations: 105 kB / 0.6 GB, free: 4.441 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.446e-05/0.6216, allocations: 43.44 kB / 0.6001 GB, free: 4.398 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002428/0.6218, allocations: 137.5 kB / 0.6002 GB, free: 4.254 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.6218, allocations: 3.953 kB / 0.6002 GB, free: 4.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.6218, allocations: 0 / 0.6002 GB, free: 4.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.6219, allocations: 4 kB / 0.6002 GB, free: 4.246 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008346/0.6227, allocations: 0.6162 MB / 0.6008 GB, free: 3.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.6227, allocations: 0 / 0.6008 GB, free: 3.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.551e-05/0.6228, allocations: 23.94 kB / 0.6008 GB, free: 3.547 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.6228, allocations: 0 / 0.6008 GB, free: 3.547 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.6228, allocations: 4 kB / 0.6008 GB, free: 3.543 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.6228, allocations: 0 / 0.6008 GB, free: 3.543 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.6228, allocations: 0 / 0.6008 GB, free: 3.543 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002276/0.6231, allocations: 241.7 kB / 0.6011 GB, free: 3.281 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002002/0.6233, allocations: 164.5 kB / 0.6012 GB, free: 3.102 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.761e-05/0.6233, allocations: 3.984 kB / 0.6012 GB, free: 3.098 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.6234, allocations: 8 kB / 0.6012 GB, free: 3.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.645e-05/0.6235, allocations: 15.98 kB / 0.6013 GB, free: 3.074 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.6235, allocations: 0 / 0.6013 GB, free: 3.074 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006827/0.6242, allocations: 0.6342 MB / 0.6019 GB, free: 2.441 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6242, allocations: 0 / 0.6019 GB, free: 2.441 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002967/0.6245, allocations: 67.94 kB / 0.6019 GB, free: 2.375 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: 0 () * Number of discrete 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.00137/0.6259, allocations: 1.144 MB / 0.6031 GB, free: 1.324 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001376/0.626, allocations: 47.92 kB / 0.6031 GB, free: 1.277 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.626, allocations: 4 kB / 0.6031 GB, free: 1.273 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.626e-05/0.6261, allocations: 28 kB / 0.6031 GB, free: 1.246 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.6264, allocations: 30.02 kB / 0.6032 GB, free: 1.215 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.6277, allocations: 0.8503 MB / 0.604 GB, free: 332 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003969/0.6281, allocations: 0.8301 MB / 0.6048 GB, free: 15.47 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.34e-05/0.6282, allocations: 48.97 kB / 0.6049 GB, free: 15.42 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001662/0.6284, allocations: 115.4 kB / 0.605 GB, free: 15.31 MB / 426.7 MB Notification: Performance of SimCode: time 3.9e-07/0.6284, allocations: 0 / 0.605 GB, free: 15.31 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01857/0.6469, allocations: 6.721 MB / 0.6115 GB, free: 8.645 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001808/0.6472, allocations: 187.9 kB / 0.6117 GB, free: 8.418 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.122/2.769, allocations: 4 kB / 0.6117 GB, free: 8.414 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat does not exist to compare? outputFormat=mat