Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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 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.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_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.001077/0.001077, allocations: 97.39 kB / 16.98 MB, free: 5.941 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.001174/0.001174, allocations: 182.8 kB / 17.88 MB, free: 5.609 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.412/1.412, allocations: 223.2 MB / 241.8 MB, free: 384 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.2221/0.2221, allocations: 44.23 MB / 337.1 MB, free: 2.883 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004385/0.0004387, allocations: 12 kB / 409.6 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1317, allocations: 61.93 MB / 471.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.001749/0.1335, allocations: 1.302 MB / 472.8 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006816/0.1342, allocations: 375.6 kB / 473.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.291e-05/0.1342, allocations: 0 / 473.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002894/0.1345, allocations: 87.8 kB / 473.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001526/0.1347, allocations: 51.86 kB / 473.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002478/0.135, allocations: 95.7 kB / 473.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001602/0.1351, allocations: 55.86 kB / 473.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.1353, allocations: 15.98 kB / 473.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.836e-05/0.1353, allocations: 39.83 kB / 473.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.1355, allocations: 39.84 kB / 473.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.1355, allocations: 4 kB / 473.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.837e-05/0.1356, allocations: 31.94 kB / 473.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.731e-05/0.1356, allocations: 23.91 kB / 473.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.748e-05/0.1357, allocations: 41.62 kB / 473.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001334/0.1358, allocations: 88.14 kB / 473.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1358, allocations: 0 / 473.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1358, allocations: 0 / 473.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.1358, allocations: 0 / 473.8 MB, free: 11.39 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004505/0.1363, allocations: 406.8 kB / 474.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.1363, allocations: 12.03 kB / 474.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.513e-05/0.1364, allocations: 42.55 kB / 474.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.922e-05/0.1364, allocations: 7.906 kB / 474.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.1366, allocations: 206.7 kB / 474.4 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.1366, allocations: 4 kB / 474.4 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.439e-05/0.1367, allocations: 7.953 kB / 474.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.1368, allocations: 65.67 kB / 474.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.1369, allocations: 4 kB / 474.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.1369, allocations: 0 / 474.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1369, allocations: 0 / 474.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.137, allocations: 55.95 kB / 474.6 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003685/0.1374, allocations: 328.6 kB / 474.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.1375, allocations: 62.67 kB / 475 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.1375, allocations: 7.938 kB / 475 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.1376, allocations: 30.56 kB / 475 MB, free: 10 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.1376, allocations: 0 / 475 MB, free: 10 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009784/0.1386, allocations: 341 kB / 475.3 MB, free: 9.664 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.1386, allocations: 51.41 kB / 475.4 MB, free: 9.602 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002134/0.1388, allocations: 239.2 kB / 475.6 MB, free: 9.355 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.1388, allocations: 25.7 kB / 475.6 MB, free: 9.324 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.288e-05/0.1389, allocations: 116 kB / 475.7 MB, free: 9.207 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.784e-05/0.139, allocations: 47.36 kB / 475.8 MB, free: 9.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-06/0.139, allocations: 0 / 475.8 MB, free: 9.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.1391, allocations: 326.8 kB / 476.1 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.249e-05/0.1392, allocations: 39.98 kB / 476.2 MB, free: 8.793 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.384e-05/0.1393, allocations: 42.84 kB / 476.2 MB, free: 8.754 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.571e-05/0.1394, allocations: 43.98 kB / 476.2 MB, free: 8.711 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1394, allocations: 0 / 476.2 MB, free: 8.711 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002533/0.1397, allocations: 149.4 kB / 476.4 MB, free: 8.559 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.1397, allocations: 4 kB / 476.4 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.1397, allocations: 0 / 476.4 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.1398, allocations: 0 / 476.4 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.1399, allocations: 27.98 kB / 476.4 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.1399, allocations: 0 / 476.4 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.938e-05/0.14, allocations: 19.95 kB / 476.4 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.14, allocations: 3.984 kB / 476.4 MB, free: 8.504 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 (13): * Single equations (assignments): 13 * 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.0001203/0.1401, allocations: 134.3 kB / 476.6 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.167e-05/0.1401, allocations: 11.81 kB / 476.6 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003417/0.1405, allocations: 175.8 kB / 476.8 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.1405, allocations: 3.984 kB / 476.8 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.1405, allocations: 0 / 476.8 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.1405, allocations: 3.938 kB / 476.8 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005889/0.1411, allocations: 487.2 kB / 477.2 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1411, allocations: 3.938 kB / 477.2 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.573e-05/0.1412, allocations: 27.98 kB / 477.3 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.1412, allocations: 4 kB / 477.3 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.1412, allocations: 7.953 kB / 477.3 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.1413, allocations: 4 kB / 477.3 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1413, allocations: 0 / 477.3 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002836/0.1416, allocations: 263 kB / 477.5 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.791e-05/0.1416, allocations: 92.88 kB / 477.6 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.1416, allocations: 4 kB / 477.6 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.668e-05/0.1417, allocations: 15.98 kB / 477.7 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.904e-05/0.1418, allocations: 11.92 kB / 477.7 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.1418, allocations: 4 kB / 477.7 MB, free: 7.164 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001383/0.1419, allocations: 167.2 kB / 477.8 MB, free: 7 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1419, allocations: 0 / 477.8 MB, free: 7 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002548/0.1422, allocations: 31.98 kB / 477.9 MB, free: 6.969 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 13 * 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.00143/0.1436, allocations: 1.202 MB / 479.1 MB, free: 5.918 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002845/0.1439, allocations: 107.9 kB / 479.2 MB, free: 5.812 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.1439, allocations: 0 / 479.2 MB, free: 5.812 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.144, allocations: 55.91 kB / 479.2 MB, free: 5.758 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/0.1443, allocations: 19.98 kB / 479.2 MB, free: 5.738 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.1458, allocations: 0.8706 MB / 480.1 MB, free: 4.816 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003813/0.1462, allocations: 0.7199 MB / 480.8 MB, free: 4.07 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.592e-05/0.1462, allocations: 20.53 kB / 480.9 MB, free: 4.051 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.005e-05/0.1463, allocations: 43.42 kB / 480.9 MB, free: 4.008 MB / 350.1 MB Notification: Performance of SimCode: time 2.334e-06/0.1463, allocations: 0 / 480.9 MB, free: 4.008 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01267/0.159, allocations: 2.944 MB / 483.8 MB, free: 1.18 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001722/0.1592, allocations: 218.1 kB / 484.1 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.69/1.849, allocations: 3.938 kB / 484.1 MB, free: 0.9336 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat does not exist to compare? outputFormat=mat