Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008272/0.0008272, allocations: 96.78 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007912/0.0007913, allocations: 189.2 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 223.2 MB / 241.9 MB, free: 356 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2092/0.2092, allocations: 44.23 MB / 337.2 MB, free: 2.809 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003094/0.0003094, allocations: 8 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1311, allocations: 61.93 MB / 471.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.001768/0.1329, allocations: 1.262 MB / 472.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.1342, allocations: 0.9532 MB / 473.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.855e-05/0.1342, allocations: 8 kB / 473.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001931/0.1344, allocations: 15.91 kB / 473.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000142/0.1346, allocations: 35.91 kB / 473.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002518/0.1349, allocations: 95.44 kB / 474 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001096/0.135, allocations: 51.84 kB / 474.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.179e-05/0.1351, allocations: 7.984 kB / 474.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.711e-05/0.1351, allocations: 23.88 kB / 474.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.1352, allocations: 23.91 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.1353, allocations: 0 / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.023e-05/0.1354, allocations: 39.98 kB / 474.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.729e-05/0.1354, allocations: 15.91 kB / 474.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.688e-05/0.1354, allocations: 33.64 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001251/0.1356, allocations: 72.12 kB / 474.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1356, allocations: 0 / 474.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1356, allocations: 0 / 474.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.1356, allocations: 0 / 474.3 MB, free: 10.98 MB / 350.1 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.0004695/0.1361, allocations: 371.1 kB / 474.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.1361, allocations: 12.03 kB / 474.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.207e-05/0.1362, allocations: 30.56 kB / 474.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.783e-05/0.1362, allocations: 8 kB / 474.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001763/0.1364, allocations: 186.9 kB / 474.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.394e-06/0.1364, allocations: 4 kB / 474.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.1364, allocations: 3.953 kB / 474.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.1366, allocations: 71.34 kB / 475 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.1366, allocations: 0 / 475 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.1366, allocations: 0 / 475 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.1366, allocations: 4 kB / 475 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.896e-05/0.1367, allocations: 27.97 kB / 475 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003647/0.1371, allocations: 280.9 kB / 475.3 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001851/0.1373, allocations: 46.5 kB / 475.3 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.394e-05/0.1373, allocations: 20.94 kB / 475.3 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.1374, allocations: 0 / 475.3 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.1374, allocations: 34.56 kB / 475.4 MB, free: 9.723 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 7.82e-07/0.1374, allocations: 4 kB / 475.4 MB, free: 9.719 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005311/0.1379, allocations: 169.4 kB / 475.5 MB, free: 9.547 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.138, allocations: 77.11 kB / 475.6 MB, free: 9.453 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.1381, allocations: 141.8 kB / 475.7 MB, free: 9.305 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.1382, allocations: 25.7 kB / 475.8 MB, free: 9.273 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.757e-05/0.1382, allocations: 92.08 kB / 475.9 MB, free: 9.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.115e-05/0.1382, allocations: 19.73 kB / 475.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/0.1382, allocations: 0 / 475.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.867e-05/0.1383, allocations: 322.8 kB / 476.2 MB, free: 8.836 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.266e-05/0.1384, allocations: 27.98 kB / 476.2 MB, free: 8.809 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.136e-05/0.1385, allocations: 37.69 kB / 476.3 MB, free: 8.766 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.236e-05/0.1386, allocations: 27.98 kB / 476.3 MB, free: 8.738 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1386, allocations: 4.031 kB / 476.3 MB, free: 8.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001751/0.1388, allocations: 89.77 kB / 476.4 MB, free: 8.641 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.1388, allocations: 8 kB / 476.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.1388, allocations: 4 kB / 476.4 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.1388, allocations: 3.984 kB / 476.4 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.119e-05/0.1389, allocations: 16 kB / 476.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.1389, allocations: 4 kB / 476.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.342e-05/0.139, allocations: 7.984 kB / 476.4 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.139, allocations: 7.938 kB / 476.4 MB, free: 8.59 MB / 350.1 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 7.799e-05/0.1391, allocations: 118.3 kB / 476.5 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.779e-05/0.1391, allocations: 3.906 kB / 476.5 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002397/0.1393, allocations: 113.5 kB / 476.7 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1393, allocations: 0 / 476.7 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.1394, allocations: 0 / 476.7 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1394, allocations: 0 / 476.7 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004209/0.1398, allocations: 362.5 kB / 477 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1398, allocations: 0 / 477 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.339e-05/0.1399, allocations: 19.92 kB / 477 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.706e-06/0.1399, allocations: 0 / 477 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.1399, allocations: 0 / 477 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.1399, allocations: 0 / 477 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1399, allocations: 0 / 477 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002407/0.1401, allocations: 199.4 kB / 477.2 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.039e-05/0.1402, allocations: 81.02 kB / 477.3 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.1402, allocations: 0 / 477.3 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.183e-05/0.1403, allocations: 12.17 kB / 477.3 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.509e-05/0.1403, allocations: 0 / 477.3 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.1404, allocations: 16 kB / 477.3 MB, free: 7.578 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.31e-05/0.1404, allocations: 103.2 kB / 477.4 MB, free: 7.477 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.647e-06/0.1404, allocations: 0 / 477.4 MB, free: 7.477 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000263/0.1407, allocations: 19.94 kB / 477.4 MB, free: 7.457 MB / 350.1 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.001479/0.1422, allocations: 1.067 MB / 478.5 MB, free: 6.539 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002166/0.1424, allocations: 59.97 kB / 478.6 MB, free: 6.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.1424, allocations: 0 / 478.6 MB, free: 6.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.439e-05/0.1425, allocations: 39.91 kB / 478.6 MB, free: 6.441 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.1429, allocations: 11.98 kB / 478.6 MB, free: 6.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009858/0.1439, allocations: 0.5591 MB / 479.2 MB, free: 5.824 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002219/0.1441, allocations: 0.6887 MB / 479.9 MB, free: 5.109 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.846e-05/0.1442, allocations: 15.98 kB / 479.9 MB, free: 5.094 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.334e-05/0.1442, allocations: 23.42 kB / 479.9 MB, free: 5.07 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.1442, allocations: 0 / 479.9 MB, free: 5.07 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01733/0.1616, allocations: 2.31 MB / 482.2 MB, free: 2.887 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002784/0.1619, allocations: 216.2 kB / 482.4 MB, free: 2.652 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.855/2.017, allocations: 3.938 kB / 482.4 MB, free: 2.648 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test23_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat does not exist to compare? outputFormat=mat