Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.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 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 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 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.CombiTable1D.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test4",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.0008083/0.0008083, allocations: 96.62 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009569/0.0009568, allocations: 169 kB / 16.57 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.426/1.426, allocations: 205.4 MB / 222.7 MB, free: 5.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3833/0.3833, allocations: 43.55 MB / 314.6 MB, free: 8.773 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006011/0.0006013, allocations: 19.98 kB / 384 MB, free: 7.926 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1269, allocations: 58.85 MB / 442.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test4): time 0.002025/0.129, allocations: 1.283 MB / 444.2 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006246/0.1296, allocations: 299.8 kB / 444.4 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.033e-05/0.1297, allocations: 4 kB / 444.5 MB, free: 11.37 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002941/0.13, allocations: 87.8 kB / 444.5 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001957/0.1302, allocations: 67.8 kB / 444.6 MB, free: 11.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003349/0.1306, allocations: 83.89 kB / 444.7 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001774/0.1307, allocations: 67.81 kB / 444.8 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.1309, allocations: 20.44 kB / 444.8 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.657e-05/0.131, allocations: 31.84 kB / 444.8 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000155/0.1311, allocations: 43.89 kB / 444.8 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.1312, allocations: 0 / 444.8 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.769e-05/0.1313, allocations: 31.92 kB / 444.9 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.21e-05/0.1313, allocations: 19.91 kB / 444.9 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.493e-05/0.1314, allocations: 41.64 kB / 444.9 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001854/0.1316, allocations: 79.77 kB / 445 MB, free: 10.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.1316, allocations: 0 / 445 MB, free: 10.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.1316, allocations: 0 / 445 MB, free: 10.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.1316, allocations: 4 kB / 445 MB, free: 10.8 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000661/0.1323, allocations: 398.9 kB / 445.4 MB, free: 10.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.755e-05/0.1324, allocations: 12.03 kB / 445.4 MB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.716e-05/0.1324, allocations: 34.55 kB / 445.5 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.096e-05/0.1325, allocations: 15.77 kB / 445.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003005/0.1328, allocations: 199.6 kB / 445.7 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.1328, allocations: 4 kB / 445.7 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.766e-05/0.1329, allocations: 7.938 kB / 445.7 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002189/0.1331, allocations: 83.38 kB / 445.8 MB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.1331, allocations: 0 / 445.8 MB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.1331, allocations: 0 / 445.8 MB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.1331, allocations: 0 / 445.8 MB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.1333, allocations: 47.86 kB / 445.8 MB, free: 9.902 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006658/0.134, allocations: 397 kB / 446.2 MB, free: 9.461 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004337/0.1344, allocations: 89.16 kB / 446.3 MB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.333e-05/0.1345, allocations: 33.8 kB / 446.3 MB, free: 9.316 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.349e-05/0.1345, allocations: 4 kB / 446.3 MB, free: 9.312 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.1346, allocations: 38.52 kB / 446.4 MB, free: 9.266 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.472e-06/0.1346, allocations: 0 / 446.4 MB, free: 9.266 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0009206/0.1355, allocations: 268.7 kB / 446.6 MB, free: 8.996 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.294e-05/0.1356, allocations: 81.05 kB / 446.7 MB, free: 8.898 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003029/0.1359, allocations: 234.3 kB / 446.9 MB, free: 8.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.351e-05/0.136, allocations: 29.7 kB / 447 MB, free: 8.625 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.683e-05/0.1361, allocations: 108 kB / 447.1 MB, free: 8.516 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.844e-05/0.1362, allocations: 31.55 kB / 447.1 MB, free: 8.484 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.533e-06/0.1362, allocations: 0 / 447.1 MB, free: 8.484 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.1364, allocations: 330.8 kB / 447.4 MB, free: 8.152 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.1365, allocations: 39.91 kB / 447.5 MB, free: 8.113 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.362e-05/0.1366, allocations: 49.7 kB / 447.5 MB, free: 8.059 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.723e-05/0.1367, allocations: 43.97 kB / 447.5 MB, free: 8.016 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1367, allocations: 0 / 447.5 MB, free: 8.016 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002505/0.137, allocations: 137.4 kB / 447.7 MB, free: 7.875 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.137, allocations: 4 kB / 447.7 MB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.137, allocations: 0 / 447.7 MB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.137, allocations: 4 kB / 447.7 MB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.129e-05/0.1371, allocations: 19.98 kB / 447.7 MB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.1371, allocations: 0 / 447.7 MB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.842e-05/0.1372, allocations: 11.98 kB / 447.7 MB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.1372, allocations: 12 kB / 447.7 MB, free: 7.824 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 10 * 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.0001209/0.1373, allocations: 133.8 kB / 447.9 MB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.434e-05/0.1374, allocations: 15.86 kB / 447.9 MB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003252/0.1377, allocations: 154.7 kB / 448 MB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.1377, allocations: 4.062 kB / 448 MB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.1377, allocations: 4 kB / 448 MB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/0.1377, allocations: 4 kB / 448 MB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006574/0.1384, allocations: 0.5147 MB / 448.6 MB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1384, allocations: 0 / 448.6 MB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.457e-05/0.1385, allocations: 19.98 kB / 448.6 MB, free: 6.898 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.1385, allocations: 4 kB / 448.6 MB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.1385, allocations: 0 / 448.6 MB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.1385, allocations: 4 kB / 448.6 MB, free: 6.891 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.1386, allocations: 3.938 kB / 448.6 MB, free: 6.887 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003507/0.1389, allocations: 323.5 kB / 448.9 MB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.408e-05/0.139, allocations: 89 kB / 449 MB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.204e-05/0.139, allocations: 4 kB / 449 MB, free: 6.441 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.1391, allocations: 8 kB / 449 MB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.283e-05/0.1392, allocations: 15.92 kB / 449 MB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.1392, allocations: 4 kB / 449 MB, free: 6.414 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000152/0.1393, allocations: 172.2 kB / 449.2 MB, free: 6.246 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1393, allocations: 0 / 449.2 MB, free: 6.246 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002845/0.1396, allocations: 20 kB / 449.2 MB, free: 6.227 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.001456/0.1411, allocations: 1.139 MB / 450.3 MB, free: 5.098 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002385/0.1414, allocations: 91.89 kB / 450.4 MB, free: 5.008 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.1414, allocations: 0 / 450.4 MB, free: 5.008 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000113/0.1415, allocations: 51.91 kB / 450.5 MB, free: 4.957 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004129/0.1419, allocations: 23.92 kB / 450.5 MB, free: 4.934 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/0.1434, allocations: 0.8628 MB / 451.4 MB, free: 4.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003604/0.1438, allocations: 0.7238 MB / 452.1 MB, free: 3.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.087e-05/0.1439, allocations: 20.41 kB / 452.1 MB, free: 3.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.141e-05/0.1439, allocations: 39.42 kB / 452.2 MB, free: 3.211 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1439, allocations: 0 / 452.2 MB, free: 3.211 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0141/0.1581, allocations: 2.693 MB / 454.8 MB, free: 0.5234 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002531/0.1584, allocations: 217.9 kB / 455.1 MB, free: 288 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.816/1.974, allocations: 4 kB / 455.1 MB, free: 284 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test4.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4_res.mat does not exist to compare? outputFormat=mat