Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test5",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.00181/0.00181, allocations: 180.4 kB / 14.15 MB, free: 1.172 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.463/1.463, 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.0009274/0.000927, allocations: 91.8 kB / 287 MB, free: 228 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.2347/0.2347, allocations: 44.15 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.448e-05/3.456e-05, allocations: 4.219 kB / 451.9 MB, free: 9.316 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1423, allocations: 61.92 MB / 0.5018 GB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4699/0.6123, allocations: 87.98 MB / 0.5877 GB, free: 1.141 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000228/0.6126, allocations: 71.97 kB / 0.5878 GB, free: 1.07 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01068/0.6233, allocations: 4.317 MB / 0.592 GB, free: 12.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.6233, allocations: 0 / 0.592 GB, free: 12.77 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.279e-05/0.6233, allocations: 4 kB / 0.592 GB, free: 12.76 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.0003738/0.6237, allocations: 394.2 kB / 0.5924 GB, free: 12.33 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.6238, allocations: 16.03 kB / 0.5924 GB, free: 12.32 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.235e-05/0.6238, allocations: 30.56 kB / 0.5924 GB, free: 12.28 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.073e-05/0.6239, allocations: 11.81 kB / 0.5924 GB, free: 12.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002693/0.6241, allocations: 211.5 kB / 0.5926 GB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.6242, allocations: 7.922 kB / 0.5926 GB, free: 12.01 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.973e-05/0.6242, allocations: 7.953 kB / 0.5927 GB, free: 12 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.6243, allocations: 41.7 kB / 0.5927 GB, free: 11.95 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.6243, allocations: 4 kB / 0.5927 GB, free: 11.95 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.6243, allocations: 0 / 0.5927 GB, free: 11.95 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.6244, allocations: 3.984 kB / 0.5927 GB, free: 11.95 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.408e-05/0.6244, allocations: 23.98 kB / 0.5927 GB, free: 11.92 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003879/0.6248, allocations: 304.7 kB / 0.593 GB, free: 11.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.801e-05/0.6249, allocations: 38.56 kB / 0.5931 GB, free: 11.53 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.504e-05/0.6249, allocations: 12.86 kB / 0.5931 GB, free: 11.51 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.6249, allocations: 4 kB / 0.5931 GB, free: 11.51 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.625, allocations: 34.56 kB / 0.5931 GB, free: 11.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.625, allocations: 0 / 0.5931 GB, free: 11.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004786/0.6255, allocations: 149.2 kB / 0.5932 GB, free: 11.31 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/0.6255, allocations: 59.34 kB / 0.5933 GB, free: 11.24 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000206/0.6257, allocations: 202.9 kB / 0.5935 GB, free: 11.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.6258, allocations: 25.7 kB / 0.5935 GB, free: 11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.362e-05/0.6258, allocations: 116 kB / 0.5936 GB, free: 10.89 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.513e-05/0.6259, allocations: 23.72 kB / 0.5937 GB, free: 10.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-06/0.6259, allocations: 4 kB / 0.5937 GB, free: 10.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.626, allocations: 330.8 kB / 0.594 GB, free: 10.53 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.075e-05/0.626, allocations: 12 kB / 0.594 GB, free: 10.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.566e-05/0.626, allocations: 12 kB / 0.594 GB, free: 10.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.556e-05/0.6261, allocations: 24.22 kB / 0.594 GB, free: 10.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.6261, allocations: 0 / 0.594 GB, free: 10.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001157/0.6262, allocations: 85.48 kB / 0.5941 GB, free: 10.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.6262, allocations: 8 kB / 0.5941 GB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.6262, allocations: 0 / 0.5941 GB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.6263, allocations: 0 / 0.5941 GB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.6264, allocations: 23.92 kB / 0.5941 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.6264, allocations: 0 / 0.5941 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.531e-05/0.6264, allocations: 8 kB / 0.5941 GB, free: 10.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.6265, allocations: 4 kB / 0.5941 GB, free: 10.35 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 6.509e-05/0.6265, allocations: 116.9 kB / 0.5943 GB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.42e-05/0.6266, allocations: 11.89 kB / 0.5943 GB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001803/0.6268, allocations: 95.2 kB / 0.5944 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.6268, allocations: 0 / 0.5944 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.6268, allocations: 0 / 0.5944 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.6268, allocations: 3.938 kB / 0.5944 GB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004707/0.6273, allocations: 411.2 kB / 0.5947 GB, free: 9.652 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.6273, allocations: 8.031 kB / 0.5948 GB, free: 9.645 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.539e-05/0.6274, allocations: 20 kB / 0.5948 GB, free: 9.625 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.6274, allocations: 3.938 kB / 0.5948 GB, free: 9.621 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.6274, allocations: 3.984 kB / 0.5948 GB, free: 9.617 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.6274, allocations: 0 / 0.5948 GB, free: 9.617 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.6274, allocations: 4 kB / 0.5948 GB, free: 9.613 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000159/0.6276, allocations: 201.9 kB / 0.595 GB, free: 9.391 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.278e-05/0.6276, allocations: 100.9 kB / 0.5951 GB, free: 9.273 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.6277, allocations: 4 kB / 0.5951 GB, free: 9.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.45e-05/0.6277, allocations: 4 kB / 0.5951 GB, free: 9.266 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.797e-05/0.6278, allocations: 15.94 kB / 0.5951 GB, free: 9.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.6278, allocations: 0 / 0.5951 GB, free: 9.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001383/0.6279, allocations: 163.2 kB / 0.5953 GB, free: 9.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.628, allocations: 0 / 0.5953 GB, free: 9.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002307/0.6282, allocations: 39.92 kB / 0.5953 GB, free: 9.051 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.001262/0.6295, allocations: 1.102 MB / 0.5964 GB, free: 8.043 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001275/0.6296, allocations: 40 kB / 0.5964 GB, free: 8.004 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.6296, allocations: 0 / 0.5964 GB, free: 8.004 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.867e-05/0.6297, allocations: 27.94 kB / 0.5964 GB, free: 7.977 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.6299, allocations: 19.94 kB / 0.5965 GB, free: 7.957 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005597/0.6305, allocations: 263.5 kB / 0.5967 GB, free: 7.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/0.6308, allocations: 0.7199 MB / 0.5974 GB, free: 6.914 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.834e-05/0.6309, allocations: 20.95 kB / 0.5974 GB, free: 6.895 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.558e-05/0.631, allocations: 35.42 kB / 0.5975 GB, free: 6.859 MB / 410.7 MB Notification: Performance of SimCode: time 1.132e-06/0.631, allocations: 4 kB / 0.5975 GB, free: 6.855 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01417/0.6451, allocations: 2.768 MB / 0.6002 GB, free: 4.168 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003419/0.6456, allocations: 189.9 kB / 0.6003 GB, free: 3.938 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.69/2.336, allocations: 0 / 0.6003 GB, free: 3.938 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat does not exist to compare? outputFormat=mat