Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31",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.0008319/0.0008317, allocations: 99.09 kB / 17 MB, free: 6.094 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.0008607/0.0008608, allocations: 179.2 kB / 17.89 MB, free: 5.676 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.365/1.365, allocations: 223.2 MB / 241.9 MB, free: 340 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.216/0.216, allocations: 44.23 MB / 337.2 MB, free: 2.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000316/0.000316, allocations: 9.188 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1308, allocations: 61.94 MB / 471.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.002289/0.1332, allocations: 1.267 MB / 472.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007955/0.134, allocations: 387.5 kB / 473.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.937e-05/0.1341, allocations: 0 / 473.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004864/0.1346, allocations: 123.8 kB / 473.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001894/0.1348, allocations: 75.83 kB / 473.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003019/0.1351, allocations: 95.81 kB / 473.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001868/0.1353, allocations: 71.8 kB / 473.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.1354, allocations: 16.19 kB / 473.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.583e-05/0.1355, allocations: 43.83 kB / 473.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/0.1357, allocations: 55.86 kB / 473.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.1357, allocations: 4 kB / 473.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.1358, allocations: 39.91 kB / 473.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.325e-05/0.1359, allocations: 23.92 kB / 473.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.501e-05/0.1359, allocations: 41.62 kB / 473.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001722/0.1361, allocations: 92.09 kB / 474 MB, free: 11.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.1361, allocations: 0 / 474 MB, free: 11.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.1361, allocations: 4 kB / 474 MB, free: 11.28 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.1361, allocations: 0 / 474 MB, free: 11.28 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005237/0.1366, allocations: 406.8 kB / 474.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.1367, allocations: 12.03 kB / 474.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.105e-05/0.1367, allocations: 30.56 kB / 474.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.122e-05/0.1368, allocations: 11.81 kB / 474.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002173/0.137, allocations: 206.7 kB / 474.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.288e-06/0.137, allocations: 0 / 474.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.492e-05/0.1371, allocations: 19.86 kB / 474.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.1372, allocations: 53.61 kB / 474.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.1372, allocations: 4 kB / 474.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.1373, allocations: 7.984 kB / 474.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.1373, allocations: 0 / 474.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.1374, allocations: 27.98 kB / 474.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004201/0.1378, allocations: 316.7 kB / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.1379, allocations: 42.56 kB / 475.1 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.045e-05/0.138, allocations: 20.94 kB / 475.1 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.138, allocations: 0 / 475.1 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.138, allocations: 38.56 kB / 475.2 MB, free: 9.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 7.51e-07/0.1381, allocations: 0 / 475.2 MB, free: 9.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009075/0.139, allocations: 268.9 kB / 475.4 MB, free: 9.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.139, allocations: 63.33 kB / 475.5 MB, free: 9.586 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002502/0.1393, allocations: 270.2 kB / 475.7 MB, free: 9.312 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.1393, allocations: 29.7 kB / 475.8 MB, free: 9.277 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.377e-05/0.1394, allocations: 112.1 kB / 475.9 MB, free: 9.164 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.117e-05/0.1394, allocations: 27.55 kB / 475.9 MB, free: 9.137 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.031e-06/0.1394, allocations: 4 kB / 475.9 MB, free: 9.133 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.1396, allocations: 326.8 kB / 476.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.32e-05/0.1396, allocations: 35.97 kB / 476.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.008e-05/0.1397, allocations: 40.05 kB / 476.3 MB, free: 8.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.624e-05/0.1398, allocations: 35.98 kB / 476.3 MB, free: 8.695 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1398, allocations: 0 / 476.3 MB, free: 8.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002067/0.14, allocations: 117.6 kB / 476.5 MB, free: 8.574 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.1401, allocations: 11.98 kB / 476.5 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1401, allocations: 0 / 476.5 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.1401, allocations: 0 / 476.5 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.822e-05/0.1402, allocations: 19.94 kB / 476.5 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.1402, allocations: 3.984 kB / 476.5 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.021e-05/0.1403, allocations: 4 kB / 476.5 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.1403, allocations: 4 kB / 476.5 MB, free: 8.531 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 (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 0.0001093/0.1404, allocations: 142.3 kB / 476.6 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.383e-05/0.1404, allocations: 11.81 kB / 476.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002799/0.1407, allocations: 143 kB / 476.8 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.1407, allocations: 8 kB / 476.8 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.1407, allocations: 4 kB / 476.8 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1408, allocations: 4.359 kB / 476.8 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005011/0.1413, allocations: 439.1 kB / 477.2 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1413, allocations: 32 / 477.2 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.853e-05/0.1413, allocations: 27.98 kB / 477.3 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.1414, allocations: 0 / 477.3 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.1414, allocations: 0 / 477.3 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.1414, allocations: 7.938 kB / 477.3 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.1414, allocations: 7.891 kB / 477.3 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000252/0.1416, allocations: 232.1 kB / 477.5 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.86e-05/0.1417, allocations: 85.02 kB / 477.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.1417, allocations: 0 / 477.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.364e-05/0.1418, allocations: 11.98 kB / 477.6 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.949e-05/0.1418, allocations: 7.953 kB / 477.6 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.1419, allocations: 4 kB / 477.6 MB, free: 7.312 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001611/0.142, allocations: 207.2 kB / 477.8 MB, free: 7.109 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.142, allocations: 0 / 477.8 MB, free: 7.109 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002886/0.1423, allocations: 24 kB / 477.8 MB, free: 7.086 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 (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 Backend phase and start with SimCode phase: time 0.001476/0.1438, allocations: 1.1 MB / 478.9 MB, free: 6.145 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002214/0.144, allocations: 83.95 kB / 479 MB, free: 6.062 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1441, allocations: 0 / 479 MB, free: 6.062 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.214e-05/0.1442, allocations: 43.92 kB / 479.1 MB, free: 6.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.1445, allocations: 20.23 kB / 479.1 MB, free: 6 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.1459, allocations: 0.9221 MB / 480 MB, free: 5.02 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/0.1462, allocations: 0.7199 MB / 480.7 MB, free: 4.273 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.036e-05/0.1463, allocations: 20.95 kB / 480.7 MB, free: 4.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.62e-05/0.1464, allocations: 39.42 kB / 480.8 MB, free: 4.215 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1464, allocations: 0 / 480.8 MB, free: 4.215 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01279/0.1592, allocations: 2.891 MB / 483.7 MB, free: 1.438 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001688/0.1594, allocations: 225.6 kB / 483.9 MB, free: 1.199 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.814/1.973, allocations: 3.938 kB / 483.9 MB, free: 1.195 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat does not exist to compare? outputFormat=mat