Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test23",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.0008298/0.0008297, allocations: 88.19 kB / 15.7 MB, free: 460 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.0009719/0.000972, allocations: 172.5 kB / 16.58 MB, free: 6.84 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.569/1.569, allocations: 205.4 MB / 222.8 MB, free: 5.637 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.3585/0.3585, allocations: 43.55 MB / 314.6 MB, free: 8.738 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.0004935/0.0004935, allocations: 16 kB / 384 MB, free: 7.898 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.124, allocations: 58.86 MB / 442.9 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.00198/0.126, allocations: 1.394 MB / 444.3 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001108/0.1272, allocations: 0.7383 MB / 445 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.666e-05/0.1273, allocations: 0 / 445 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002671/0.1276, allocations: 43.83 kB / 445.1 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001662/0.1277, allocations: 43.83 kB / 445.1 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002274/0.128, allocations: 75.84 kB / 445.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.1281, allocations: 75.77 kB / 445.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.074e-05/0.1282, allocations: 24.19 kB / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.977e-05/0.1283, allocations: 35.8 kB / 445.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.357e-05/0.1284, allocations: 31.84 kB / 445.3 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.1284, allocations: 4 kB / 445.3 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.699e-05/0.1285, allocations: 35.98 kB / 445.4 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.249e-05/0.1285, allocations: 19.91 kB / 445.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.876e-05/0.1286, allocations: 41.64 kB / 445.4 MB, free: 10.35 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001401/0.1287, allocations: 88.03 kB / 445.5 MB, free: 10.26 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1287, allocations: 0 / 445.5 MB, free: 10.26 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1287, allocations: 0 / 445.5 MB, free: 10.26 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.1288, allocations: 0 / 445.5 MB, free: 10.26 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004692/0.1292, allocations: 406.8 kB / 445.9 MB, free: 9.816 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.1293, allocations: 12.03 kB / 445.9 MB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.69e-05/0.1293, allocations: 30.56 kB / 446 MB, free: 9.766 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3e-05/0.1294, allocations: 7.906 kB / 446 MB, free: 9.758 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002008/0.1296, allocations: 215.4 kB / 446.2 MB, free: 9.508 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.1296, allocations: 0 / 446.2 MB, free: 9.508 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.1296, allocations: 4 kB / 446.2 MB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.1298, allocations: 57.67 kB / 446.2 MB, free: 9.441 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.1298, allocations: 0 / 446.2 MB, free: 9.441 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.1298, allocations: 11.89 kB / 446.3 MB, free: 9.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.1298, allocations: 3.984 kB / 446.3 MB, free: 9.426 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.352e-05/0.1299, allocations: 16 kB / 446.3 MB, free: 9.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003404/0.1302, allocations: 284.9 kB / 446.6 MB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/0.1304, allocations: 50.69 kB / 446.6 MB, free: 9.023 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.994e-05/0.1305, allocations: 28.78 kB / 446.6 MB, free: 8.992 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.1305, allocations: 4 kB / 446.6 MB, free: 8.988 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001652/0.1307, allocations: 71.28 kB / 446.7 MB, free: 8.906 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.1307, allocations: 0 / 446.7 MB, free: 8.906 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005034/0.1312, allocations: 177.1 kB / 446.9 MB, free: 8.727 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.1312, allocations: 55.39 kB / 446.9 MB, free: 8.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.1314, allocations: 195.3 kB / 447.1 MB, free: 8.461 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.1314, allocations: 33.7 kB / 447.2 MB, free: 8.422 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.58e-05/0.1315, allocations: 100.1 kB / 447.3 MB, free: 8.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.761e-05/0.1315, allocations: 23.66 kB / 447.3 MB, free: 8.297 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.299e-06/0.1316, allocations: 0 / 447.3 MB, free: 8.297 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.1317, allocations: 326.8 kB / 447.6 MB, free: 7.969 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.192e-05/0.1317, allocations: 19.98 kB / 447.6 MB, free: 7.949 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.437e-05/0.1318, allocations: 33.7 kB / 447.7 MB, free: 7.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.031e-05/0.1319, allocations: 31.94 kB / 447.7 MB, free: 7.879 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1319, allocations: 0 / 447.7 MB, free: 7.879 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001601/0.132, allocations: 101.4 kB / 447.8 MB, free: 7.773 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.1321, allocations: 8 kB / 447.8 MB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.1321, allocations: 0 / 447.8 MB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.1321, allocations: 0 / 447.8 MB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.602e-05/0.1322, allocations: 19.92 kB / 447.8 MB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.1322, allocations: 4 kB / 447.8 MB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.336e-05/0.1322, allocations: 8.031 kB / 447.8 MB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-06/0.1323, allocations: 4 kB / 447.8 MB, free: 7.73 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 (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 9.095e-05/0.1323, allocations: 129.8 kB / 448 MB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.028e-05/0.1324, allocations: 15.86 kB / 448 MB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.881e-05/0.1324, allocations: 13.59 kB / 448 MB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.1324, allocations: 4 kB / 448 MB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1324, allocations: 3.938 kB / 448 MB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1324, allocations: 0 / 448 MB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003832/0.1328, allocations: 403.2 kB / 448.4 MB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1328, allocations: 4 kB / 448.4 MB, free: 7.102 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.086e-05/0.1329, allocations: 8 kB / 448.4 MB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1329, allocations: 384 / 448.4 MB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.1329, allocations: 0 / 448.4 MB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.199e-06/0.1329, allocations: 4 kB / 448.4 MB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1329, allocations: 7.938 kB / 448.4 MB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002049/0.1331, allocations: 212.2 kB / 448.6 MB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.364e-05/0.1332, allocations: 92.84 kB / 448.7 MB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.1332, allocations: 4 kB / 448.7 MB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.962e-05/0.1333, allocations: 8 kB / 448.7 MB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.509e-05/0.1333, allocations: 3.984 kB / 448.7 MB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.1334, allocations: 4 kB / 448.7 MB, free: 6.727 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001088/0.1335, allocations: 156.9 kB / 448.9 MB, free: 6.574 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1335, allocations: 4 kB / 448.9 MB, free: 6.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002494/0.1337, allocations: 23.98 kB / 448.9 MB, free: 6.547 MB / 382.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.001319/0.1351, allocations: 1.09 MB / 450 MB, free: 5.473 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001562/0.1352, allocations: 51.92 kB / 450 MB, free: 5.422 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1352, allocations: 0 / 450 MB, free: 5.422 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.726e-05/0.1353, allocations: 31.98 kB / 450.1 MB, free: 5.391 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/0.1357, allocations: 32.03 kB / 450.1 MB, free: 5.359 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.1367, allocations: 0.7349 MB / 450.8 MB, free: 4.566 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/0.137, allocations: 0.7043 MB / 451.5 MB, free: 3.836 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.457e-05/0.1371, allocations: 17.17 kB / 451.6 MB, free: 3.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.243e-05/0.1371, allocations: 35.42 kB / 451.6 MB, free: 3.785 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1371, allocations: 4 kB / 451.6 MB, free: 3.781 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01418/0.1513, allocations: 2.974 MB / 454.6 MB, free: 0.8086 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002175/0.1516, allocations: 213.5 kB / 454.8 MB, free: 0.5742 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.7/1.852, allocations: 0 / 454.8 MB, free: 0.5742 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test23_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test23.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat does not exist to compare? outputFormat=mat