Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test16",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.001613/0.001613, allocations: 106.8 kB / 17.33 MB, free: 6 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.001994/0.001994, allocations: 193.3 kB / 18.25 MB, free: 5.09 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.425/1.425, allocations: 222.9 MB / 241.9 MB, free: 13.69 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.2114/0.2114, allocations: 44.17 MB / 336.2 MB, free: 2.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 68.86 kB / 408 MB, free: 27.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09849/0.09976, allocations: 60.83 MB / 468.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003643/0.1034, allocations: 1.753 MB / 470.6 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001772/0.1053, allocations: 0.8613 MB / 471.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001244/0.1054, allocations: 0 / 471.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000458/0.1059, allocations: 35.91 kB / 471.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003603/0.1063, allocations: 47.83 kB / 471.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004463/0.1068, allocations: 91.77 kB / 471.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002744/0.107, allocations: 99.69 kB / 471.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.1072, allocations: 8.234 kB / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.695e-05/0.1073, allocations: 43.78 kB / 471.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.609e-05/0.1074, allocations: 35.84 kB / 471.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.1074, allocations: 4 kB / 471.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.709e-05/0.1075, allocations: 43.92 kB / 471.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.156e-05/0.1076, allocations: 19.92 kB / 471.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.815e-05/0.1076, allocations: 31.8 kB / 471.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003664/0.108, allocations: 111.9 kB / 472 MB, free: 11.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.108, allocations: 0 / 472 MB, free: 11.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.108, allocations: 0 / 472 MB, free: 11.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.108, allocations: 0 / 472 MB, free: 11.41 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.0005795/0.1086, allocations: 415 kB / 472.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.1087, allocations: 8.031 kB / 472.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.823e-05/0.1087, allocations: 34.75 kB / 472.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.317e-05/0.1088, allocations: 8.844 kB / 472.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002734/0.1091, allocations: 211.7 kB / 472.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.1091, allocations: 384 / 472.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.761e-05/0.1091, allocations: 11.94 kB / 472.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.1093, allocations: 49.67 kB / 472.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.1093, allocations: 0 / 472.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.1093, allocations: 4 kB / 472.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.1093, allocations: 8 kB / 472.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.749e-05/0.1094, allocations: 19.98 kB / 472.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003659/0.1098, allocations: 284.8 kB / 473 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001702/0.11, allocations: 54.67 kB / 473.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.181e-05/0.11, allocations: 16.86 kB / 473.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.1101, allocations: 7.938 kB / 473.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002026/0.1103, allocations: 75.23 kB / 473.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.1103, allocations: 0 / 473.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006113/0.1109, allocations: 173.3 kB / 473.4 MB, free: 9.883 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.111, allocations: 55.34 kB / 473.4 MB, free: 9.816 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.1111, allocations: 178.2 kB / 473.6 MB, free: 9.633 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.967e-05/0.1112, allocations: 29.7 kB / 473.6 MB, free: 9.598 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.111e-05/0.1112, allocations: 96.14 kB / 473.7 MB, free: 9.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.174e-05/0.1112, allocations: 27.64 kB / 473.7 MB, free: 9.473 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/0.1113, allocations: 21.72 kB / 473.8 MB, free: 9.445 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.1114, allocations: 322.8 kB / 474.1 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.808e-05/0.1115, allocations: 19.98 kB / 474.1 MB, free: 9.102 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.66e-05/0.1116, allocations: 37.7 kB / 474.1 MB, free: 9.059 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001094/0.1117, allocations: 65.59 kB / 474.2 MB, free: 8.988 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1117, allocations: 0 / 474.2 MB, free: 8.988 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001949/0.1119, allocations: 113.5 kB / 474.3 MB, free: 8.871 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.1119, allocations: 6.969 kB / 474.3 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.1119, allocations: 0 / 474.3 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.1119, allocations: 0 / 474.3 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.514e-05/0.112, allocations: 23.92 kB / 474.3 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.112, allocations: 0 / 474.3 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.608e-05/0.1121, allocations: 11.97 kB / 474.4 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.1121, allocations: 4 kB / 474.4 MB, free: 8.828 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.38e-05/0.1122, allocations: 121.8 kB / 474.5 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.129e-05/0.1122, allocations: 7.906 kB / 474.5 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.544e-05/0.1123, allocations: 12.72 kB / 474.5 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1123, allocations: 4 kB / 474.5 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1123, allocations: 0 / 474.5 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1123, allocations: 3.938 kB / 474.5 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004077/0.1127, allocations: 387.3 kB / 474.9 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.1127, allocations: 384 / 474.9 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.385e-05/0.1128, allocations: 11.98 kB / 474.9 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.551e-05/0.1129, allocations: 7.938 kB / 474.9 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.1129, allocations: 4 kB / 474.9 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.1129, allocations: 3.938 kB / 474.9 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1129, allocations: 0 / 474.9 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002237/0.1131, allocations: 208.4 kB / 475.1 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.487e-05/0.1132, allocations: 85.02 kB / 475.2 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.767e-05/0.1132, allocations: 15.86 kB / 475.2 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.213e-05/0.1133, allocations: 4 kB / 475.2 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.52e-05/0.1133, allocations: 4 kB / 475.2 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.999e-05/0.1133, allocations: 7.984 kB / 475.2 MB, free: 7.848 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001085/0.1135, allocations: 136.7 kB / 475.4 MB, free: 7.715 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1135, allocations: 4 kB / 475.4 MB, free: 7.711 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002638/0.1137, allocations: 24 kB / 475.4 MB, free: 7.688 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001494/0.1152, allocations: 1.096 MB / 476.5 MB, free: 6.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001847/0.1154, allocations: 55.92 kB / 476.5 MB, free: 6.695 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1154, allocations: 0 / 476.5 MB, free: 6.695 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.085e-05/0.1155, allocations: 44.05 kB / 476.6 MB, free: 6.652 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000337/0.1159, allocations: 28.09 kB / 476.6 MB, free: 6.625 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001734/0.1176, allocations: 1.62 MB / 478.2 MB, free: 4.902 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002634/0.1179, allocations: 0.6963 MB / 478.9 MB, free: 4.18 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.264e-05/0.118, allocations: 12.89 kB / 478.9 MB, free: 4.168 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.784e-05/0.118, allocations: 35.42 kB / 479 MB, free: 4.137 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.118, allocations: 0 / 479 MB, free: 4.137 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01407/0.1321, allocations: 3.154 MB / 482.1 MB, free: 1.098 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002417/0.1324, allocations: 231.2 kB / 482.4 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.133/2.265, allocations: 7.938 kB / 482.4 MB, free: 0.8359 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test16_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches