Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40",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.0009777/0.0009778, allocations: 99.8 kB / 17 MB, free: 6.844 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.001177/0.001177, allocations: 186.3 kB / 17.89 MB, free: 6.078 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.375/1.375, allocations: 223.2 MB / 241.9 MB, free: 332 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.2364/0.2364, allocations: 44.22 MB / 337.2 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002996/0.0002996, allocations: 19.98 kB / 409.7 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1226, allocations: 61.91 MB / 471.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.002397/0.1251, allocations: 1.398 MB / 473.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001403/0.1265, allocations: 0.7959 MB / 473.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.602e-05/0.1266, allocations: 7.938 kB / 473.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003353/0.1269, allocations: 75.83 kB / 473.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001957/0.1272, allocations: 63.8 kB / 474 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002861/0.1275, allocations: 103.5 kB / 474.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001751/0.1276, allocations: 87.69 kB / 474.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.1277, allocations: 12.23 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.26e-05/0.1278, allocations: 47.77 kB / 474.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.128, allocations: 43.83 kB / 474.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.128, allocations: 0 / 474.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.428e-05/0.1281, allocations: 39.97 kB / 474.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.494e-05/0.1281, allocations: 15.92 kB / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.156e-05/0.1282, allocations: 41.64 kB / 474.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001504/0.1283, allocations: 88.08 kB / 474.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.1284, allocations: 0 / 474.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.1284, allocations: 7.938 kB / 474.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.1284, allocations: 0 / 474.5 MB, free: 10.79 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006116/0.129, allocations: 406.8 kB / 474.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.494e-05/0.1291, allocations: 12.03 kB / 474.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.067e-05/0.1291, allocations: 34.5 kB / 474.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.989e-05/0.1292, allocations: 11.91 kB / 474.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/0.1294, allocations: 198.9 kB / 475.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.1295, allocations: 0 / 475.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.1295, allocations: 11.95 kB / 475.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.1297, allocations: 57.67 kB / 475.2 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.1297, allocations: 7.844 kB / 475.2 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.1297, allocations: 3.984 kB / 475.2 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.1297, allocations: 4 kB / 475.2 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.818e-05/0.1298, allocations: 19.98 kB / 475.2 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004132/0.1302, allocations: 288.9 kB / 475.5 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/0.1304, allocations: 58.69 kB / 475.6 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.929e-05/0.1304, allocations: 24.78 kB / 475.6 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.1305, allocations: 0 / 475.6 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001708/0.1306, allocations: 63.39 kB / 475.6 MB, free: 9.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.1307, allocations: 0 / 475.6 MB, free: 9.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005304/0.1312, allocations: 181.1 kB / 475.8 MB, free: 9.246 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.1313, allocations: 55.41 kB / 475.9 MB, free: 9.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002888/0.1315, allocations: 215.2 kB / 476.1 MB, free: 8.957 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.1316, allocations: 29.7 kB / 476.1 MB, free: 8.922 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.1317, allocations: 100 kB / 476.2 MB, free: 8.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.745e-05/0.1317, allocations: 23.73 kB / 476.2 MB, free: 8.797 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.653e-06/0.1317, allocations: 8 kB / 476.2 MB, free: 8.789 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002469/0.132, allocations: 326.8 kB / 476.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.303e-05/0.1321, allocations: 23.98 kB / 476.6 MB, free: 8.438 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.1322, allocations: 37.7 kB / 476.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.266e-05/0.1323, allocations: 27.92 kB / 476.7 MB, free: 8.367 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1323, allocations: 0 / 476.7 MB, free: 8.367 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001774/0.1325, allocations: 97.56 kB / 476.7 MB, free: 8.266 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.1325, allocations: 7.984 kB / 476.8 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.1325, allocations: 4 kB / 476.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.1325, allocations: 4.031 kB / 476.8 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.843e-05/0.1326, allocations: 20.12 kB / 476.8 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.1326, allocations: 0 / 476.8 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.573e-05/0.1327, allocations: 11.88 kB / 476.8 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.1327, allocations: 7.984 kB / 476.8 MB, free: 8.211 MB / 350.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: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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.0001566/0.1329, allocations: 130.3 kB / 476.9 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.845e-05/0.1329, allocations: 11.81 kB / 476.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.317e-05/0.1329, allocations: 17.39 kB / 477 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1329, allocations: 8 kB / 477 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1329, allocations: 0 / 477 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.133, allocations: 0 / 477 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004707/0.1334, allocations: 395.3 kB / 477.4 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.1334, allocations: 4.359 kB / 477.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.006e-05/0.1335, allocations: 8 kB / 477.4 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1335, allocations: 0 / 477.4 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.1335, allocations: 8 kB / 477.4 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.1335, allocations: 7.969 kB / 477.4 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1335, allocations: 0 / 477.4 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002818/0.1338, allocations: 204.2 kB / 477.6 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.767e-05/0.1339, allocations: 89 kB / 477.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.1339, allocations: 4 kB / 477.7 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.669e-05/0.134, allocations: 4 kB / 477.7 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.932e-05/0.134, allocations: 11.98 kB / 477.7 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.134, allocations: 4 kB / 477.7 MB, free: 7.219 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001366/0.1342, allocations: 159.2 kB / 477.8 MB, free: 7.062 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1342, allocations: 0 / 477.8 MB, free: 7.062 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002568/0.1344, allocations: 27.98 kB / 477.9 MB, free: 7.035 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001633/0.1361, allocations: 1.101 MB / 479 MB, free: 6.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000283/0.1364, allocations: 55.91 kB / 479 MB, free: 6.035 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1364, allocations: 4.062 kB / 479 MB, free: 6.031 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.869e-05/0.1365, allocations: 32.14 kB / 479.1 MB, free: 6 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000361/0.1369, allocations: 27.97 kB / 479.1 MB, free: 5.973 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.1383, allocations: 0.7555 MB / 479.8 MB, free: 5.168 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004359/0.1388, allocations: 0.7043 MB / 480.6 MB, free: 4.438 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.99e-05/0.1388, allocations: 24.42 kB / 480.6 MB, free: 4.414 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.62e-05/0.1389, allocations: 35.42 kB / 480.6 MB, free: 4.379 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1389, allocations: 0 / 480.6 MB, free: 4.379 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01557/0.1545, allocations: 3.03 MB / 483.6 MB, free: 1.484 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002046/0.1548, allocations: 213.9 kB / 483.8 MB, free: 1.246 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.794/1.949, allocations: 4 kB / 483.9 MB, free: 1.242 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat does not exist to compare? outputFormat=mat