Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test28,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test28,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00159/0.00159, allocations: 185.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.981/1.981, allocations: 205.4 MB / 222.5 MB, free: 9.137 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002062/0.002061, allocations: 96.67 kB / 270.9 MB, free: 8.395 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5207/0.5207, allocations: 43.55 MB / 362.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005155/0.0005157, allocations: 16 kB / 431.5 MB, free: 6.098 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1303, allocations: 58.84 MB / 490.3 MB, free: 11.17 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4727/0.6032, allocations: 86.37 MB / 0.5632 GB, free: 336 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/0.6035, allocations: 79.95 kB / 0.5633 GB, free: 256 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.017/0.6205, allocations: 4.043 MB / 0.5672 GB, free: 12.25 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.6205, allocations: 0 / 0.5672 GB, free: 12.25 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.921e-05/0.6206, allocations: 4 kB / 0.5672 GB, free: 12.25 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000569/0.6212, allocations: 426.8 kB / 0.5676 GB, free: 11.79 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.6212, allocations: 12.03 kB / 0.5676 GB, free: 11.77 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.608e-05/0.6213, allocations: 35.44 kB / 0.5677 GB, free: 11.73 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.302e-05/0.6213, allocations: 11.34 kB / 0.5677 GB, free: 11.72 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003132/0.6217, allocations: 213.6 kB / 0.5679 GB, free: 11.48 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.6217, allocations: 0 / 0.5679 GB, free: 11.48 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.6217, allocations: 7.75 kB / 0.5679 GB, free: 11.47 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.6219, allocations: 53.67 kB / 0.5679 GB, free: 11.41 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.6219, allocations: 11.98 kB / 0.5679 GB, free: 11.4 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.622, allocations: 1.031 kB / 0.5679 GB, free: 11.4 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.622, allocations: 0 / 0.5679 GB, free: 11.4 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001474/0.6221, allocations: 23.98 kB / 0.568 GB, free: 11.38 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000487/0.6226, allocations: 296.8 kB / 0.5682 GB, free: 11.04 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000266/0.6229, allocations: 42.56 kB / 0.5683 GB, free: 10.99 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.178e-05/0.623, allocations: 7.984 kB / 0.5683 GB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.623, allocations: 30.56 kB / 0.5683 GB, free: 10.94 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.724e-06/0.623, allocations: 0 / 0.5683 GB, free: 10.94 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.000839/0.6239, allocations: 173.2 kB / 0.5685 GB, free: 10.77 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.304e-05/0.6239, allocations: 51.41 kB / 0.5685 GB, free: 10.7 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004007/0.6243, allocations: 217.7 kB / 0.5687 GB, free: 10.48 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.6244, allocations: 25.7 kB / 0.5688 GB, free: 10.45 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.6245, allocations: 174.5 kB / 0.5689 GB, free: 10.28 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.978e-05/0.6245, allocations: 19.8 kB / 0.569 GB, free: 10.26 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.671e-06/0.6245, allocations: 0 / 0.569 GB, free: 10.26 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.6247, allocations: 311.1 kB / 0.5693 GB, free: 9.945 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.6248, allocations: 23.92 kB / 0.5693 GB, free: 9.922 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.6249, allocations: 27.98 kB / 0.5693 GB, free: 9.895 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.6251, allocations: 23.98 kB / 0.5693 GB, free: 9.871 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.6251, allocations: 0 / 0.5693 GB, free: 9.871 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003031/0.6254, allocations: 77.67 kB / 0.5694 GB, free: 9.789 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.6254, allocations: 4 kB / 0.5694 GB, free: 9.785 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.6254, allocations: 4 kB / 0.5694 GB, free: 9.781 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.6255, allocations: 0 / 0.5694 GB, free: 9.781 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.6256, allocations: 15.98 kB / 0.5694 GB, free: 9.766 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.6256, allocations: 3.953 kB / 0.5694 GB, free: 9.762 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.783e-05/0.6257, allocations: 4 kB / 0.5694 GB, free: 9.758 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.6257, allocations: 4 kB / 0.5694 GB, free: 9.754 MB / 394.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 (5): * Single equations (assignments): 5 * 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.0001381/0.6259, allocations: 133.8 kB / 0.5696 GB, free: 9.613 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.071e-05/0.6259, allocations: 15.81 kB / 0.5696 GB, free: 9.598 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003785/0.6263, allocations: 110.6 kB / 0.5697 GB, free: 9.484 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.6263, allocations: 0 / 0.5697 GB, free: 9.484 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.6264, allocations: 0 / 0.5697 GB, free: 9.484 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.6264, allocations: 3.953 kB / 0.5697 GB, free: 9.48 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007002/0.6271, allocations: 386.8 kB / 0.5701 GB, free: 9.047 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.6271, allocations: 64 / 0.5701 GB, free: 9.047 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.6272, allocations: 19.98 kB / 0.5701 GB, free: 9.027 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/0.6272, allocations: 0.75 kB / 0.5701 GB, free: 9.027 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.6272, allocations: 0 / 0.5701 GB, free: 9.027 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.6273, allocations: 7.953 kB / 0.5701 GB, free: 9.02 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.6273, allocations: 0 / 0.5701 GB, free: 9.02 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003665/0.6276, allocations: 187.3 kB / 0.5703 GB, free: 8.82 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.452e-05/0.6278, allocations: 101 kB / 0.5704 GB, free: 8.703 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.6278, allocations: 7.938 kB / 0.5704 GB, free: 8.695 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.6279, allocations: 7.984 kB / 0.5704 GB, free: 8.688 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.592e-05/0.628, allocations: 11.89 kB / 0.5704 GB, free: 8.676 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.628, allocations: 0 / 0.5704 GB, free: 8.676 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002772/0.6283, allocations: 184.3 kB / 0.5706 GB, free: 8.496 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.6283, allocations: 3.938 kB / 0.5706 GB, free: 8.492 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003312/0.6286, allocations: 23.98 kB / 0.5706 GB, free: 8.469 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0017/0.6303, allocations: 1.025 MB / 0.5716 GB, free: 7.516 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003052/0.6307, allocations: 59.91 kB / 0.5716 GB, free: 7.457 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.6307, allocations: 0 / 0.5716 GB, free: 7.457 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001298/0.6308, allocations: 27.98 kB / 0.5717 GB, free: 7.43 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.6311, allocations: 20.06 kB / 0.5717 GB, free: 7.406 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001868/0.633, allocations: 0.8044 MB / 0.5725 GB, free: 6.559 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003593/0.6334, allocations: 0.7122 MB / 0.5732 GB, free: 5.82 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.6335, allocations: 35.36 kB / 0.5732 GB, free: 5.785 MB / 394.7 MB Notification: Performance of SimCode: time 1.523e-06/0.6335, allocations: 0 / 0.5732 GB, free: 5.785 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.619/3.253, allocations: 2.26 MB / 0.5754 GB, free: 3.523 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test28_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test28.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat does not exist to compare? outputFormat=mat