Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",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.001407/0.001407, allocations: 169.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 221.5 MB / 230.7 MB, free: 7.586 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.001263/0.001263, allocations: 101.9 kB / 281.6 MB, free: 5.336 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.2129/0.2129, allocations: 44.15 MB / 376.5 MB, free: 3.062 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.779e-05/1.782e-05, allocations: 4.219 kB / 444.7 MB, free: 15.15 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1289, allocations: 61.93 MB / 0.4948 GB, free: 1.164 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3768/0.5058, allocations: 87.38 MB / 0.5801 GB, free: 9.094 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002252/0.5061, allocations: 75.95 kB / 0.5802 GB, free: 9.02 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009713/0.5158, allocations: 3.697 MB / 0.5838 GB, free: 5.336 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.5159, allocations: 0 / 0.5838 GB, free: 5.336 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.365e-06/0.5159, allocations: 0 / 0.5838 GB, free: 5.336 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.0003218/0.5162, allocations: 370.3 kB / 0.5841 GB, free: 4.93 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.5162, allocations: 11.98 kB / 0.5842 GB, free: 4.918 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.23e-05/0.5163, allocations: 11.91 kB / 0.5842 GB, free: 4.906 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/0.5165, allocations: 187 kB / 0.5843 GB, free: 4.684 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.855e-06/0.5165, allocations: 0 / 0.5843 GB, free: 4.684 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/0.5165, allocations: 0 / 0.5843 GB, free: 4.684 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.027e-05/0.5166, allocations: 19.94 kB / 0.5844 GB, free: 4.664 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.949e-05/0.5167, allocations: 55.41 kB / 0.5844 GB, free: 4.598 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.5167, allocations: 3.938 kB / 0.5844 GB, free: 4.594 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.5167, allocations: 0 / 0.5844 GB, free: 4.594 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.975e-06/0.5167, allocations: 0 / 0.5844 GB, free: 4.594 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003455/0.5171, allocations: 261.5 kB / 0.5847 GB, free: 4.301 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.731e-05/0.5171, allocations: 46.52 kB / 0.5847 GB, free: 4.246 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.383e-05/0.5172, allocations: 20.94 kB / 0.5847 GB, free: 4.223 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.573e-05/0.5172, allocations: 7.938 kB / 0.5847 GB, free: 4.215 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.5172, allocations: 38.5 kB / 0.5848 GB, free: 4.168 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.5172, allocations: 0 / 0.5848 GB, free: 4.168 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003653/0.5176, allocations: 129.3 kB / 0.5849 GB, free: 4.035 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.5177, allocations: 81.84 kB / 0.585 GB, free: 3.938 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.361e-05/0.5178, allocations: 121 kB / 0.5851 GB, free: 3.812 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.5178, allocations: 25.7 kB / 0.5851 GB, free: 3.781 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.721e-05/0.5178, allocations: 92.14 kB / 0.5852 GB, free: 3.688 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.936e-05/0.5179, allocations: 23.64 kB / 0.5852 GB, free: 3.664 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-06/0.5179, allocations: 4 kB / 0.5852 GB, free: 3.66 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.234e-05/0.518, allocations: 318.8 kB / 0.5855 GB, free: 3.34 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.127e-05/0.518, allocations: 19.98 kB / 0.5856 GB, free: 3.32 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.517e-05/0.518, allocations: 33.66 kB / 0.5856 GB, free: 3.281 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.079e-05/0.5181, allocations: 23.98 kB / 0.5856 GB, free: 3.258 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.5181, allocations: 0 / 0.5856 GB, free: 3.258 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001158/0.5182, allocations: 93.78 kB / 0.5857 GB, free: 3.16 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.5182, allocations: 4 kB / 0.5857 GB, free: 3.156 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.636e-06/0.5182, allocations: 0 / 0.5857 GB, free: 3.156 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.789e-06/0.5183, allocations: 0 / 0.5857 GB, free: 3.156 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.5184, allocations: 19.98 kB / 0.5857 GB, free: 3.137 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.5184, allocations: 0 / 0.5857 GB, free: 3.137 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.693e-05/0.5184, allocations: 11.94 kB / 0.5857 GB, free: 3.125 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.5185, allocations: 3.984 kB / 0.5857 GB, free: 3.121 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 () * 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 5.91e-05/0.5185, allocations: 109 kB / 0.5858 GB, free: 3.008 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001176/0.5186, allocations: 81.53 kB / 0.5859 GB, free: 2.922 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.751e-05/0.5187, allocations: 8.047 kB / 0.5859 GB, free: 2.914 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001449/0.5188, allocations: 94.2 kB / 0.586 GB, free: 2.82 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.5188, allocations: 4 kB / 0.586 GB, free: 2.816 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.5189, allocations: 0 / 0.586 GB, free: 2.816 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.5189, allocations: 0 / 0.586 GB, free: 2.816 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003243/0.5192, allocations: 351 kB / 0.5864 GB, free: 2.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.634e-06/0.5192, allocations: 0 / 0.5864 GB, free: 2.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.164e-05/0.5193, allocations: 19.92 kB / 0.5864 GB, free: 2.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.5193, allocations: 0 / 0.5864 GB, free: 2.41 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.5193, allocations: 4 kB / 0.5864 GB, free: 2.406 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.5193, allocations: 0 / 0.5864 GB, free: 2.406 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.5193, allocations: 3.938 kB / 0.5864 GB, free: 2.402 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.5195, allocations: 175.4 kB / 0.5866 GB, free: 2.215 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.812e-05/0.5195, allocations: 85.02 kB / 0.5866 GB, free: 2.113 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.5195, allocations: 0 / 0.5866 GB, free: 2.113 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.778e-05/0.5196, allocations: 7.984 kB / 0.5866 GB, free: 2.105 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.108e-05/0.5197, allocations: 8 kB / 0.5866 GB, free: 2.098 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.5197, allocations: 4 kB / 0.5867 GB, free: 2.094 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.662e-05/0.5197, allocations: 101.1 kB / 0.5867 GB, free: 1.996 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5197, allocations: 0 / 0.5867 GB, free: 1.996 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002634/0.52, allocations: 43.92 kB / 0.5868 GB, free: 1.953 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.001012/0.521, allocations: 0.9781 MB / 0.5877 GB, free: 1.027 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001067/0.5212, allocations: 47.92 kB / 0.5878 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.5212, allocations: 0 / 0.5878 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.735e-05/0.5212, allocations: 27.98 kB / 0.5878 GB, free: 0.9531 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001885/0.5214, allocations: 19.84 kB / 0.5878 GB, free: 0.9336 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003851/0.5218, allocations: 177.9 kB / 0.588 GB, free: 0.7227 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000193/0.522, allocations: 0.6924 MB / 0.5887 GB, free: 4 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.322e-05/0.5221, allocations: 24.33 kB / 0.5887 GB, free: 15.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.028e-05/0.5222, allocations: 23.36 kB / 0.5887 GB, free: 15.96 MB / 410.7 MB Notification: Performance of SimCode: time 2.91e-07/0.5222, allocations: 4 kB / 0.5887 GB, free: 15.95 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01804/0.5402, allocations: 2.196 MB / 0.5909 GB, free: 13.76 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001859/0.5404, allocations: 180.4 kB / 0.591 GB, free: 13.57 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.501/2.042, allocations: 0 / 0.591 GB, free: 13.57 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat does not exist to compare? outputFormat=mat