Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8",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.0009005/0.0009002, allocations: 95.5 kB / 17 MB, free: 6.418 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.0009595/0.0009596, allocations: 189.4 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.38/1.38, allocations: 223.3 MB / 241.9 MB, free: 264 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.2054/0.2054, allocations: 44.22 MB / 337.2 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000357/0.0003571, allocations: 12 kB / 409.7 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1271, allocations: 61.92 MB / 471.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.002542/0.1297, allocations: 1.418 MB / 473.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001351/0.1311, allocations: 0.8036 MB / 473.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.751e-05/0.1312, allocations: 0 / 473.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003858/0.1316, allocations: 103.7 kB / 474 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002435/0.1318, allocations: 75.72 kB / 474 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003779/0.1322, allocations: 99.45 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002165/0.1324, allocations: 107.7 kB / 474.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.1326, allocations: 11.98 kB / 474.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.1327, allocations: 55.77 kB / 474.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.1328, allocations: 55.81 kB / 474.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.1328, allocations: 0 / 474.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.133, allocations: 51.98 kB / 474.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.906e-05/0.1331, allocations: 31.84 kB / 474.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.837e-05/0.1331, allocations: 45.62 kB / 474.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000199/0.1333, allocations: 108 kB / 474.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1333, allocations: 0 / 474.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1333, allocations: 0 / 474.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.1333, allocations: 0 / 474.6 MB, free: 10.66 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005953/0.1339, allocations: 430.7 kB / 475 MB, free: 10.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.134, allocations: 8.031 kB / 475 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.354e-05/0.134, allocations: 42.55 kB / 475.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.969e-05/0.1341, allocations: 15.81 kB / 475.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002634/0.1344, allocations: 214.7 kB / 475.3 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.1344, allocations: 0 / 475.3 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/0.1344, allocations: 7.953 kB / 475.3 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.1346, allocations: 65.66 kB / 475.4 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.1346, allocations: 0 / 475.4 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.1346, allocations: 4 kB / 475.4 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.1346, allocations: 0 / 475.4 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.357e-05/0.1347, allocations: 35.91 kB / 475.4 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004315/0.1352, allocations: 324.7 kB / 475.7 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002771/0.1355, allocations: 70.64 kB / 475.8 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.493e-05/0.1355, allocations: 28.78 kB / 475.8 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.724e-05/0.1356, allocations: 0 / 475.8 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002002/0.1358, allocations: 79.39 kB / 475.9 MB, free: 9.184 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.583e-06/0.1358, allocations: 0 / 475.9 MB, free: 9.184 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008228/0.1366, allocations: 277.4 kB / 476.2 MB, free: 8.906 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.1367, allocations: 51.41 kB / 476.2 MB, free: 8.844 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002474/0.1369, allocations: 250.5 kB / 476.5 MB, free: 8.586 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.137, allocations: 25.7 kB / 476.5 MB, free: 8.555 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.948e-05/0.137, allocations: 116.1 kB / 476.6 MB, free: 8.438 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.33e-05/0.1371, allocations: 39.45 kB / 476.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.625e-05/0.1371, allocations: 4 kB / 476.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.1373, allocations: 334.8 kB / 477 MB, free: 8.059 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.974e-05/0.1373, allocations: 31.98 kB / 477 MB, free: 8.027 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.049e-05/0.1374, allocations: 53.64 kB / 477.1 MB, free: 7.969 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.849e-05/0.1375, allocations: 36 kB / 477.1 MB, free: 7.934 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.1375, allocations: 4 kB / 477.1 MB, free: 7.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002395/0.1378, allocations: 145.5 kB / 477.2 MB, free: 7.781 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.1378, allocations: 4 kB / 477.2 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.1378, allocations: 0 / 477.2 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.1378, allocations: 7.938 kB / 477.3 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.627e-05/0.1379, allocations: 23.98 kB / 477.3 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.116e-06/0.1379, allocations: 4 kB / 477.3 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.308e-05/0.138, allocations: 0 / 477.3 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.138, allocations: 7.984 kB / 477.3 MB, free: 7.734 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 (14): * Single equations (assignments): 14 * 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.000123/0.1381, allocations: 150.3 kB / 477.4 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/0.1381, allocations: 15.81 kB / 477.4 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.231e-05/0.1382, allocations: 17.41 kB / 477.5 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.1382, allocations: 3.938 kB / 477.5 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.1382, allocations: 0 / 477.5 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.1382, allocations: 7.984 kB / 477.5 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007983/0.139, allocations: 472.1 kB / 477.9 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.1391, allocations: 0 / 477.9 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.066e-05/0.1391, allocations: 19.92 kB / 478 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.1391, allocations: 4 kB / 478 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.1391, allocations: 0 / 478 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.1392, allocations: 4 kB / 478 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.1392, allocations: 3.953 kB / 478 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002843/0.1394, allocations: 249 kB / 478.2 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.889e-05/0.1395, allocations: 97 kB / 478.3 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.935e-05/0.1396, allocations: 7.938 kB / 478.3 MB, free: 6.594 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.325e-05/0.1396, allocations: 4 kB / 478.3 MB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.511e-05/0.1397, allocations: 19.92 kB / 478.3 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.911e-05/0.1397, allocations: 4 kB / 478.3 MB, free: 6.566 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001619/0.1399, allocations: 191 kB / 478.5 MB, free: 6.379 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1399, allocations: 0 / 478.5 MB, free: 6.379 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000486/0.1404, allocations: 27.98 kB / 478.6 MB, free: 6.352 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.00181/0.1422, allocations: 1.183 MB / 479.7 MB, free: 5.348 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003092/0.1425, allocations: 91.84 kB / 479.8 MB, free: 5.258 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1425, allocations: 0 / 479.8 MB, free: 5.258 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001288/0.1427, allocations: 47.92 kB / 479.9 MB, free: 5.211 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003972/0.1431, allocations: 33.78 kB / 479.9 MB, free: 5.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001567/0.1447, allocations: 0.9386 MB / 480.8 MB, free: 4.172 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/0.145, allocations: 0.7243 MB / 481.6 MB, free: 3.422 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001135/0.1451, allocations: 25.06 kB / 481.6 MB, free: 3.398 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.403e-05/0.1452, allocations: 47.42 kB / 481.6 MB, free: 3.352 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1452, allocations: 0 / 481.6 MB, free: 3.352 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0162/0.1614, allocations: 3.639 MB / 485.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003411/0.1618, allocations: 219.4 kB / 485.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.812/1.974, allocations: 0 / 485.5 MB, free: 15.61 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat does not exist to compare? outputFormat=mat