Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test76",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.0007879/0.000788, 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.0008148/0.0008149, allocations: 173 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.444/1.444, allocations: 205.4 MB / 222.8 MB, free: 5.641 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.3494/0.3494, allocations: 43.55 MB / 314.6 MB, free: 8.758 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.0004886/0.0004887, allocations: 20 kB / 384 MB, free: 7.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1081, allocations: 58.85 MB / 442.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.00195/0.1101, allocations: 1.394 MB / 444.3 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001035/0.1111, allocations: 0.7422 MB / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.381e-05/0.1112, allocations: 0 / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000252/0.1115, allocations: 43.83 kB / 445.1 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001708/0.1116, allocations: 47.81 kB / 445.1 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002172/0.1119, allocations: 83.84 kB / 445.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001486/0.112, allocations: 95.69 kB / 445.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.09e-05/0.1121, allocations: 16.2 kB / 445.3 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.979e-05/0.1122, allocations: 43.83 kB / 445.3 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.313e-05/0.1123, allocations: 39.78 kB / 445.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.1123, allocations: 7.984 kB / 445.4 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.995e-05/0.1124, allocations: 32 kB / 445.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.73e-05/0.1124, allocations: 23.92 kB / 445.4 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.467e-05/0.1125, allocations: 45.62 kB / 445.5 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001457/0.1126, allocations: 92.02 kB / 445.6 MB, free: 10.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1127, allocations: 4 kB / 445.6 MB, free: 10.22 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1127, allocations: 0 / 445.6 MB, free: 10.22 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.1127, allocations: 0 / 445.6 MB, free: 10.22 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004815/0.1132, allocations: 410.8 kB / 446 MB, free: 9.773 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.1132, allocations: 8.031 kB / 446 MB, free: 9.766 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.685e-05/0.1133, allocations: 34.56 kB / 446 MB, free: 9.723 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.311e-05/0.1133, allocations: 19.81 kB / 446 MB, free: 9.703 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002186/0.1135, allocations: 215.5 kB / 446.3 MB, free: 9.453 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.1135, allocations: 7.938 kB / 446.3 MB, free: 9.445 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/0.1136, allocations: 0 / 446.3 MB, free: 9.445 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.1137, allocations: 69.66 kB / 446.3 MB, free: 9.371 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.1137, allocations: 0 / 446.3 MB, free: 9.371 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.1138, allocations: 3.953 kB / 446.3 MB, free: 9.367 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.1138, allocations: 0 / 446.3 MB, free: 9.367 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.863e-05/0.1139, allocations: 39.97 kB / 446.4 MB, free: 9.328 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003807/0.1143, allocations: 300.9 kB / 446.7 MB, free: 8.984 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001905/0.1145, allocations: 86.59 kB / 446.8 MB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.05e-05/0.1145, allocations: 24.94 kB / 446.8 MB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.169e-05/0.1146, allocations: 7.969 kB / 446.8 MB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002285/0.1148, allocations: 79.34 kB / 446.9 MB, free: 8.766 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.483e-06/0.1148, allocations: 0 / 446.9 MB, free: 8.766 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005994/0.1154, allocations: 229 kB / 447.1 MB, free: 8.535 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.1155, allocations: 51.41 kB / 447.1 MB, free: 8.473 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.1157, allocations: 183.3 kB / 447.3 MB, free: 8.285 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.1157, allocations: 29.7 kB / 447.3 MB, free: 8.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.497e-05/0.1157, allocations: 104.3 kB / 447.4 MB, free: 8.145 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.311e-05/0.1158, allocations: 35.55 kB / 447.5 MB, free: 8.109 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.2e-06/0.1158, allocations: 0 / 447.5 MB, free: 8.109 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.1159, allocations: 330.8 kB / 447.8 MB, free: 7.777 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.053e-05/0.116, allocations: 24 kB / 447.8 MB, free: 7.754 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.585e-05/0.1161, allocations: 53.62 kB / 447.9 MB, free: 7.695 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.752e-05/0.1161, allocations: 28 kB / 447.9 MB, free: 7.668 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1162, allocations: 0 / 447.9 MB, free: 7.668 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002081/0.1164, allocations: 137.5 kB / 448 MB, free: 7.527 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.1164, allocations: 7.938 kB / 448.1 MB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.1164, allocations: 0 / 448.1 MB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.1164, allocations: 4 kB / 448.1 MB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.849e-05/0.1165, allocations: 19.98 kB / 448.1 MB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.1165, allocations: 3.938 kB / 448.1 MB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.052e-05/0.1166, allocations: 4 kB / 448.1 MB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.1166, allocations: 4 kB / 448.1 MB, free: 7.484 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 (12): * Single equations (assignments): 12 * 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 8.939e-05/0.1167, allocations: 133.8 kB / 448.2 MB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.511e-05/0.1167, allocations: 19.75 kB / 448.2 MB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.104e-05/0.1168, allocations: 25.39 kB / 448.3 MB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1168, allocations: 0 / 448.3 MB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.1168, allocations: 0 / 448.3 MB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.1168, allocations: 7.938 kB / 448.3 MB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004355/0.1172, allocations: 427.3 kB / 448.7 MB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1172, allocations: 0 / 448.7 MB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.197e-05/0.1173, allocations: 16.03 kB / 448.7 MB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1173, allocations: 0 / 448.7 MB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.1173, allocations: 11.98 kB / 448.7 MB, free: 6.789 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1173, allocations: 0 / 448.7 MB, free: 6.789 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1173, allocations: 0 / 448.7 MB, free: 6.789 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002256/0.1176, allocations: 228.1 kB / 448.9 MB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.139e-05/0.1176, allocations: 85 kB / 449 MB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.325e-05/0.1176, allocations: 12 kB / 449 MB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.709e-05/0.1177, allocations: 4 kB / 449 MB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.206e-05/0.1178, allocations: 12.2 kB / 449 MB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.1178, allocations: 4 kB / 449.1 MB, free: 6.414 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000104/0.1179, allocations: 140.9 kB / 449.2 MB, free: 6.277 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1179, allocations: 7.938 kB / 449.2 MB, free: 6.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002515/0.1182, allocations: 24 kB / 449.2 MB, free: 6.246 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 (10): * Single equations (assignments): 8 * 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.001334/0.1195, allocations: 1.119 MB / 450.3 MB, free: 5.145 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001922/0.1197, allocations: 79.91 kB / 450.4 MB, free: 5.066 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1197, allocations: 0 / 450.4 MB, free: 5.066 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.802e-05/0.1198, allocations: 39.92 kB / 450.5 MB, free: 5.027 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/0.1201, allocations: 36.22 kB / 450.5 MB, free: 4.992 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.1212, allocations: 0.7699 MB / 451.3 MB, free: 4.168 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/0.1215, allocations: 0.7164 MB / 452 MB, free: 3.426 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.819e-05/0.1216, allocations: 21.06 kB / 452 MB, free: 3.402 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.98e-05/0.1216, allocations: 43.42 kB / 452 MB, free: 3.359 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1216, allocations: 0 / 452 MB, free: 3.359 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01238/0.134, allocations: 3.187 MB / 455.2 MB, free: 176 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.1884/0.3224, allocations: 225.4 kB / 455.4 MB, free: 48.57 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.598/1.92, allocations: 0 / 455.4 MB, free: 48.57 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test76_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test76.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat does not exist to compare? outputFormat=mat