Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test59,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test59,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test59",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.001157/0.001157, allocations: 95.08 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 179.8 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 223.2 MB / 241.8 MB, free: 14.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2046/0.2046, allocations: 44.22 MB / 337.1 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003279/0.000328, allocations: 17.22 kB / 409.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1121, allocations: 61.92 MB / 471.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.001664/0.1138, allocations: 1.39 MB / 472.9 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001652/0.1155, allocations: 1.363 MB / 474.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.699e-05/0.1156, allocations: 3.938 kB / 474.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002401/0.1158, allocations: 31.89 kB / 474.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001593/0.116, allocations: 43.83 kB / 474.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000243/0.1163, allocations: 99.14 kB / 474.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.1164, allocations: 63.84 kB / 474.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.252e-05/0.1165, allocations: 12.23 kB / 474.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.534e-05/0.1166, allocations: 43.77 kB / 474.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.1167, allocations: 19.92 kB / 474.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.1167, allocations: 4 kB / 474.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.495e-05/0.1168, allocations: 47.84 kB / 474.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.043e-05/0.1169, allocations: 11.98 kB / 474.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.988e-05/0.1169, allocations: 37.64 kB / 474.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001437/0.117, allocations: 88.09 kB / 474.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.1171, allocations: 0 / 474.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1171, allocations: 0 / 474.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.337e-06/0.1171, allocations: 0 / 474.8 MB, free: 10.36 MB / 350.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.0004348/0.1175, allocations: 399 kB / 475.2 MB, free: 9.926 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.1176, allocations: 8.031 kB / 475.2 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.57e-05/0.1176, allocations: 38.56 kB / 475.2 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.076e-05/0.1176, allocations: 7.906 kB / 475.2 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/0.1178, allocations: 198.9 kB / 475.4 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.1179, allocations: 11.95 kB / 475.4 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.1179, allocations: 0 / 475.4 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.118, allocations: 75.39 kB / 475.5 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.567e-06/0.118, allocations: 3.906 kB / 475.5 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.1181, allocations: 0 / 475.5 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1181, allocations: 0 / 475.5 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.979e-05/0.1181, allocations: 19.98 kB / 475.5 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002927/0.1184, allocations: 284.8 kB / 475.8 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.1186, allocations: 58.67 kB / 475.9 MB, free: 9.113 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.1186, allocations: 4 kB / 475.9 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001562/0.1188, allocations: 71.45 kB / 476 MB, free: 9.027 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.1188, allocations: 0 / 476 MB, free: 9.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004646/0.1193, allocations: 169.2 kB / 476.1 MB, free: 8.855 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.1193, allocations: 85.05 kB / 476.2 MB, free: 8.754 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.1195, allocations: 160 kB / 476.4 MB, free: 8.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.1195, allocations: 25.7 kB / 476.4 MB, free: 8.559 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.241e-05/0.1195, allocations: 92.14 kB / 476.5 MB, free: 8.465 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.781e-05/0.1196, allocations: 31.62 kB / 476.5 MB, free: 8.434 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-06/0.1196, allocations: 0 / 476.5 MB, free: 8.434 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.766e-05/0.1197, allocations: 322.8 kB / 476.8 MB, free: 8.109 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.199e-05/0.1197, allocations: 16 kB / 476.8 MB, free: 8.094 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.179e-05/0.1198, allocations: 50.5 kB / 476.9 MB, free: 8.035 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.858e-05/0.1199, allocations: 27.98 kB / 476.9 MB, free: 8.008 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1199, allocations: 0 / 476.9 MB, free: 8.008 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001637/0.12, allocations: 93.53 kB / 477 MB, free: 7.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.1201, allocations: 4 kB / 477 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.1201, allocations: 0 / 477 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.1201, allocations: 4 kB / 477 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.723e-05/0.1202, allocations: 15.98 kB / 477 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.1202, allocations: 4.062 kB / 477 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.709e-05/0.1202, allocations: 15.84 kB / 477 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.1203, allocations: 7.953 kB / 477.1 MB, free: 7.859 MB / 350.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.545e-05/0.1204, allocations: 118.4 kB / 477.2 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.884e-05/0.1204, allocations: 11.89 kB / 477.2 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.959e-05/0.1204, allocations: 12.72 kB / 477.2 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.1204, allocations: 4 kB / 477.2 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.1204, allocations: 0 / 477.2 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.1204, allocations: 4 kB / 477.2 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003855/0.1208, allocations: 395.3 kB / 477.6 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1208, allocations: 384 / 477.6 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.183e-05/0.1209, allocations: 8 kB / 477.6 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1209, allocations: 0 / 477.6 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.1209, allocations: 4 kB / 477.6 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.1209, allocations: 4 kB / 477.6 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.1209, allocations: 3.953 kB / 477.6 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001973/0.1211, allocations: 218 kB / 477.8 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.356e-05/0.1212, allocations: 85.02 kB / 477.9 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.336e-05/0.1212, allocations: 4 kB / 477.9 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.844e-05/0.1213, allocations: 11.94 kB / 477.9 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.518e-05/0.1213, allocations: 3.938 kB / 477.9 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.1213, allocations: 12 kB / 477.9 MB, free: 6.863 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.896e-05/0.1214, allocations: 118.2 kB / 478 MB, free: 6.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1214, allocations: 0 / 478 MB, free: 6.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002632/0.1217, allocations: 35.98 kB / 478.1 MB, free: 6.715 MB / 350.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.001357/0.1231, allocations: 1.202 MB / 479.3 MB, free: 5.684 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001537/0.1232, allocations: 59.91 kB / 479.3 MB, free: 5.625 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1232, allocations: 0 / 479.3 MB, free: 5.625 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.623e-05/0.1233, allocations: 31.98 kB / 479.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.1236, allocations: 19.98 kB / 479.4 MB, free: 5.574 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009827/0.1245, allocations: 0.7783 MB / 480.2 MB, free: 4.738 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002229/0.1248, allocations: 0.7014 MB / 480.9 MB, free: 4.012 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.162e-05/0.1248, allocations: 25.25 kB / 480.9 MB, free: 3.984 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.797e-05/0.1249, allocations: 35.42 kB / 480.9 MB, free: 3.949 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1249, allocations: 0 / 480.9 MB, free: 3.949 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01354/0.1385, allocations: 3.052 MB / 484 MB, free: 1.031 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001859/0.1387, allocations: 212.6 kB / 484.2 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.695/1.833, allocations: 64 / 484.2 MB, free: 0.7969 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test59_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test59.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat does not exist to compare? outputFormat=mat