Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test61,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test61",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.0007811/0.0007811, allocations: 96.7 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008574/0.0008574, allocations: 177.5 kB / 16.58 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.37/1.37, allocations: 205.4 MB / 222.7 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3534/0.3534, allocations: 43.54 MB / 314.6 MB, free: 9.004 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005255/0.0005258, allocations: 20 kB / 384 MB, free: 8.133 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1303, allocations: 58.85 MB / 442.9 MB, free: 13.19 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.002325/0.1326, allocations: 1.367 MB / 444.2 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.134, allocations: 0.7266 MB / 445 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.684e-05/0.1342, allocations: 3.938 kB / 445 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003283/0.1345, allocations: 43.86 kB / 445 MB, free: 11.03 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002398/0.1348, allocations: 55.81 kB / 445.1 MB, free: 10.97 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002964/0.1351, allocations: 71.8 kB / 445.1 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002011/0.1353, allocations: 83.69 kB / 445.2 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.741e-05/0.1353, allocations: 7.984 kB / 445.2 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.1355, allocations: 39.78 kB / 445.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.1356, allocations: 31.84 kB / 445.3 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.1356, allocations: 4 kB / 445.3 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.1357, allocations: 20 kB / 445.3 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.288e-05/0.1358, allocations: 31.89 kB / 445.4 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.591e-05/0.1359, allocations: 41.64 kB / 445.4 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001838/0.1361, allocations: 84.11 kB / 445.5 MB, free: 10.56 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.1361, allocations: 0 / 445.5 MB, free: 10.56 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.055e-06/0.1361, allocations: 0 / 445.5 MB, free: 10.56 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.064e-06/0.1361, allocations: 0 / 445.5 MB, free: 10.56 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006163/0.1367, allocations: 426.6 kB / 445.9 MB, free: 10.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.1368, allocations: 8.031 kB / 445.9 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.995e-05/0.1368, allocations: 34.5 kB / 445.9 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.354e-05/0.1369, allocations: 15.81 kB / 446 MB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002679/0.1372, allocations: 206.9 kB / 446.2 MB, free: 9.785 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.1372, allocations: 8 kB / 446.2 MB, free: 9.777 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/0.1372, allocations: 3.984 kB / 446.2 MB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.1374, allocations: 45.67 kB / 446.2 MB, free: 9.723 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.1374, allocations: 0 / 446.2 MB, free: 9.723 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.1374, allocations: 7.953 kB / 446.2 MB, free: 9.715 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1374, allocations: 0 / 446.2 MB, free: 9.715 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.16e-05/0.1375, allocations: 15.98 kB / 446.2 MB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002127/0.1377, allocations: 193.5 kB / 446.4 MB, free: 9.461 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/0.1379, allocations: 54.61 kB / 446.5 MB, free: 9.398 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.175e-05/0.1379, allocations: 16.86 kB / 446.5 MB, free: 9.379 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.138, allocations: 3.984 kB / 446.5 MB, free: 9.375 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001753/0.1381, allocations: 67.39 kB / 446.6 MB, free: 9.297 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.323e-06/0.1382, allocations: 7.938 kB / 446.6 MB, free: 9.289 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003017/0.1385, allocations: 97.47 kB / 446.7 MB, free: 9.188 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.92e-05/0.1385, allocations: 55.41 kB / 446.7 MB, free: 9.121 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002972/0.1388, allocations: 254.5 kB / 447 MB, free: 8.859 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.1389, allocations: 25.7 kB / 447 MB, free: 8.828 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.504e-05/0.1389, allocations: 112.1 kB / 447.1 MB, free: 8.715 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.772e-05/0.139, allocations: 19.8 kB / 447.1 MB, free: 8.695 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-06/0.139, allocations: 0 / 447.1 MB, free: 8.695 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002072/0.1392, allocations: 330.8 kB / 447.4 MB, free: 8.363 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.056e-05/0.1393, allocations: 12 kB / 447.5 MB, free: 8.352 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.293e-05/0.1393, allocations: 29.7 kB / 447.5 MB, free: 8.316 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.274e-05/0.1394, allocations: 16 kB / 447.5 MB, free: 8.301 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1394, allocations: 0 / 447.5 MB, free: 8.301 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001532/0.1396, allocations: 81.44 kB / 447.6 MB, free: 8.215 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.172e-05/0.1397, allocations: 8 kB / 447.6 MB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.1397, allocations: 8.016 kB / 447.6 MB, free: 8.199 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.853e-05/0.1397, allocations: 0 / 447.6 MB, free: 8.199 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.605e-05/0.1398, allocations: 15.94 kB / 447.6 MB, free: 8.184 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.1398, allocations: 12.03 kB / 447.6 MB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.763e-05/0.1398, allocations: 8.25 kB / 447.6 MB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.1399, allocations: 4 kB / 447.6 MB, free: 8.16 MB / 382.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 (7): * Single equations (assignments): 7 * 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.0001005/0.14, allocations: 129.8 kB / 447.8 MB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.126e-05/0.14, allocations: 23.81 kB / 447.8 MB, free: 8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.988e-05/0.1401, allocations: 24.98 kB / 447.8 MB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.1401, allocations: 0 / 447.8 MB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1401, allocations: 0 / 447.8 MB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.1401, allocations: 3.953 kB / 447.8 MB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001533/0.1402, allocations: 189.6 kB / 448 MB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1403, allocations: 0 / 448 MB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.023e-05/0.1403, allocations: 4 kB / 448 MB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.1403, allocations: 0 / 448 MB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.1403, allocations: 4 kB / 448 MB, free: 7.727 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.1403, allocations: 3.984 kB / 448 MB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1403, allocations: 0 / 448 MB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001685/0.1405, allocations: 116.8 kB / 448.1 MB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.33e-05/0.1406, allocations: 89 kB / 448.2 MB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.1406, allocations: 8 kB / 448.2 MB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.438e-05/0.1406, allocations: 0 / 448.2 MB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.897e-05/0.1407, allocations: 11.97 kB / 448.2 MB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.1407, allocations: 0 / 448.2 MB, free: 7.465 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001725/0.1409, allocations: 200 kB / 448.4 MB, free: 7.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1409, allocations: 4 kB / 448.4 MB, free: 7.266 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002185/0.1411, allocations: 27.83 kB / 448.5 MB, free: 7.238 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001313/0.1424, allocations: 0.9427 MB / 449.4 MB, free: 6.305 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001499/0.1426, allocations: 39.98 kB / 449.4 MB, free: 6.266 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1426, allocations: 4.062 kB / 449.4 MB, free: 6.262 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.563e-05/0.1427, allocations: 16 kB / 449.5 MB, free: 6.246 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002625/0.1429, allocations: 23.97 kB / 449.5 MB, free: 6.223 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001417/0.1444, allocations: 0.831 MB / 450.3 MB, free: 5.336 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/0.1447, allocations: 0.7121 MB / 451 MB, free: 4.598 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.351e-05/0.1448, allocations: 12.56 kB / 451 MB, free: 4.586 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.243e-05/0.1449, allocations: 35.42 kB / 451.1 MB, free: 4.555 MB / 382.1 MB Notification: Performance of SimCode: time 1.773e-06/0.1449, allocations: 0 / 451.1 MB, free: 4.555 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01432/0.1592, allocations: 2.965 MB / 454 MB, free: 1.594 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000224/0.1594, allocations: 229.3 kB / 454.3 MB, free: 1.344 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.743/1.903, allocations: 0 / 454.3 MB, free: 1.344 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test61_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test61.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat does not exist to compare? outputFormat=mat