Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45",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.0008657/0.0008659, 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.001108/0.001109, allocations: 176.9 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.545/1.545, allocations: 205.4 MB / 222.8 MB, free: 5.645 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: 9.016 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.0004919/0.000492, allocations: 19.98 kB / 384 MB, free: 8.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1118, allocations: 58.87 MB / 442.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.002165/0.114, allocations: 1.398 MB / 444.3 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001205/0.1152, allocations: 0.7383 MB / 445 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.652e-05/0.1153, allocations: 3.938 kB / 445 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003419/0.1157, allocations: 39.88 kB / 445.1 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002295/0.1159, allocations: 43.83 kB / 445.1 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003057/0.1162, allocations: 75.84 kB / 445.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001826/0.1164, allocations: 83.7 kB / 445.3 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.1166, allocations: 12.2 kB / 445.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.1167, allocations: 43.8 kB / 445.3 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.403e-05/0.1168, allocations: 27.84 kB / 445.3 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.901e-05/0.1168, allocations: 4 kB / 445.4 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001198/0.1169, allocations: 35.98 kB / 445.4 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.902e-05/0.117, allocations: 15.92 kB / 445.4 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.639e-05/0.117, allocations: 41.64 kB / 445.4 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001808/0.1172, allocations: 88.02 kB / 445.5 MB, free: 10.51 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1172, allocations: 0 / 445.5 MB, free: 10.51 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1173, allocations: 4 kB / 445.5 MB, free: 10.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.1173, allocations: 0 / 445.5 MB, free: 10.5 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.0006139/0.1179, allocations: 402.8 kB / 445.9 MB, free: 10.06 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.483e-05/0.1179, allocations: 8.031 kB / 445.9 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.669e-05/0.118, allocations: 38.56 kB / 446 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.401e-05/0.1181, allocations: 7.906 kB / 446 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003005/0.1184, allocations: 211.4 kB / 446.2 MB, free: 9.754 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.1184, allocations: 0 / 446.2 MB, free: 9.754 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.1184, allocations: 8 kB / 446.2 MB, free: 9.746 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.1186, allocations: 49.67 kB / 446.2 MB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.1186, allocations: 4 kB / 446.2 MB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.1187, allocations: 7.953 kB / 446.3 MB, free: 9.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.1187, allocations: 0 / 446.3 MB, free: 9.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.731e-05/0.1188, allocations: 23.97 kB / 446.3 MB, free: 9.656 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004598/0.1192, allocations: 284.9 kB / 446.6 MB, free: 9.328 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.1194, allocations: 62.62 kB / 446.6 MB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.521e-05/0.1195, allocations: 20.84 kB / 446.6 MB, free: 9.234 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.225e-05/0.1195, allocations: 0 / 446.6 MB, free: 9.234 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002099/0.1197, allocations: 75.28 kB / 446.7 MB, free: 9.148 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.1198, allocations: 0 / 446.7 MB, free: 9.148 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006201/0.1204, allocations: 173.1 kB / 446.9 MB, free: 8.973 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.1204, allocations: 55.41 kB / 446.9 MB, free: 8.906 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001826/0.1206, allocations: 195.3 kB / 447.1 MB, free: 8.707 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.1206, allocations: 29.7 kB / 447.2 MB, free: 8.672 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.476e-05/0.1207, allocations: 104.1 kB / 447.3 MB, free: 8.566 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.916e-05/0.1208, allocations: 23.64 kB / 447.3 MB, free: 8.543 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.378e-06/0.1208, allocations: 4 kB / 447.3 MB, free: 8.539 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.1209, allocations: 330.7 kB / 447.6 MB, free: 8.207 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.344e-05/0.1209, allocations: 19.98 kB / 447.6 MB, free: 8.188 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.483e-05/0.121, allocations: 41.7 kB / 447.7 MB, free: 8.141 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.604e-05/0.1211, allocations: 20 kB / 447.7 MB, free: 8.121 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1211, allocations: 0 / 447.7 MB, free: 8.121 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000178/0.1213, allocations: 109.4 kB / 447.8 MB, free: 8.008 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.1213, allocations: 8 kB / 447.8 MB, free: 8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1213, allocations: 0 / 447.8 MB, free: 8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.1213, allocations: 0 / 447.8 MB, free: 8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.85e-05/0.1214, allocations: 15.98 kB / 447.8 MB, free: 7.984 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.1214, allocations: 8.031 kB / 447.8 MB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.554e-05/0.1215, allocations: 0 / 447.8 MB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.1215, allocations: 4 kB / 447.8 MB, free: 7.973 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.0001057/0.1216, allocations: 133.8 kB / 448 MB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.206e-05/0.1217, allocations: 15.86 kB / 448 MB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.982e-05/0.1217, allocations: 13.41 kB / 448 MB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.1217, allocations: 0 / 448 MB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.1217, allocations: 4 kB / 448 MB, free: 7.797 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1217, allocations: 0 / 448 MB, free: 7.797 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000405/0.1221, allocations: 403.2 kB / 448.4 MB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.1221, allocations: 0 / 448.4 MB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.033e-05/0.1222, allocations: 8 kB / 448.4 MB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-06/0.1222, allocations: 4 kB / 448.4 MB, free: 7.332 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.1222, allocations: 0 / 448.4 MB, free: 7.332 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1222, allocations: 0 / 448.4 MB, free: 7.332 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1222, allocations: 384 / 448.4 MB, free: 7.332 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002104/0.1224, allocations: 208.5 kB / 448.6 MB, free: 7.109 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.01e-05/0.1225, allocations: 96.84 kB / 448.7 MB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.654e-05/0.1225, allocations: 11.94 kB / 448.7 MB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.724e-05/0.1226, allocations: 4 kB / 448.7 MB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.869e-05/0.1227, allocations: 7.984 kB / 448.7 MB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.718e-05/0.1227, allocations: 4 kB / 448.7 MB, free: 6.969 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001273/0.1228, allocations: 160.9 kB / 448.9 MB, free: 6.812 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1228, allocations: 0 / 448.9 MB, free: 6.812 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002612/0.1231, allocations: 20 kB / 448.9 MB, free: 6.793 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.001506/0.1246, allocations: 1.098 MB / 450 MB, free: 5.711 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001749/0.1248, allocations: 51.98 kB / 450 MB, free: 5.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1248, allocations: 0 / 450 MB, free: 5.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.895e-05/0.1249, allocations: 27.92 kB / 450.1 MB, free: 5.633 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003414/0.1252, allocations: 36.09 kB / 450.1 MB, free: 5.598 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.1264, allocations: 0.7272 MB / 450.8 MB, free: 4.812 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.1267, allocations: 0.7004 MB / 451.5 MB, free: 4.086 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.095e-05/0.1268, allocations: 25.16 kB / 451.6 MB, free: 4.062 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.199e-05/0.1269, allocations: 43.42 kB / 451.6 MB, free: 4.02 MB / 382.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1269, allocations: 0 / 451.6 MB, free: 4.02 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0149/0.1418, allocations: 2.974 MB / 454.6 MB, free: 1.047 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002322/0.142, allocations: 213.5 kB / 454.8 MB, free: 0.8125 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.715/1.857, allocations: 0 / 454.8 MB, free: 0.8125 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat does not exist to compare? outputFormat=mat