Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test54,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test54",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.0008153/0.0008153, 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.0009346/0.0009346, allocations: 174.2 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.576/1.576, allocations: 205.4 MB / 222.7 MB, free: 5.645 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.3299/0.3299, allocations: 43.55 MB / 314.6 MB, free: 9.059 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.0004856/0.0004857, allocations: 16 kB / 384 MB, free: 8.129 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1094, allocations: 58.85 MB / 442.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.00209/0.1116, allocations: 1.387 MB / 444.3 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.1128, allocations: 0.7499 MB / 445 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.1129, allocations: 0 / 445 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002948/0.1132, allocations: 47.86 kB / 445.1 MB, free: 10.97 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002248/0.1135, allocations: 43.84 kB / 445.1 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002854/0.1138, allocations: 75.84 kB / 445.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000161/0.1139, allocations: 83.69 kB / 445.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.816e-05/0.114, allocations: 24.2 kB / 445.3 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.1141, allocations: 39.78 kB / 445.3 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.254e-05/0.1142, allocations: 23.86 kB / 445.4 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/0.1143, allocations: 0 / 445.4 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.1144, allocations: 43.97 kB / 445.4 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.721e-05/0.1144, allocations: 19.92 kB / 445.4 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.586e-05/0.1145, allocations: 41.64 kB / 445.5 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001627/0.1146, allocations: 92.02 kB / 445.5 MB, free: 10.49 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.289e-06/0.1147, allocations: 0 / 445.5 MB, free: 10.49 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1147, allocations: 4 kB / 445.6 MB, free: 10.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.1147, allocations: 0 / 445.6 MB, free: 10.48 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.0005297/0.1152, allocations: 402.8 kB / 445.9 MB, free: 10.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.1153, allocations: 15.97 kB / 446 MB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.562e-05/0.1153, allocations: 34.56 kB / 446 MB, free: 9.984 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.576e-05/0.1154, allocations: 19.78 kB / 446 MB, free: 9.965 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002341/0.1156, allocations: 206.8 kB / 446.2 MB, free: 9.723 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.1156, allocations: 4 kB / 446.2 MB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.22e-05/0.1157, allocations: 11.92 kB / 446.2 MB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.1158, allocations: 53.67 kB / 446.3 MB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.1158, allocations: 0 / 446.3 MB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.1158, allocations: 7.953 kB / 446.3 MB, free: 9.641 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.1158, allocations: 4 kB / 446.3 MB, free: 9.637 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.757e-05/0.1159, allocations: 19.92 kB / 446.3 MB, free: 9.617 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004202/0.1163, allocations: 288.8 kB / 446.6 MB, free: 9.285 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.1165, allocations: 62.67 kB / 446.7 MB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.074e-05/0.1166, allocations: 16.86 kB / 446.7 MB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.1166, allocations: 0 / 446.7 MB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001634/0.1168, allocations: 79.22 kB / 446.8 MB, free: 9.105 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.1168, allocations: 0 / 446.8 MB, free: 9.105 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004946/0.1173, allocations: 173.2 kB / 446.9 MB, free: 8.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/0.1173, allocations: 51.41 kB / 447 MB, free: 8.867 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003913/0.1177, allocations: 222.6 kB / 447.2 MB, free: 8.637 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.1178, allocations: 29.7 kB / 447.2 MB, free: 8.602 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.036e-05/0.1178, allocations: 108.1 kB / 447.3 MB, free: 8.492 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.085e-05/0.1179, allocations: 27.64 kB / 447.3 MB, free: 8.465 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-06/0.1179, allocations: 0 / 447.3 MB, free: 8.465 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.118, allocations: 326.8 kB / 447.7 MB, free: 8.137 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.946e-05/0.1181, allocations: 20 kB / 447.7 MB, free: 8.117 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.802e-05/0.1181, allocations: 33.7 kB / 447.7 MB, free: 8.078 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.04e-05/0.1182, allocations: 32.05 kB / 447.8 MB, free: 8.047 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1182, allocations: 0 / 447.8 MB, free: 8.047 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000183/0.1184, allocations: 105.5 kB / 447.9 MB, free: 7.938 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.1184, allocations: 4 kB / 447.9 MB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1184, allocations: 0 / 447.9 MB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.1185, allocations: 4.031 kB / 447.9 MB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.195e-05/0.1186, allocations: 19.98 kB / 447.9 MB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.1186, allocations: 3.938 kB / 447.9 MB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.831e-05/0.1186, allocations: 8 kB / 447.9 MB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.1186, allocations: 0 / 447.9 MB, free: 7.898 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 0.0001128/0.1187, allocations: 129.8 kB / 448 MB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.51e-05/0.1188, allocations: 19.77 kB / 448 MB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.188e-05/0.1188, allocations: 17.39 kB / 448.1 MB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.1188, allocations: 4 kB / 448.1 MB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1188, allocations: 4.188 kB / 448.1 MB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.1189, allocations: 0 / 448.1 MB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000425/0.1193, allocations: 399.6 kB / 448.5 MB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1193, allocations: 0 / 448.5 MB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.591e-05/0.1193, allocations: 15.98 kB / 448.5 MB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.1194, allocations: 0 / 448.5 MB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.1194, allocations: 4 kB / 448.5 MB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1194, allocations: 0 / 448.5 MB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1194, allocations: 4.031 kB / 448.5 MB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002107/0.1196, allocations: 208.1 kB / 448.7 MB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.525e-05/0.1197, allocations: 92.94 kB / 448.8 MB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/0.1197, allocations: 8 kB / 448.8 MB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.6e-05/0.1198, allocations: 0 / 448.8 MB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.231e-05/0.1198, allocations: 11.97 kB / 448.8 MB, free: 6.891 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.1198, allocations: 8 kB / 448.8 MB, free: 6.883 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000139/0.12, allocations: 168.3 kB / 449 MB, free: 6.719 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.12, allocations: 0 / 449 MB, free: 6.719 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002662/0.1203, allocations: 35.89 kB / 449 MB, free: 6.684 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.001487/0.1217, allocations: 1.087 MB / 450.1 MB, free: 5.613 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001827/0.1219, allocations: 59.89 kB / 450.1 MB, free: 5.555 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.122, allocations: 0 / 450.1 MB, free: 5.555 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.278e-05/0.122, allocations: 32.05 kB / 450.2 MB, free: 5.523 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003497/0.1224, allocations: 28.11 kB / 450.2 MB, free: 5.496 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.1237, allocations: 0.7889 MB / 451 MB, free: 4.652 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003389/0.124, allocations: 0.7121 MB / 451.7 MB, free: 3.914 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.698e-05/0.1241, allocations: 12.89 kB / 451.7 MB, free: 3.902 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.717e-05/0.1242, allocations: 39.41 kB / 451.8 MB, free: 3.867 MB / 382.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1242, allocations: 0 / 451.8 MB, free: 3.867 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01401/0.1382, allocations: 3.095 MB / 454.9 MB, free: 0.7734 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002024/0.1385, allocations: 217.4 kB / 455.1 MB, free: 0.5352 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.626/1.764, allocations: 0 / 455.1 MB, free: 0.5352 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test54_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test54.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat does not exist to compare? outputFormat=mat