Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5",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.0008415/0.0008414, allocations: 97.25 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.001043/0.001043, allocations: 176.4 kB / 16.58 MB, free: 5.672 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.609/1.609, allocations: 205.4 MB / 222.7 MB, free: 5.648 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.3468/0.3468, allocations: 43.55 MB / 314.6 MB, free: 8.801 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.0005114/0.0005116, allocations: 19.98 kB / 384 MB, free: 7.895 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1066, allocations: 58.85 MB / 442.9 MB, free: 12.94 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.002008/0.1086, allocations: 1.406 MB / 444.3 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00116/0.1098, allocations: 0.7499 MB / 445 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.826e-05/0.1099, allocations: 0 / 445 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003018/0.1102, allocations: 107.7 kB / 445.1 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002051/0.1104, allocations: 71.77 kB / 445.2 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002538/0.1107, allocations: 75.84 kB / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000162/0.1109, allocations: 103.7 kB / 445.4 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.39e-05/0.111, allocations: 15.98 kB / 445.4 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.1111, allocations: 59.75 kB / 445.5 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.766e-05/0.1112, allocations: 59.75 kB / 445.5 MB, free: 10.28 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.1112, allocations: 0 / 445.5 MB, free: 10.28 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.486e-05/0.1113, allocations: 35.98 kB / 445.6 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.47e-05/0.1114, allocations: 23.92 kB / 445.6 MB, free: 10.22 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.954e-05/0.1114, allocations: 37.64 kB / 445.6 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001541/0.1116, allocations: 108.1 kB / 445.7 MB, free: 10.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.1116, allocations: 4 kB / 445.7 MB, free: 10.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1116, allocations: 0 / 445.7 MB, free: 10.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.1116, allocations: 0 / 445.7 MB, free: 10.07 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004957/0.1121, allocations: 434.5 kB / 446.1 MB, free: 9.598 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.1121, allocations: 8.031 kB / 446.2 MB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.951e-05/0.1122, allocations: 38.55 kB / 446.2 MB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.369e-05/0.1122, allocations: 11.81 kB / 446.2 MB, free: 9.531 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002158/0.1125, allocations: 222.5 kB / 446.4 MB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.1125, allocations: 12 kB / 446.4 MB, free: 9.262 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/0.1125, allocations: 8 kB / 446.4 MB, free: 9.254 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.1127, allocations: 69.53 kB / 446.5 MB, free: 9.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.1127, allocations: 0 / 446.5 MB, free: 9.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.1127, allocations: 3.953 kB / 446.5 MB, free: 9.176 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.1127, allocations: 4 kB / 446.5 MB, free: 9.172 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.825e-05/0.1128, allocations: 31.97 kB / 446.5 MB, free: 9.141 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003846/0.1132, allocations: 316.7 kB / 446.9 MB, free: 8.781 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001916/0.1134, allocations: 82.72 kB / 446.9 MB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.608e-05/0.1135, allocations: 20.86 kB / 447 MB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.79e-05/0.1135, allocations: 11.94 kB / 447 MB, free: 8.656 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002/0.1137, allocations: 75.42 kB / 447 MB, free: 8.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.303e-06/0.1137, allocations: 0 / 447 MB, free: 8.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005953/0.1143, allocations: 236.9 kB / 447.3 MB, free: 8.332 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.1144, allocations: 51.41 kB / 447.3 MB, free: 8.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002164/0.1146, allocations: 246.5 kB / 447.6 MB, free: 8.016 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.1146, allocations: 25.7 kB / 447.6 MB, free: 7.984 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.506e-05/0.1147, allocations: 112.1 kB / 447.7 MB, free: 7.871 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.857e-05/0.1147, allocations: 35.55 kB / 447.7 MB, free: 7.836 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-06/0.1147, allocations: 0 / 447.7 MB, free: 7.836 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.1149, allocations: 330.8 kB / 448.1 MB, free: 7.504 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.576e-05/0.115, allocations: 27.98 kB / 448.1 MB, free: 7.477 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.483e-05/0.115, allocations: 45.7 kB / 448.1 MB, free: 7.426 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.128e-05/0.1151, allocations: 32 kB / 448.2 MB, free: 7.395 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1151, allocations: 0 / 448.2 MB, free: 7.395 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002222/0.1154, allocations: 141.3 kB / 448.3 MB, free: 7.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.1154, allocations: 8.031 kB / 448.3 MB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1154, allocations: 4 kB / 448.3 MB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.1154, allocations: 0 / 448.3 MB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.51e-05/0.1155, allocations: 19.98 kB / 448.3 MB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.1155, allocations: 4 kB / 448.3 MB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.555e-05/0.1156, allocations: 3.906 kB / 448.3 MB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.1156, allocations: 8 kB / 448.3 MB, free: 7.203 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 (13): * Single equations (assignments): 13 * 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.0001078/0.1157, allocations: 145.7 kB / 448.5 MB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.301e-05/0.1157, allocations: 19.84 kB / 448.5 MB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.43e-05/0.1158, allocations: 21.41 kB / 448.5 MB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.1158, allocations: 0 / 448.5 MB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.1158, allocations: 0 / 448.5 MB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1158, allocations: 0 / 448.5 MB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004696/0.1163, allocations: 459 kB / 449 MB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.1163, allocations: 4 kB / 449 MB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.595e-05/0.1163, allocations: 19.92 kB / 449 MB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.1164, allocations: 4.031 kB / 449 MB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.1164, allocations: 4 kB / 449 MB, free: 6.473 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.1164, allocations: 4 kB / 449 MB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1164, allocations: 0 / 449 MB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002454/0.1166, allocations: 232.1 kB / 449.2 MB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.565e-05/0.1167, allocations: 92.92 kB / 449.3 MB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/0.1167, allocations: 7.922 kB / 449.3 MB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.121e-05/0.1168, allocations: 8 kB / 449.3 MB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.618e-05/0.1169, allocations: 11.98 kB / 449.4 MB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-05/0.1169, allocations: 8 kB / 449.4 MB, free: 6.078 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001527/0.117, allocations: 184.5 kB / 449.5 MB, free: 5.898 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.117, allocations: 0 / 449.5 MB, free: 5.898 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002689/0.1173, allocations: 28 kB / 449.6 MB, free: 5.871 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 (11): * Single equations (assignments): 9 * 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.001435/0.1188, allocations: 1.114 MB / 450.7 MB, free: 4.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002064/0.119, allocations: 83.84 kB / 450.8 MB, free: 4.688 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.119, allocations: 3.938 kB / 450.8 MB, free: 4.684 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.326e-05/0.1191, allocations: 39.98 kB / 450.8 MB, free: 4.645 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.1194, allocations: 32.16 kB / 450.8 MB, free: 4.613 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.1208, allocations: 0.9175 MB / 451.8 MB, free: 3.641 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/0.121, allocations: 0.7165 MB / 452.5 MB, free: 2.898 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.333e-05/0.1211, allocations: 21.06 kB / 452.5 MB, free: 2.879 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.266e-05/0.1212, allocations: 47.42 kB / 452.5 MB, free: 2.832 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1212, allocations: 0 / 452.5 MB, free: 2.832 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1907/0.3119, allocations: 3.447 MB / 456 MB, free: 46.11 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001576/0.3121, allocations: 223.6 kB / 456.2 MB, free: 45.87 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.761/2.073, allocations: 0 / 456.2 MB, free: 45.87 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat does not exist to compare? outputFormat=mat