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.00106/0.00106, allocations: 98.12 kB / 16.99 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.001131/0.001131, allocations: 179.4 kB / 17.88 MB, free: 5.613 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.461/1.461, allocations: 223.2 MB / 241.8 MB, free: 14.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2009/0.2009, allocations: 44.23 MB / 337.1 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003986/0.0003986, allocations: 17.09 kB / 409.6 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1305, allocations: 61.92 MB / 471.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.002344/0.1329, allocations: 1.275 MB / 472.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007956/0.1337, allocations: 367.6 kB / 473.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000115/0.1339, allocations: 4 kB / 473.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003885/0.1343, allocations: 79.77 kB / 473.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002646/0.1346, allocations: 51.86 kB / 473.3 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000386/0.135, allocations: 94.88 kB / 473.4 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001919/0.1352, allocations: 47.89 kB / 473.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.1353, allocations: 16.17 kB / 473.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.527e-05/0.1354, allocations: 27.91 kB / 473.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.1355, allocations: 47.81 kB / 473.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.1355, allocations: 0 / 473.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.1357, allocations: 27.94 kB / 473.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.619e-05/0.1357, allocations: 15.98 kB / 473.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.956e-05/0.1358, allocations: 37.64 kB / 473.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001516/0.1359, allocations: 72.16 kB / 473.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.1359, allocations: 0 / 473.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1359, allocations: 3.938 kB / 473.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.1359, allocations: 4 kB / 473.7 MB, free: 11.46 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.000474/0.1364, allocations: 394.9 kB / 474.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.1365, allocations: 11.97 kB / 474.1 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.722e-05/0.1365, allocations: 34.56 kB / 474.1 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.319e-05/0.1366, allocations: 11.89 kB / 474.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.1368, allocations: 186.9 kB / 474.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.1368, allocations: 4 kB / 474.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/0.1368, allocations: 7.859 kB / 474.3 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.137, allocations: 61.67 kB / 474.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.137, allocations: 0 / 474.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.137, allocations: 0 / 474.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.137, allocations: 3.938 kB / 474.4 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.1372, allocations: 31.97 kB / 474.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004367/0.1376, allocations: 304.8 kB / 474.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.1377, allocations: 46.5 kB / 474.8 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.1377, allocations: 0 / 474.8 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.1378, allocations: 38.64 kB / 474.8 MB, free: 10.17 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.1378, allocations: 4 kB / 474.8 MB, free: 10.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009008/0.1387, allocations: 261 kB / 475.1 MB, free: 9.906 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/0.1387, allocations: 51.41 kB / 475.1 MB, free: 9.844 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.1389, allocations: 214.1 kB / 475.3 MB, free: 9.625 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.139, allocations: 25.7 kB / 475.4 MB, free: 9.594 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.544e-05/0.1391, allocations: 104 kB / 475.5 MB, free: 9.488 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.074e-05/0.1391, allocations: 35.7 kB / 475.5 MB, free: 9.453 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-06/0.1391, allocations: 0 / 475.5 MB, free: 9.453 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.1393, allocations: 326.8 kB / 475.8 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.423e-05/0.1393, allocations: 31.98 kB / 475.8 MB, free: 9.094 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.359e-05/0.1394, allocations: 31.97 kB / 475.9 MB, free: 9.062 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.683e-05/0.1395, allocations: 40.22 kB / 475.9 MB, free: 9.023 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1395, allocations: 4 kB / 475.9 MB, free: 9.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002258/0.1398, allocations: 121.4 kB / 476 MB, free: 8.895 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.1398, allocations: 6.188 kB / 476 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.1398, allocations: 0 / 476 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.1398, allocations: 7.938 kB / 476 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.695e-05/0.1399, allocations: 23.98 kB / 476.1 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.1399, allocations: 4 kB / 476.1 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.375e-05/0.14, allocations: 7.984 kB / 476.1 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.14, allocations: 0 / 476.1 MB, free: 8.848 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.0001061/0.1401, allocations: 134.3 kB / 476.2 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.892e-05/0.1401, allocations: 7.906 kB / 476.2 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002918/0.1404, allocations: 138.3 kB / 476.4 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.1405, allocations: 3.938 kB / 476.4 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.1405, allocations: 4 kB / 476.4 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1405, allocations: 0 / 476.4 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005557/0.141, allocations: 435.2 kB / 476.8 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.141, allocations: 0 / 476.8 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.755e-05/0.1411, allocations: 19.98 kB / 476.8 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.1411, allocations: 0 / 476.8 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.1411, allocations: 0 / 476.8 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.1411, allocations: 8.031 kB / 476.8 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.1412, allocations: 3.938 kB / 476.8 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002625/0.1414, allocations: 237.9 kB / 477.1 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.473e-05/0.1415, allocations: 88.91 kB / 477.1 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.1415, allocations: 4 kB / 477.1 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.364e-05/0.1416, allocations: 8 kB / 477.2 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.776e-05/0.1416, allocations: 11.94 kB / 477.2 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.092e-06/0.1416, allocations: 4 kB / 477.2 MB, free: 7.645 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000121/0.1418, allocations: 151.2 kB / 477.3 MB, free: 7.496 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1418, allocations: 4 kB / 477.3 MB, free: 7.492 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002535/0.142, allocations: 23.98 kB / 477.3 MB, free: 7.469 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.001464/0.1435, allocations: 1.184 MB / 478.5 MB, free: 6.441 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000238/0.1438, allocations: 83.89 kB / 478.6 MB, free: 6.359 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1438, allocations: 0 / 478.6 MB, free: 6.359 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.1439, allocations: 43.97 kB / 478.7 MB, free: 6.316 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.1442, allocations: 19.95 kB / 478.7 MB, free: 6.297 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.1454, allocations: 0.7716 MB / 479.4 MB, free: 5.465 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.1457, allocations: 0.7118 MB / 480.2 MB, free: 4.727 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.499e-05/0.1458, allocations: 24.95 kB / 480.2 MB, free: 4.703 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.838e-05/0.1458, allocations: 35.42 kB / 480.2 MB, free: 4.668 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1458, allocations: 0 / 480.2 MB, free: 4.668 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01239/0.1582, allocations: 2.608 MB / 482.8 MB, free: 2.172 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000235/0.1585, allocations: 210.4 kB / 483 MB, free: 1.938 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.738/1.896, allocations: 0 / 483 MB, free: 1.938 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