Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test86",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.0008573/0.0008573, 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.0009248/0.0009248, allocations: 172.2 kB / 16.58 MB, free: 5.645 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.527/1.527, allocations: 205.4 MB / 222.7 MB, free: 5.625 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.3338/0.3338, allocations: 43.55 MB / 314.6 MB, free: 9.035 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.000539/0.0005391, allocations: 22.97 kB / 384 MB, free: 8.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1071, allocations: 58.85 MB / 442.9 MB, free: 13.19 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.002041/0.1092, allocations: 1.359 MB / 444.2 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001541/0.1108, allocations: 0.7227 MB / 445 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.111, allocations: 0 / 445 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000416/0.1114, allocations: 51.86 kB / 445 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002819/0.1117, allocations: 59.81 kB / 445.1 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003186/0.112, allocations: 71.84 kB / 445.1 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002152/0.1122, allocations: 87.62 kB / 445.2 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.25e-05/0.1123, allocations: 7.984 kB / 445.2 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.1124, allocations: 39.78 kB / 445.3 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.1126, allocations: 43.83 kB / 445.3 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.241e-05/0.1126, allocations: 0 / 445.3 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.1127, allocations: 24 kB / 445.3 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.969e-05/0.1128, allocations: 23.91 kB / 445.4 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.273e-05/0.1129, allocations: 37.64 kB / 445.4 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.1131, allocations: 68.11 kB / 445.5 MB, free: 10.58 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.042e-05/0.1131, allocations: 4 kB / 445.5 MB, free: 10.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.677e-06/0.1131, allocations: 0 / 445.5 MB, free: 10.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.684e-06/0.1131, allocations: 0 / 445.5 MB, free: 10.57 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.0006907/0.1138, allocations: 394.8 kB / 445.9 MB, free: 10.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.495e-05/0.1139, allocations: 8.031 kB / 445.9 MB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.122e-05/0.114, allocations: 30.56 kB / 445.9 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.632e-05/0.114, allocations: 11.91 kB / 445.9 MB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002888/0.1143, allocations: 214.7 kB / 446.1 MB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.1143, allocations: 0 / 446.1 MB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.1144, allocations: 0 / 446.1 MB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.1145, allocations: 57.59 kB / 446.2 MB, free: 9.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.1145, allocations: 0 / 446.2 MB, free: 9.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.1146, allocations: 3.953 kB / 446.2 MB, free: 9.766 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.1146, allocations: 0 / 446.2 MB, free: 9.766 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.904e-05/0.1147, allocations: 15.98 kB / 446.2 MB, free: 9.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002203/0.1149, allocations: 185.7 kB / 446.4 MB, free: 9.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001664/0.1151, allocations: 50.62 kB / 446.4 MB, free: 9.461 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.494e-05/0.1151, allocations: 24.78 kB / 446.4 MB, free: 9.434 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.821e-05/0.1152, allocations: 7.938 kB / 446.5 MB, free: 9.426 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002009/0.1154, allocations: 63.39 kB / 446.5 MB, free: 9.352 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.492e-06/0.1154, allocations: 0 / 446.5 MB, free: 9.352 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003034/0.1157, allocations: 93.53 kB / 446.6 MB, free: 9.254 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.1158, allocations: 51.41 kB / 446.7 MB, free: 9.191 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002014/0.116, allocations: 190.1 kB / 446.8 MB, free: 8.992 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.116, allocations: 29.64 kB / 446.9 MB, free: 8.957 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.596e-05/0.1161, allocations: 100.1 kB / 447 MB, free: 8.855 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.282e-05/0.1161, allocations: 11.91 kB / 447 MB, free: 8.844 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/0.1161, allocations: 0 / 447 MB, free: 8.844 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.1163, allocations: 322.8 kB / 447.3 MB, free: 8.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.123e-05/0.1164, allocations: 15.98 kB / 447.3 MB, free: 8.504 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.595e-05/0.1164, allocations: 29.72 kB / 447.3 MB, free: 8.469 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.585e-05/0.1165, allocations: 15.98 kB / 447.4 MB, free: 8.453 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.1165, allocations: 0 / 447.4 MB, free: 8.453 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000196/0.1167, allocations: 77.53 kB / 447.4 MB, free: 8.371 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.1167, allocations: 12.03 kB / 447.4 MB, free: 8.359 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.1167, allocations: 0 / 447.4 MB, free: 8.359 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.1168, allocations: 0 / 447.4 MB, free: 8.359 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.489e-05/0.1168, allocations: 8 kB / 447.5 MB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.103e-05/0.1169, allocations: 11.94 kB / 447.5 MB, free: 8.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.705e-05/0.1169, allocations: 7.906 kB / 447.5 MB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.117, allocations: 4 kB / 447.5 MB, free: 8.328 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.0001132/0.1171, allocations: 130.7 kB / 447.6 MB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.237e-05/0.1171, allocations: 11.89 kB / 447.6 MB, free: 8.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.24e-05/0.1172, allocations: 16.31 kB / 447.6 MB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1172, allocations: 0 / 447.6 MB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.1172, allocations: 0 / 447.6 MB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.1172, allocations: 7.953 kB / 447.6 MB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000165/0.1174, allocations: 177.6 kB / 447.8 MB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1174, allocations: 3.938 kB / 447.8 MB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.481e-05/0.1174, allocations: 7.984 kB / 447.8 MB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.1174, allocations: 0 / 447.8 MB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.1174, allocations: 4.312 kB / 447.8 MB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.1174, allocations: 0 / 447.8 MB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1174, allocations: 4 kB / 447.8 MB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001865/0.1176, allocations: 113 kB / 447.9 MB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.724e-05/0.1177, allocations: 88.92 kB / 448 MB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.111e-05/0.1177, allocations: 0 / 448 MB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.865e-05/0.1178, allocations: 3.984 kB / 448 MB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.501e-05/0.1178, allocations: 4 kB / 448 MB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/0.1178, allocations: 11.94 kB / 448 MB, free: 7.664 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000184/0.118, allocations: 148 kB / 448.2 MB, free: 7.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.118, allocations: 0 / 448.2 MB, free: 7.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002171/0.1183, allocations: 16 kB / 448.2 MB, free: 7.504 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.001204/0.1195, allocations: 0.9549 MB / 449.2 MB, free: 6.562 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001507/0.1196, allocations: 47.92 kB / 449.2 MB, free: 6.516 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1196, allocations: 0 / 449.2 MB, free: 6.516 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.602e-05/0.1197, allocations: 19.98 kB / 449.2 MB, free: 6.496 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.12, allocations: 23.92 kB / 449.3 MB, free: 6.473 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.121, allocations: 0.635 MB / 449.9 MB, free: 5.781 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.1214, allocations: 0.6965 MB / 450.6 MB, free: 5.059 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.31e-05/0.1214, allocations: 20.41 kB / 450.6 MB, free: 5.039 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.572e-05/0.1215, allocations: 35.42 kB / 450.6 MB, free: 5.004 MB / 382.1 MB Notification: Performance of SimCode: time 7.92e-07/0.1215, allocations: 0 / 450.6 MB, free: 5.004 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01292/0.1345, allocations: 2.649 MB / 453.3 MB, free: 2.359 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002186/0.1347, allocations: 217.4 kB / 453.5 MB, free: 2.121 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.614/1.748, allocations: 0 / 453.5 MB, free: 2.121 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test86_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat does not exist to compare? outputFormat=mat