Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test7",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.0007895/0.0007943, 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.00142/0.00142, allocations: 175.4 kB / 16.58 MB, free: 6.844 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.514/1.514, allocations: 205.4 MB / 222.8 MB, free: 5.883 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.3153/0.3153, allocations: 43.56 MB / 314.6 MB, free: 8.629 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.0005944/0.0005946, allocations: 18.97 kB / 384 MB, free: 7.949 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1083, allocations: 58.86 MB / 442.9 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.001884/0.1102, allocations: 1.391 MB / 444.3 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.1114, allocations: 0.7461 MB / 445 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.708e-05/0.1115, allocations: 4 kB / 445 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002835/0.1117, allocations: 95.73 kB / 445.1 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001738/0.1119, allocations: 71.78 kB / 445.2 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002287/0.1122, allocations: 67.84 kB / 445.3 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001592/0.1123, allocations: 99.73 kB / 445.4 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.96e-05/0.1124, allocations: 12.2 kB / 445.4 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.727e-05/0.1125, allocations: 47.78 kB / 445.4 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.761e-05/0.1126, allocations: 51.81 kB / 445.5 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.1126, allocations: 0 / 445.5 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.204e-05/0.1127, allocations: 39.92 kB / 445.5 MB, free: 10.35 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.347e-05/0.1128, allocations: 23.92 kB / 445.5 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.771e-05/0.1128, allocations: 37.64 kB / 445.6 MB, free: 10.28 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001401/0.113, allocations: 92.08 kB / 445.7 MB, free: 10.19 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.113, allocations: 11.94 kB / 445.7 MB, free: 10.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.113, allocations: 0 / 445.7 MB, free: 10.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.587e-06/0.113, allocations: 0 / 445.7 MB, free: 10.18 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.0005568/0.1136, allocations: 418.7 kB / 446.1 MB, free: 9.723 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.1136, allocations: 8.031 kB / 446.1 MB, free: 9.715 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.552e-05/0.1137, allocations: 38.56 kB / 446.1 MB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.888e-05/0.1137, allocations: 7.906 kB / 446.1 MB, free: 9.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/0.1139, allocations: 211.5 kB / 446.3 MB, free: 9.414 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.1139, allocations: 11.94 kB / 446.3 MB, free: 9.402 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.805e-05/0.114, allocations: 4 kB / 446.4 MB, free: 9.398 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.1141, allocations: 53.66 kB / 446.4 MB, free: 9.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.1141, allocations: 4 kB / 446.4 MB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.1141, allocations: 7.953 kB / 446.4 MB, free: 9.328 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1141, allocations: 0 / 446.4 MB, free: 9.328 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.853e-05/0.1142, allocations: 15.98 kB / 446.4 MB, free: 9.312 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004574/0.1147, allocations: 288.9 kB / 446.7 MB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.1149, allocations: 66.56 kB / 446.8 MB, free: 8.906 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.57e-05/0.1149, allocations: 24.84 kB / 446.8 MB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.115, allocations: 0 / 446.8 MB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001919/0.1152, allocations: 67.34 kB / 446.9 MB, free: 8.801 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.595e-06/0.1152, allocations: 4 kB / 446.9 MB, free: 8.797 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005375/0.1157, allocations: 185 kB / 447.1 MB, free: 8.609 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/0.1158, allocations: 51.41 kB / 447.1 MB, free: 8.547 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002326/0.116, allocations: 246.1 kB / 447.3 MB, free: 8.297 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.116, allocations: 33.7 kB / 447.4 MB, free: 8.258 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.62e-05/0.1161, allocations: 108 kB / 447.5 MB, free: 8.148 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.053e-05/0.1162, allocations: 19.72 kB / 447.5 MB, free: 8.129 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/0.1162, allocations: 0 / 447.5 MB, free: 8.129 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.1163, allocations: 334.8 kB / 447.8 MB, free: 7.793 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.924e-05/0.1164, allocations: 23.92 kB / 447.9 MB, free: 7.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.943e-05/0.1165, allocations: 37.7 kB / 447.9 MB, free: 7.727 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.204e-05/0.1166, allocations: 20 kB / 447.9 MB, free: 7.707 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1166, allocations: 0 / 447.9 MB, free: 7.707 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001835/0.1168, allocations: 101.5 kB / 448 MB, free: 7.602 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.1168, allocations: 8 kB / 448 MB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1168, allocations: 4.031 kB / 448 MB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.1168, allocations: 0 / 448 MB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.037e-05/0.1169, allocations: 16 kB / 448 MB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.1169, allocations: 4.156 kB / 448 MB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.978e-05/0.117, allocations: 3.984 kB / 448 MB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.117, allocations: 7.984 kB / 448.1 MB, free: 7.559 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.0001177/0.1171, allocations: 133.8 kB / 448.2 MB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.71e-05/0.1172, allocations: 19.77 kB / 448.2 MB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.828e-05/0.1172, allocations: 25.34 kB / 448.2 MB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.1172, allocations: 0 / 448.2 MB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.1172, allocations: 0 / 448.2 MB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.1172, allocations: 3.984 kB / 448.2 MB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005061/0.1178, allocations: 399.3 kB / 448.6 MB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.1178, allocations: 0 / 448.6 MB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.593e-05/0.1178, allocations: 12 kB / 448.6 MB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.1178, allocations: 0 / 448.6 MB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.1178, allocations: 3.984 kB / 448.6 MB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.1178, allocations: 8.219 kB / 448.6 MB, free: 6.898 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1179, allocations: 0 / 448.6 MB, free: 6.898 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002486/0.1181, allocations: 212.5 kB / 448.8 MB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.495e-05/0.1182, allocations: 88.92 kB / 448.9 MB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.602e-05/0.1182, allocations: 3.984 kB / 448.9 MB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.085e-05/0.1183, allocations: 11.94 kB / 449 MB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.385e-05/0.1184, allocations: 15.94 kB / 449 MB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.449e-05/0.1184, allocations: 7.984 kB / 449 MB, free: 6.527 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001707/0.1186, allocations: 180.3 kB / 449.2 MB, free: 6.352 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1186, allocations: 0 / 449.2 MB, free: 6.352 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002607/0.1188, allocations: 24 kB / 449.2 MB, free: 6.328 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.001571/0.1204, allocations: 1.089 MB / 450.3 MB, free: 5.254 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001872/0.1206, allocations: 63.91 kB / 450.3 MB, free: 5.191 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1206, allocations: 0 / 450.3 MB, free: 5.191 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.062e-05/0.1207, allocations: 31.92 kB / 450.4 MB, free: 5.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.121, allocations: 28.47 kB / 450.4 MB, free: 5.133 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.1224, allocations: 0.8314 MB / 451.2 MB, free: 4.242 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.1227, allocations: 0.7196 MB / 451.9 MB, free: 3.496 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.547e-05/0.1228, allocations: 8.891 kB / 451.9 MB, free: 3.488 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.611e-05/0.1229, allocations: 43.41 kB / 452 MB, free: 3.445 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1229, allocations: 0 / 452 MB, free: 3.445 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01385/0.1367, allocations: 3.153 MB / 455.1 MB, free: 300 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001981/0.137, allocations: 224.2 kB / 455.4 MB, free: 48 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.744/1.881, allocations: 0 / 455.4 MB, free: 48 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test7_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test7.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat does not exist to compare? outputFormat=mat