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.001569/0.001569, allocations: 93.12 kB / 16.99 MB, free: 5.938 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.001925/0.001925, allocations: 181.8 kB / 17.87 MB, free: 5.609 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.448/1.448, allocations: 223.2 MB / 241.8 MB, free: 14.66 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.2347/0.2347, allocations: 44.22 MB / 337.1 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000338/0.0003382, allocations: 12 kB / 409.6 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1293, allocations: 61.92 MB / 471.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.002747/0.1321, allocations: 1.383 MB / 472.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001327/0.1334, allocations: 0.7919 MB / 473.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.908e-05/0.1335, allocations: 3.938 kB / 473.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003167/0.1339, allocations: 79.77 kB / 473.8 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001945/0.1341, allocations: 63.84 kB / 473.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003184/0.1344, allocations: 94.33 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001665/0.1346, allocations: 71.83 kB / 474 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.131e-05/0.1347, allocations: 4.234 kB / 474 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.094e-05/0.1348, allocations: 47.83 kB / 474.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.126e-05/0.1349, allocations: 47.83 kB / 474.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.1349, allocations: 0 / 474.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.47e-05/0.135, allocations: 27.98 kB / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.372e-05/0.1351, allocations: 19.92 kB / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.498e-05/0.1351, allocations: 41.62 kB / 474.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001572/0.1353, allocations: 88.08 kB / 474.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1353, allocations: 0 / 474.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1353, allocations: 3.938 kB / 474.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.1353, allocations: 0 / 474.3 MB, free: 10.84 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.0005627/0.1359, allocations: 410.8 kB / 474.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.491e-05/0.1359, allocations: 8.031 kB / 474.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.05e-05/0.136, allocations: 38.56 kB / 474.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.101e-05/0.136, allocations: 7.906 kB / 474.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002845/0.1363, allocations: 202.9 kB / 475 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.1363, allocations: 0 / 475 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.712e-05/0.1364, allocations: 11.95 kB / 475 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001921/0.1366, allocations: 49.67 kB / 475 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.1366, allocations: 3.906 kB / 475 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.1366, allocations: 15.98 kB / 475 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1367, allocations: 0 / 475 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.017e-05/0.1368, allocations: 23.92 kB / 475.1 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004058/0.1372, allocations: 284.9 kB / 475.3 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001547/0.1373, allocations: 50.69 kB / 475.4 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.624e-05/0.1374, allocations: 4 kB / 475.4 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002131/0.1376, allocations: 75.44 kB / 475.5 MB, free: 9.504 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.1376, allocations: 0 / 475.5 MB, free: 9.504 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005306/0.1381, allocations: 169.2 kB / 475.6 MB, free: 9.332 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.1382, allocations: 51.41 kB / 475.7 MB, free: 9.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000212/0.1384, allocations: 219.1 kB / 475.9 MB, free: 9.043 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.1384, allocations: 37.64 kB / 475.9 MB, free: 9 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.947e-05/0.1385, allocations: 108 kB / 476 MB, free: 8.891 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.856e-05/0.1385, allocations: 19.75 kB / 476.1 MB, free: 8.871 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.521e-06/0.1386, allocations: 4 kB / 476.1 MB, free: 8.867 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.1387, allocations: 326.8 kB / 476.4 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.301e-05/0.1387, allocations: 23.98 kB / 476.4 MB, free: 8.516 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.16e-05/0.1388, allocations: 33.7 kB / 476.4 MB, free: 8.477 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.616e-05/0.1389, allocations: 23.98 kB / 476.5 MB, free: 8.453 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1389, allocations: 4 kB / 476.5 MB, free: 8.449 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001717/0.139, allocations: 105.4 kB / 476.6 MB, free: 8.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.1391, allocations: 4 kB / 476.6 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1391, allocations: 0 / 476.6 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.1391, allocations: 0 / 476.6 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.1392, allocations: 27.92 kB / 476.6 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.1392, allocations: 0 / 476.6 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.914e-05/0.1393, allocations: 4 kB / 476.6 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.114e-06/0.1393, allocations: 0 / 476.6 MB, free: 8.305 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.0001157/0.1394, allocations: 138.3 kB / 476.7 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.273e-05/0.1394, allocations: 15.81 kB / 476.8 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.466e-05/0.1395, allocations: 13.41 kB / 476.8 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1395, allocations: 0 / 476.8 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1395, allocations: 0 / 476.8 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.1395, allocations: 3.984 kB / 476.8 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004321/0.14, allocations: 395.3 kB / 477.2 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.14, allocations: 8.031 kB / 477.2 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.157e-05/0.14, allocations: 4 kB / 477.2 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.14, allocations: 4 kB / 477.2 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.14, allocations: 0 / 477.2 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.14, allocations: 4.359 kB / 477.2 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.14, allocations: 4 kB / 477.2 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002268/0.1403, allocations: 226 kB / 477.4 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.675e-05/0.1403, allocations: 93.02 kB / 477.5 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.431e-05/0.1404, allocations: 0 / 477.5 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.687e-05/0.1405, allocations: 11.97 kB / 477.5 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.788e-05/0.1405, allocations: 0 / 477.5 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.1405, allocations: 11.94 kB / 477.5 MB, free: 7.281 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001298/0.1407, allocations: 163.4 kB / 477.7 MB, free: 7.121 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1407, allocations: 0 / 477.7 MB, free: 7.121 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000263/0.1409, allocations: 27.94 kB / 477.7 MB, free: 7.094 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.001494/0.1424, allocations: 1.179 MB / 478.9 MB, free: 6.066 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001763/0.1426, allocations: 55.92 kB / 478.9 MB, free: 6.012 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1426, allocations: 0 / 478.9 MB, free: 6.012 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.748e-05/0.1427, allocations: 27.98 kB / 479 MB, free: 5.984 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002666/0.143, allocations: 23.94 kB / 479 MB, free: 5.961 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/0.1442, allocations: 0.9026 MB / 479.9 MB, free: 5.008 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002712/0.1445, allocations: 0.7121 MB / 480.6 MB, free: 4.27 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.201e-05/0.1446, allocations: 20.78 kB / 480.6 MB, free: 4.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.46e-05/0.1447, allocations: 39.42 kB / 480.7 MB, free: 4.211 MB / 350.1 MB Notification: Performance of SimCode: time 9.82e-07/0.1447, allocations: 0 / 480.7 MB, free: 4.211 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01355/0.1582, allocations: 3.006 MB / 483.7 MB, free: 1.34 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002254/0.1585, allocations: 219.7 kB / 483.9 MB, free: 1.098 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.729/1.887, allocations: 0 / 483.9 MB, free: 1.098 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