Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.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.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test30",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.0009535/0.0009535, allocations: 98.47 kB / 17 MB, free: 6.402 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.001207/0.001207, allocations: 177.7 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.384/1.384, allocations: 223.3 MB / 241.9 MB, free: 320 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.2313/0.2313, allocations: 44.22 MB / 337.2 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002971/0.0002971, allocations: 8 kB / 409.7 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1319, allocations: 61.92 MB / 471.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.002069/0.134, allocations: 1.278 MB / 472.9 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006982/0.1347, allocations: 383.6 kB / 473.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.576e-05/0.1348, allocations: 0 / 473.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002242/0.135, allocations: 79.81 kB / 473.4 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001307/0.1352, allocations: 43.89 kB / 473.4 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000257/0.1354, allocations: 99.44 kB / 473.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001314/0.1356, allocations: 63.81 kB / 473.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.39e-05/0.1357, allocations: 20.17 kB / 473.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.72e-05/0.1357, allocations: 27.84 kB / 473.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.788e-05/0.1358, allocations: 43.89 kB / 473.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.1358, allocations: 0 / 473.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.052e-05/0.1359, allocations: 39.92 kB / 473.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.683e-05/0.136, allocations: 15.92 kB / 473.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.924e-05/0.136, allocations: 33.7 kB / 473.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001289/0.1361, allocations: 76.11 kB / 473.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1361, allocations: 0 / 473.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1361, allocations: 4 kB / 473.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.1362, allocations: 4 kB / 473.8 MB, free: 11.41 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.0004104/0.1366, allocations: 398.8 kB / 474.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.1366, allocations: 8.031 kB / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.94e-05/0.1367, allocations: 34.56 kB / 474.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.55e-05/0.1367, allocations: 11.89 kB / 474.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.1369, allocations: 186.9 kB / 474.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.225e-06/0.1369, allocations: 4 kB / 474.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.1369, allocations: 11.86 kB / 474.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.137, allocations: 57.67 kB / 474.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.1371, allocations: 0 / 474.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.1371, allocations: 7.922 kB / 474.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.1371, allocations: 0 / 474.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.268e-05/0.1372, allocations: 31.97 kB / 474.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004249/0.1376, allocations: 304.8 kB / 474.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.291e-05/0.1377, allocations: 46.5 kB / 474.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.799e-05/0.1378, allocations: 20.94 kB / 474.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.1378, allocations: 4 kB / 474.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.821e-05/0.1378, allocations: 34.56 kB / 475 MB, free: 10.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.1378, allocations: 0 / 475 MB, free: 10.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007986/0.1386, allocations: 269 kB / 475.2 MB, free: 9.824 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/0.1387, allocations: 55.41 kB / 475.3 MB, free: 9.758 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002093/0.1389, allocations: 210.2 kB / 475.5 MB, free: 9.543 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.1389, allocations: 25.7 kB / 475.5 MB, free: 9.512 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.57e-05/0.139, allocations: 108 kB / 475.6 MB, free: 9.402 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.65e-05/0.139, allocations: 27.64 kB / 475.7 MB, free: 9.375 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.549e-06/0.139, allocations: 0 / 475.7 MB, free: 9.375 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.1392, allocations: 330.8 kB / 476 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.829e-05/0.1392, allocations: 27.98 kB / 476 MB, free: 9.016 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.457e-05/0.1393, allocations: 39.97 kB / 476 MB, free: 8.977 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.504e-05/0.1394, allocations: 43.98 kB / 476.1 MB, free: 8.934 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1394, allocations: 0 / 476.1 MB, free: 8.934 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002138/0.1397, allocations: 121.5 kB / 476.2 MB, free: 8.809 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.1397, allocations: 4 kB / 476.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.1397, allocations: 0 / 476.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.357e-06/0.1397, allocations: 0 / 476.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.862e-05/0.1398, allocations: 19.98 kB / 476.2 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.1398, allocations: 0 / 476.2 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.001e-05/0.1399, allocations: 7.984 kB / 476.2 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.136e-06/0.1399, allocations: 8 kB / 476.2 MB, free: 8.77 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 9.297e-05/0.14, allocations: 134.3 kB / 476.4 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.921e-05/0.14, allocations: 7.906 kB / 476.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002721/0.1403, allocations: 138.6 kB / 476.5 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.1403, allocations: 4 kB / 476.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1403, allocations: 7.938 kB / 476.5 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.1403, allocations: 0 / 476.5 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005032/0.1408, allocations: 427.2 kB / 477 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1408, allocations: 0 / 477 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.493e-05/0.1409, allocations: 24.02 kB / 477 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.1409, allocations: 4 kB / 477 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.1409, allocations: 0 / 477 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1409, allocations: 3.938 kB / 477 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.1409, allocations: 3.953 kB / 477 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002769/0.1412, allocations: 224.2 kB / 477.2 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.402e-05/0.1413, allocations: 93.33 kB / 477.3 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.1413, allocations: 4 kB / 477.3 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.817e-05/0.1414, allocations: 8 kB / 477.3 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.855e-05/0.1414, allocations: 11.94 kB / 477.3 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.1414, allocations: 0 / 477.3 MB, free: 7.586 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001212/0.1416, allocations: 159.2 kB / 477.5 MB, free: 7.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1416, allocations: 0 / 477.5 MB, free: 7.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000242/0.1418, allocations: 20 kB / 477.5 MB, free: 7.41 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.001413/0.1432, allocations: 1.105 MB / 478.6 MB, free: 6.465 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002001/0.1435, allocations: 79.89 kB / 478.7 MB, free: 6.387 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1435, allocations: 4 kB / 478.7 MB, free: 6.383 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.912e-05/0.1436, allocations: 35.98 kB / 478.7 MB, free: 6.348 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.1439, allocations: 22.08 kB / 478.7 MB, free: 6.328 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/0.145, allocations: 0.7952 MB / 479.5 MB, free: 5.473 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/0.1453, allocations: 0.7079 MB / 480.2 MB, free: 4.738 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.351e-05/0.1454, allocations: 24.64 kB / 480.3 MB, free: 4.715 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.341e-05/0.1454, allocations: 31.42 kB / 480.3 MB, free: 4.684 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1454, allocations: 0 / 480.3 MB, free: 4.684 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01139/0.1568, allocations: 2.621 MB / 482.9 MB, free: 2.18 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001599/0.157, allocations: 221.2 kB / 483.1 MB, free: 1.945 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.821/1.978, allocations: 3.938 kB / 483.1 MB, free: 1.941 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test30_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat does not exist to compare? outputFormat=mat