Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test55",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.0009128/0.0009128, 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.001193/0.001193, allocations: 171.8 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.574/1.574, allocations: 205.4 MB / 222.8 MB, free: 5.66 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.3277/0.3277, allocations: 43.56 MB / 314.6 MB, free: 9.066 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.0004887/0.0004888, allocations: 23.98 kB / 384 MB, free: 8.129 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1092, allocations: 58.84 MB / 442.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.002659/0.1119, allocations: 1.395 MB / 444.3 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001907/0.1138, allocations: 1.309 MB / 445.6 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.821e-05/0.1139, allocations: 0 / 445.6 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002424/0.1142, allocations: 35.83 kB / 445.6 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002127/0.1144, allocations: 47.83 kB / 445.7 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002718/0.1147, allocations: 79.78 kB / 445.7 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001683/0.1149, allocations: 79.7 kB / 445.8 MB, free: 10.22 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.997e-05/0.115, allocations: 24.17 kB / 445.8 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.845e-05/0.1151, allocations: 31.86 kB / 445.9 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.1153, allocations: 39.77 kB / 445.9 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.1153, allocations: 0 / 445.9 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/0.1154, allocations: 47.98 kB / 446 MB, free: 10.08 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.419e-05/0.1155, allocations: 15.92 kB / 446 MB, free: 10.06 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.328e-05/0.1155, allocations: 37.7 kB / 446 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001797/0.1157, allocations: 88.09 kB / 446.1 MB, free: 9.934 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.1157, allocations: 0 / 446.1 MB, free: 9.934 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1157, allocations: 4 kB / 446.1 MB, free: 9.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.1158, allocations: 0 / 446.1 MB, free: 9.93 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.0005294/0.1163, allocations: 402.8 kB / 446.5 MB, free: 9.488 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.1163, allocations: 12.03 kB / 446.5 MB, free: 9.477 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.799e-05/0.1164, allocations: 34.56 kB / 446.5 MB, free: 9.434 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.117e-05/0.1164, allocations: 11.91 kB / 446.6 MB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002161/0.1166, allocations: 198.9 kB / 446.8 MB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-06/0.1167, allocations: 0 / 446.8 MB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/0.1167, allocations: 4 kB / 446.8 MB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.1169, allocations: 79.28 kB / 446.8 MB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.1169, allocations: 0 / 446.8 MB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.1169, allocations: 0 / 446.8 MB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.1169, allocations: 4 kB / 446.8 MB, free: 9.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.659e-05/0.117, allocations: 19.98 kB / 446.9 MB, free: 9.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003329/0.1173, allocations: 277 kB / 447.1 MB, free: 8.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001495/0.1175, allocations: 66.56 kB / 447.2 MB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.457e-05/0.1175, allocations: 16.86 kB / 447.2 MB, free: 8.656 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.1176, allocations: 7.984 kB / 447.2 MB, free: 8.648 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001727/0.1178, allocations: 67.39 kB / 447.3 MB, free: 8.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.1178, allocations: 0 / 447.3 MB, free: 8.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004836/0.1183, allocations: 165.2 kB / 447.4 MB, free: 8.402 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.1183, allocations: 81.09 kB / 447.5 MB, free: 8.305 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.1185, allocations: 150.5 kB / 447.7 MB, free: 8.148 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.1185, allocations: 29.7 kB / 447.7 MB, free: 8.113 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.557e-05/0.1185, allocations: 100.1 kB / 447.8 MB, free: 8.012 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.007e-05/0.1186, allocations: 27.64 kB / 447.8 MB, free: 7.984 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-06/0.1186, allocations: 0 / 447.8 MB, free: 7.984 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.1187, allocations: 330.8 kB / 448.1 MB, free: 7.652 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.639e-05/0.1188, allocations: 23.98 kB / 448.2 MB, free: 7.629 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.171e-05/0.1188, allocations: 46.44 kB / 448.2 MB, free: 7.574 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.031e-05/0.1189, allocations: 24.03 kB / 448.2 MB, free: 7.551 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1189, allocations: 0 / 448.2 MB, free: 7.551 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001729/0.1191, allocations: 101.6 kB / 448.3 MB, free: 7.445 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.1191, allocations: 4 kB / 448.3 MB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.1191, allocations: 0 / 448.3 MB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.1192, allocations: 0 / 448.3 MB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.077e-05/0.1192, allocations: 19.94 kB / 448.4 MB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.1193, allocations: 0 / 448.4 MB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.912e-05/0.1193, allocations: 7.984 kB / 448.4 MB, free: 7.414 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.1193, allocations: 8.031 kB / 448.4 MB, free: 7.406 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 8.324e-05/0.1194, allocations: 125.8 kB / 448.5 MB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.873e-05/0.1194, allocations: 7.906 kB / 448.5 MB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.433e-05/0.1195, allocations: 16.86 kB / 448.5 MB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1195, allocations: 0 / 448.5 MB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.1195, allocations: 0 / 448.5 MB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.1195, allocations: 0 / 448.5 MB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004725/0.12, allocations: 403.2 kB / 448.9 MB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.12, allocations: 384 / 448.9 MB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.478e-05/0.12, allocations: 15.92 kB / 448.9 MB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-05/0.12, allocations: 4 kB / 448.9 MB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.1201, allocations: 4 kB / 448.9 MB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1201, allocations: 0 / 448.9 MB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1201, allocations: 0 / 448.9 MB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001996/0.1203, allocations: 208.2 kB / 449.1 MB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.381e-05/0.1203, allocations: 89 kB / 449.2 MB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.1204, allocations: 4 kB / 449.2 MB, free: 6.441 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.895e-05/0.1204, allocations: 4 kB / 449.2 MB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.37e-05/0.1205, allocations: 11.97 kB / 449.2 MB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.1205, allocations: 7.938 kB / 449.3 MB, free: 6.418 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.24e-05/0.1206, allocations: 122.6 kB / 449.4 MB, free: 6.301 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1206, allocations: 0 / 449.4 MB, free: 6.301 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002626/0.1209, allocations: 28 kB / 449.4 MB, free: 6.273 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.001386/0.1223, allocations: 1.124 MB / 450.5 MB, free: 5.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001702/0.1225, allocations: 67.88 kB / 450.6 MB, free: 5.094 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1225, allocations: 0 / 450.6 MB, free: 5.094 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.382e-05/0.1225, allocations: 28.06 kB / 450.6 MB, free: 5.066 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.1228, allocations: 27.97 kB / 450.6 MB, free: 5.039 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009331/0.1238, allocations: 0.6352 MB / 451.3 MB, free: 4.355 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.124, allocations: 0.7004 MB / 452 MB, free: 3.629 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.299e-05/0.1241, allocations: 8.891 kB / 452 MB, free: 3.613 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.797e-05/0.1242, allocations: 43.34 kB / 452 MB, free: 3.574 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1242, allocations: 0 / 452 MB, free: 3.574 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01453/0.1387, allocations: 3.058 MB / 455.1 MB, free: 0.5156 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001945/0.1389, allocations: 222 kB / 455.3 MB, free: 280 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.621/1.76, allocations: 0 / 455.3 MB, free: 280 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test55_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test55.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat does not exist to compare? outputFormat=mat