Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.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.Test26,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test26,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test26",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.002739/0.002747, allocations: 187.6 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.289/2.289, allocations: 205.4 MB / 222.5 MB, free: 13.77 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.001194/0.001194, allocations: 90.8 kB / 270.9 MB, free: 13.29 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4768/0.4768, allocations: 43.56 MB / 362.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005239/0.0005243, allocations: 12 kB / 431.5 MB, free: 20.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1276, allocations: 58.86 MB / 490.3 MB, free: 9.227 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test26): time 0.002552/0.1302, allocations: 1.252 MB / 491.6 MB, free: 7.957 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008038/0.131, allocations: 287.8 kB / 491.9 MB, free: 7.672 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.43e-05/0.1311, allocations: 0 / 491.9 MB, free: 7.672 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003079/0.1314, allocations: 71.78 kB / 491.9 MB, free: 7.602 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002066/0.1317, allocations: 47.92 kB / 492 MB, free: 7.555 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003261/0.132, allocations: 55.81 kB / 492 MB, free: 7.5 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002148/0.1322, allocations: 51.86 kB / 492.1 MB, free: 7.449 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.1324, allocations: 8 kB / 492.1 MB, free: 7.441 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.335e-05/0.1324, allocations: 35.89 kB / 492.1 MB, free: 7.406 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.1326, allocations: 35.84 kB / 492.2 MB, free: 7.371 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.1326, allocations: 0 / 492.2 MB, free: 7.371 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.1327, allocations: 16 kB / 492.2 MB, free: 7.355 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.968e-05/0.1328, allocations: 23.91 kB / 492.2 MB, free: 7.332 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.85e-05/0.1328, allocations: 37.64 kB / 492.2 MB, free: 7.289 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001699/0.133, allocations: 68.12 kB / 492.3 MB, free: 7.223 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.133, allocations: 0 / 492.3 MB, free: 7.223 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.133, allocations: 0 / 492.3 MB, free: 7.223 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.498e-06/0.1331, allocations: 0 / 492.3 MB, free: 7.223 MB / 330.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.0005954/0.1337, allocations: 383 kB / 492.7 MB, free: 6.801 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/0.1337, allocations: 8.031 kB / 492.7 MB, free: 6.793 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.836e-05/0.1338, allocations: 38.5 kB / 492.7 MB, free: 6.746 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.123e-05/0.1338, allocations: 11.86 kB / 492.7 MB, free: 6.734 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/0.1341, allocations: 190.9 kB / 492.9 MB, free: 6.508 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.1341, allocations: 4 kB / 492.9 MB, free: 6.504 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.947e-05/0.1342, allocations: 0 / 492.9 MB, free: 6.504 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.1344, allocations: 49.69 kB / 493 MB, free: 6.449 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.1344, allocations: 3.984 kB / 493 MB, free: 6.445 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.1344, allocations: 4 kB / 493 MB, free: 6.441 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.1344, allocations: 0 / 493 MB, free: 6.441 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001532/0.1346, allocations: 23.98 kB / 493 MB, free: 6.418 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004876/0.1351, allocations: 284.8 kB / 493.3 MB, free: 6.09 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002825/0.1354, allocations: 46.56 kB / 493.3 MB, free: 6.035 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.051e-05/0.1354, allocations: 0 / 493.3 MB, free: 6.035 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.1355, allocations: 30.56 kB / 493.4 MB, free: 5.996 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.763e-06/0.1355, allocations: 0 / 493.4 MB, free: 5.996 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008798/0.1364, allocations: 165.3 kB / 493.5 MB, free: 5.828 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/0.1365, allocations: 51.41 kB / 493.6 MB, free: 5.766 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002958/0.1368, allocations: 214.1 kB / 493.8 MB, free: 5.547 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.1368, allocations: 29.7 kB / 493.8 MB, free: 5.512 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.1369, allocations: 170.5 kB / 494 MB, free: 5.344 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.704e-05/0.137, allocations: 7.812 kB / 494 MB, free: 5.336 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.391e-06/0.137, allocations: 0 / 494 MB, free: 5.336 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.1371, allocations: 318.8 kB / 494.3 MB, free: 5.016 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/0.1373, allocations: 19.92 kB / 494.3 MB, free: 4.996 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.1374, allocations: 27.98 kB / 494.3 MB, free: 4.969 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001248/0.1375, allocations: 19.98 kB / 494.4 MB, free: 4.949 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.1375, allocations: 4 kB / 494.4 MB, free: 4.945 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003348/0.1379, allocations: 81.91 kB / 494.4 MB, free: 4.859 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.1379, allocations: 12 kB / 494.5 MB, free: 4.848 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.1379, allocations: 4 kB / 494.5 MB, free: 4.844 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.138, allocations: 3.953 kB / 494.5 MB, free: 4.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.1381, allocations: 15.94 kB / 494.5 MB, free: 4.824 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.1381, allocations: 0 / 494.5 MB, free: 4.824 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.207e-05/0.1382, allocations: 7.984 kB / 494.5 MB, free: 4.816 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.1382, allocations: 4 kB / 494.5 MB, free: 4.812 MB / 330.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.000144/0.1384, allocations: 133.8 kB / 494.6 MB, free: 4.672 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.282e-05/0.1385, allocations: 7.906 kB / 494.6 MB, free: 4.664 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000387/0.1389, allocations: 105.9 kB / 494.7 MB, free: 4.559 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.1389, allocations: 0 / 494.7 MB, free: 4.559 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.1389, allocations: 3.953 kB / 494.7 MB, free: 4.555 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.1389, allocations: 4 kB / 494.7 MB, free: 4.551 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006941/0.1396, allocations: 362.7 kB / 495.1 MB, free: 4.141 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.1396, allocations: 0 / 495.1 MB, free: 4.141 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.1398, allocations: 12 kB / 495.1 MB, free: 4.129 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.1398, allocations: 0 / 495.1 MB, free: 4.129 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.1398, allocations: 11.95 kB / 495.1 MB, free: 4.117 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.1398, allocations: 0 / 495.1 MB, free: 4.117 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.1398, allocations: 3.984 kB / 495.1 MB, free: 4.113 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003868/0.1402, allocations: 187.4 kB / 495.3 MB, free: 3.914 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.293e-05/0.1403, allocations: 85.02 kB / 495.4 MB, free: 3.812 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/0.1403, allocations: 8.188 kB / 495.4 MB, free: 3.805 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.1405, allocations: 15.94 kB / 495.4 MB, free: 3.789 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.049e-05/0.1405, allocations: 3.938 kB / 495.4 MB, free: 3.785 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.076e-06/0.1405, allocations: 4 kB / 495.4 MB, free: 3.781 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002012/0.1407, allocations: 159.2 kB / 495.6 MB, free: 3.625 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.1408, allocations: 0 / 495.6 MB, free: 3.625 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003458/0.1411, allocations: 16 kB / 495.6 MB, free: 3.609 MB / 330.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.001849/0.143, allocations: 1.011 MB / 496.6 MB, free: 2.625 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000379/0.1434, allocations: 63.91 kB / 496.7 MB, free: 2.562 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.1434, allocations: 0 / 496.7 MB, free: 2.562 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.1436, allocations: 27.98 kB / 496.7 MB, free: 2.535 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.1439, allocations: 15.94 kB / 496.7 MB, free: 2.52 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001755/0.1457, allocations: 0.7001 MB / 497.4 MB, free: 1.762 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000373/0.1461, allocations: 0.7004 MB / 498.1 MB, free: 1.035 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.025e-05/0.1462, allocations: 31.42 kB / 498.1 MB, free: 1.008 MB / 330.7 MB Notification: Performance of SimCode: time 1.142e-06/0.1463, allocations: 0 / 498.1 MB, free: 1.008 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.649/2.795, allocations: 2.003 MB / 0.4884 GB, free: 15.01 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test26_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test26.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26_res.mat does not exist to compare? outputFormat=mat