Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test43,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test43",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.0009748/0.0009748, 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.00183/0.00183, allocations: 174.4 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.51/1.51, allocations: 205.4 MB / 222.8 MB, free: 5.652 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.3591/0.3591, allocations: 43.55 MB / 314.6 MB, free: 9.086 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.0004993/0.0004994, allocations: 16 kB / 384 MB, free: 8.145 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1129, allocations: 58.86 MB / 442.9 MB, free: 13.19 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.002395/0.1154, allocations: 1.391 MB / 444.3 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001276/0.1167, allocations: 0.7461 MB / 445 MB, free: 11.03 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.1168, allocations: 0 / 445 MB, free: 11.03 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003066/0.1171, allocations: 43.88 kB / 445.1 MB, free: 10.99 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001998/0.1173, allocations: 43.83 kB / 445.1 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002715/0.1176, allocations: 71.86 kB / 445.2 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000159/0.1178, allocations: 87.67 kB / 445.3 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.1179, allocations: 8.219 kB / 445.3 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.928e-05/0.118, allocations: 47.78 kB / 445.3 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.299e-05/0.1181, allocations: 27.84 kB / 445.4 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.1181, allocations: 0 / 445.4 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.1182, allocations: 36 kB / 445.4 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.271e-05/0.1183, allocations: 19.91 kB / 445.4 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.202e-05/0.1183, allocations: 41.62 kB / 445.4 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001503/0.1185, allocations: 92.03 kB / 445.5 MB, free: 10.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.1185, allocations: 0 / 445.5 MB, free: 10.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1185, allocations: 0 / 445.5 MB, free: 10.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.1185, allocations: 0 / 445.5 MB, free: 10.52 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.000526/0.119, allocations: 406.8 kB / 445.9 MB, free: 10.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.1191, allocations: 12.02 kB / 445.9 MB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.666e-05/0.1191, allocations: 30.56 kB / 446 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.558e-05/0.1192, allocations: 7.906 kB / 446 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002391/0.1194, allocations: 215.4 kB / 446.2 MB, free: 9.762 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.1195, allocations: 4 kB / 446.2 MB, free: 9.758 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.1195, allocations: 0 / 446.2 MB, free: 9.758 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.1196, allocations: 53.67 kB / 446.3 MB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.1196, allocations: 0 / 446.3 MB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.1197, allocations: 11.89 kB / 446.3 MB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.1197, allocations: 4 kB / 446.3 MB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.75e-05/0.1197, allocations: 15.98 kB / 446.3 MB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003434/0.1201, allocations: 284.9 kB / 446.6 MB, free: 9.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.1203, allocations: 54.67 kB / 446.6 MB, free: 9.277 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.617e-05/0.1203, allocations: 24.86 kB / 446.6 MB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.1203, allocations: 0 / 446.6 MB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001579/0.1205, allocations: 71.28 kB / 446.7 MB, free: 9.168 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.1205, allocations: 3.938 kB / 446.7 MB, free: 9.164 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005065/0.121, allocations: 177.2 kB / 446.9 MB, free: 8.984 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.1211, allocations: 55.41 kB / 446.9 MB, free: 8.918 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.1212, allocations: 199.3 kB / 447.1 MB, free: 8.715 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.1213, allocations: 25.7 kB / 447.2 MB, free: 8.684 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.567e-05/0.1213, allocations: 104.1 kB / 447.3 MB, free: 8.578 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.934e-05/0.1214, allocations: 27.64 kB / 447.3 MB, free: 8.551 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-06/0.1214, allocations: 0 / 447.3 MB, free: 8.551 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.1215, allocations: 326.8 kB / 447.6 MB, free: 8.223 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.354e-05/0.1216, allocations: 16 kB / 447.6 MB, free: 8.207 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.824e-05/0.1216, allocations: 37.7 kB / 447.7 MB, free: 8.164 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.976e-05/0.1217, allocations: 31.97 kB / 447.7 MB, free: 8.133 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1217, allocations: 0 / 447.7 MB, free: 8.133 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001658/0.1219, allocations: 105.4 kB / 447.8 MB, free: 8.023 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.1219, allocations: 4 kB / 447.8 MB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1219, allocations: 0 / 447.8 MB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.1219, allocations: 4 kB / 447.8 MB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.106e-05/0.122, allocations: 15.98 kB / 447.8 MB, free: 8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.122, allocations: 0 / 447.8 MB, free: 8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.706e-05/0.1221, allocations: 12.03 kB / 447.8 MB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.1221, allocations: 0 / 447.8 MB, free: 7.988 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 9.099e-05/0.1222, allocations: 133.8 kB / 448 MB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.924e-05/0.1222, allocations: 11.86 kB / 448 MB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.234e-05/0.1223, allocations: 21.39 kB / 448 MB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1223, allocations: 0 / 448 MB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.1223, allocations: 0 / 448 MB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1223, allocations: 0 / 448 MB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004166/0.1227, allocations: 403.2 kB / 448.4 MB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1227, allocations: 3.938 kB / 448.4 MB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.194e-05/0.1228, allocations: 8 kB / 448.4 MB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.1228, allocations: 0 / 448.4 MB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.1228, allocations: 11.98 kB / 448.4 MB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.1228, allocations: 0 / 448.4 MB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1228, allocations: 0 / 448.4 MB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002024/0.123, allocations: 204.5 kB / 448.6 MB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.656e-05/0.1231, allocations: 93.11 kB / 448.7 MB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.1231, allocations: 3.984 kB / 448.7 MB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.979e-05/0.1232, allocations: 7.938 kB / 448.7 MB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.496e-05/0.1232, allocations: 11.98 kB / 448.7 MB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.1232, allocations: 7.984 kB / 448.7 MB, free: 6.977 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001057/0.1233, allocations: 144.9 kB / 448.9 MB, free: 6.836 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1234, allocations: 4 kB / 448.9 MB, free: 6.832 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000252/0.1236, allocations: 23.98 kB / 448.9 MB, free: 6.809 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.001291/0.1249, allocations: 1.105 MB / 450 MB, free: 5.719 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001569/0.1251, allocations: 55.97 kB / 450.1 MB, free: 5.664 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1251, allocations: 0 / 450.1 MB, free: 5.664 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.973e-05/0.1252, allocations: 31.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.0003099/0.1255, allocations: 24.11 kB / 450.1 MB, free: 5.609 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.1267, allocations: 0.7272 MB / 450.8 MB, free: 4.824 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/0.127, allocations: 0.7043 MB / 451.5 MB, free: 4.094 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.471e-05/0.127, allocations: 17.17 kB / 451.6 MB, free: 4.078 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.168e-05/0.1271, allocations: 35.42 kB / 451.6 MB, free: 4.043 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.1271, allocations: 4 kB / 451.6 MB, free: 4.039 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01265/0.1398, allocations: 2.973 MB / 454.6 MB, free: 1.066 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001899/0.14, allocations: 221.5 kB / 454.8 MB, free: 0.8242 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.651/1.791, allocations: 0 / 454.8 MB, free: 0.8242 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test43_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test43.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat does not exist to compare? outputFormat=mat