Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test44",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.00091/0.0009103, 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.001136/0.001136, allocations: 176.6 kB / 16.58 MB, free: 6.062 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.554/1.554, allocations: 205.4 MB / 222.7 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.344/0.344, allocations: 43.53 MB / 314.6 MB, free: 8.723 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.0004675/0.0004675, allocations: 20 kB / 384 MB, free: 7.898 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.11, allocations: 58.85 MB / 442.9 MB, free: 12.94 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.002399/0.1125, allocations: 1.391 MB / 444.3 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001301/0.1138, allocations: 0.7422 MB / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.745e-05/0.1139, allocations: 4 kB / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002395/0.1141, allocations: 35.83 kB / 445.1 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001438/0.1143, allocations: 43.83 kB / 445.1 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002149/0.1145, allocations: 83.83 kB / 445.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001299/0.1146, allocations: 75.77 kB / 445.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.58e-05/0.1147, allocations: 16.22 kB / 445.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.584e-05/0.1148, allocations: 43.77 kB / 445.3 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.417e-05/0.1149, allocations: 23.86 kB / 445.3 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.1149, allocations: 0 / 445.3 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.279e-05/0.115, allocations: 43.92 kB / 445.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.973e-05/0.115, allocations: 23.84 kB / 445.4 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.989e-05/0.1151, allocations: 37.69 kB / 445.4 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001296/0.1152, allocations: 84.11 kB / 445.5 MB, free: 10.28 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.1152, allocations: 3.938 kB / 445.5 MB, free: 10.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1152, allocations: 0 / 445.5 MB, free: 10.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.279e-06/0.1153, allocations: 4 kB / 445.5 MB, free: 10.27 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.0004677/0.1157, allocations: 410.8 kB / 445.9 MB, free: 9.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.1158, allocations: 8.031 kB / 445.9 MB, free: 9.812 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.563e-05/0.1158, allocations: 30.56 kB / 446 MB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.978e-05/0.1158, allocations: 11.91 kB / 446 MB, free: 9.762 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002063/0.1161, allocations: 207.5 kB / 446.2 MB, free: 9.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.1161, allocations: 4 kB / 446.2 MB, free: 9.516 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.1161, allocations: 4 kB / 446.2 MB, free: 9.512 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.1163, allocations: 61.61 kB / 446.3 MB, free: 9.445 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.1163, allocations: 0 / 446.3 MB, free: 9.445 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.1163, allocations: 7.953 kB / 446.3 MB, free: 9.438 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.1163, allocations: 0 / 446.3 MB, free: 9.438 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.751e-05/0.1164, allocations: 15.98 kB / 446.3 MB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003649/0.1168, allocations: 285 kB / 446.6 MB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.1169, allocations: 62.61 kB / 446.6 MB, free: 9.023 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.998e-05/0.117, allocations: 16.86 kB / 446.6 MB, free: 9.004 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.117, allocations: 0 / 446.6 MB, free: 9.004 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002017/0.1172, allocations: 71.33 kB / 446.7 MB, free: 8.922 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.1172, allocations: 4 kB / 446.7 MB, free: 8.918 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005437/0.1178, allocations: 177.1 kB / 446.9 MB, free: 8.738 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.1179, allocations: 59.41 kB / 446.9 MB, free: 8.668 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/0.1181, allocations: 195.3 kB / 447.1 MB, free: 8.469 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.1181, allocations: 29.7 kB / 447.2 MB, free: 8.434 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.884e-05/0.1182, allocations: 96.14 kB / 447.2 MB, free: 8.336 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.089e-05/0.1182, allocations: 31.58 kB / 447.3 MB, free: 8.305 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.512e-06/0.1182, allocations: 4 kB / 447.3 MB, free: 8.301 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.1183, allocations: 322.8 kB / 447.6 MB, free: 7.977 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.93e-05/0.1184, allocations: 19.98 kB / 447.6 MB, free: 7.957 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.299e-05/0.1185, allocations: 45.64 kB / 447.7 MB, free: 7.906 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.514e-05/0.1185, allocations: 24 kB / 447.7 MB, free: 7.883 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1185, allocations: 0 / 447.7 MB, free: 7.883 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000164/0.1187, allocations: 97.64 kB / 447.8 MB, free: 7.781 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.1187, allocations: 4 kB / 447.8 MB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1187, allocations: 7.922 kB / 447.8 MB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.1188, allocations: 4 kB / 447.8 MB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.892e-05/0.1188, allocations: 19.97 kB / 447.8 MB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.1189, allocations: 0 / 447.8 MB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.4e-05/0.1189, allocations: 8 kB / 447.8 MB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.1189, allocations: 4 kB / 447.8 MB, free: 7.734 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.897e-05/0.119, allocations: 126.8 kB / 448 MB, free: 7.602 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.829e-05/0.119, allocations: 11.86 kB / 448 MB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.692e-05/0.1191, allocations: 25.39 kB / 448 MB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1191, allocations: 0 / 448 MB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.1191, allocations: 4 kB / 448 MB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1191, allocations: 0 / 448 MB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003664/0.1195, allocations: 395.2 kB / 448.4 MB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1195, allocations: 384 / 448.4 MB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.265e-05/0.1195, allocations: 15.98 kB / 448.4 MB, free: 7.102 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.1195, allocations: 7.938 kB / 448.4 MB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.1195, allocations: 4 kB / 448.4 MB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1196, allocations: 0 / 448.4 MB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1196, allocations: 0 / 448.4 MB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00019/0.1198, allocations: 204.3 kB / 448.6 MB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.674e-05/0.1198, allocations: 96.91 kB / 448.7 MB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.1198, allocations: 0 / 448.7 MB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.647e-05/0.1199, allocations: 7.984 kB / 448.7 MB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.154e-05/0.1199, allocations: 11.98 kB / 448.7 MB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.12, allocations: 8 kB / 448.7 MB, free: 6.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001087/0.1201, allocations: 152.9 kB / 448.9 MB, free: 6.582 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.332e-06/0.1201, allocations: 0 / 448.9 MB, free: 6.582 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002396/0.1203, allocations: 19.94 kB / 448.9 MB, free: 6.562 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.001282/0.1216, allocations: 1.097 MB / 450 MB, free: 5.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001571/0.1218, allocations: 55.92 kB / 450 MB, free: 5.426 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1218, allocations: 0 / 450 MB, free: 5.426 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.725e-05/0.1219, allocations: 35.98 kB / 450.1 MB, free: 5.391 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003056/0.1222, allocations: 19.98 kB / 450.1 MB, free: 5.371 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.1233, allocations: 0.7389 MB / 450.8 MB, free: 4.574 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002535/0.1235, allocations: 0.7043 MB / 451.5 MB, free: 3.844 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.575e-05/0.1236, allocations: 12.89 kB / 451.6 MB, free: 3.832 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.737e-05/0.1236, allocations: 35.42 kB / 451.6 MB, free: 3.797 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1236, allocations: 0 / 451.6 MB, free: 3.797 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01257/0.1362, allocations: 2.985 MB / 454.6 MB, free: 0.8125 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000154/0.1364, allocations: 217.5 kB / 454.8 MB, free: 0.5742 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.666/1.802, allocations: 0 / 454.8 MB, free: 0.5742 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test44_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test44.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat does not exist to compare? outputFormat=mat