Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1",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.0008169/0.000817, allocations: 95.03 kB / 17.35 MB, free: 6.375 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.0009617/0.0009617, allocations: 176.6 kB / 18.25 MB, free: 5.523 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.338/1.338, allocations: 223.3 MB / 242.3 MB, free: 224 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2051/0.2051, allocations: 44.24 MB / 337.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003389/0.0003389, allocations: 17.78 kB / 410.5 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.103, allocations: 61.92 MB / 472.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.002052/0.1051, allocations: 1.413 MB / 473.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00138/0.1065, allocations: 0.846 MB / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.727e-05/0.1066, allocations: 0 / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003097/0.1069, allocations: 51.81 kB / 474.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001978/0.1071, allocations: 55.81 kB / 474.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003467/0.1074, allocations: 90.45 kB / 474.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001845/0.1076, allocations: 99.69 kB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.856e-05/0.1077, allocations: 4.234 kB / 474.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.1079, allocations: 51.7 kB / 475 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.152e-05/0.1079, allocations: 27.86 kB / 475 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.108, allocations: 0 / 475 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.1081, allocations: 47.92 kB / 475 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.769e-05/0.1082, allocations: 27.91 kB / 475.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.146e-05/0.1082, allocations: 65.38 kB / 475.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002127/0.1084, allocations: 131.8 kB / 475.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.1085, allocations: 0 / 475.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1085, allocations: 0 / 475.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.1085, allocations: 0 / 475.3 MB, free: 10.32 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.0005435/0.109, allocations: 418.8 kB / 475.7 MB, free: 9.859 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.1091, allocations: 12.03 kB / 475.7 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.442e-05/0.1091, allocations: 38.75 kB / 475.7 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.307e-05/0.1092, allocations: 8.844 kB / 475.7 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002351/0.1094, allocations: 219.9 kB / 475.9 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.1094, allocations: 4.359 kB / 476 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.174e-05/0.1095, allocations: 11.94 kB / 476 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.1096, allocations: 57.61 kB / 476 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.1097, allocations: 0 / 476 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.1097, allocations: 7.984 kB / 476 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.1097, allocations: 0 / 476 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.384e-05/0.1098, allocations: 19.98 kB / 476 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003797/0.1102, allocations: 296.9 kB / 476.3 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001698/0.1103, allocations: 58.61 kB / 476.4 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.158e-05/0.1104, allocations: 20.86 kB / 476.4 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.1104, allocations: 0 / 476.4 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001783/0.1106, allocations: 71.38 kB / 476.5 MB, free: 8.922 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.1106, allocations: 0 / 476.5 MB, free: 8.922 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000499/0.1111, allocations: 185 kB / 476.7 MB, free: 8.734 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/0.1112, allocations: 51.41 kB / 476.7 MB, free: 8.672 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002228/0.1114, allocations: 266.9 kB / 477 MB, free: 8.398 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.1114, allocations: 29.7 kB / 477 MB, free: 8.363 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.3e-05/0.1115, allocations: 112 kB / 477.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.393e-05/0.1115, allocations: 27.7 kB / 477.1 MB, free: 8.223 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.99e-05/0.1116, allocations: 17.72 kB / 477.2 MB, free: 8.199 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.1117, allocations: 326.8 kB / 477.5 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.716e-05/0.1118, allocations: 19.98 kB / 477.5 MB, free: 7.852 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.478e-05/0.1118, allocations: 41.58 kB / 477.5 MB, free: 7.805 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.1119, allocations: 61.7 kB / 477.6 MB, free: 7.738 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.112, allocations: 4.188 kB / 477.6 MB, free: 7.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000175/0.1121, allocations: 97.53 kB / 477.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.1122, allocations: 7.938 kB / 477.7 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.1122, allocations: 0 / 477.7 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.1122, allocations: 0 / 477.7 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.96e-05/0.1123, allocations: 19.98 kB / 477.7 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.1123, allocations: 0 / 477.7 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.502e-05/0.1124, allocations: 15.88 kB / 477.7 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.1124, allocations: 0 / 477.7 MB, free: 7.59 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 0.0001073/0.1125, allocations: 144.9 kB / 477.9 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.321e-05/0.1125, allocations: 15.81 kB / 477.9 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.574e-05/0.1126, allocations: 21.39 kB / 477.9 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1126, allocations: 0 / 477.9 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.1126, allocations: 0 / 477.9 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.1126, allocations: 3.938 kB / 477.9 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004183/0.113, allocations: 411.2 kB / 478.3 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.113, allocations: 384 / 478.3 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.407e-05/0.1131, allocations: 8 kB / 478.3 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.1131, allocations: 7.938 kB / 478.3 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.1131, allocations: 7.984 kB / 478.3 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1131, allocations: 0 / 478.3 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1131, allocations: 240 / 478.3 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002192/0.1133, allocations: 220.1 kB / 478.6 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.514e-05/0.1134, allocations: 85.02 kB / 478.6 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/0.1134, allocations: 7.922 kB / 478.7 MB, free: 6.574 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.801e-05/0.1135, allocations: 8 kB / 478.7 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.184e-05/0.1136, allocations: 4 kB / 478.7 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.1136, allocations: 7.984 kB / 478.7 MB, free: 6.555 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001608/0.1137, allocations: 196.2 kB / 478.9 MB, free: 6.363 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1137, allocations: 0 / 478.9 MB, free: 6.363 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002482/0.114, allocations: 24 kB / 478.9 MB, free: 6.34 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.001375/0.1154, allocations: 1.112 MB / 480 MB, free: 5.383 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001745/0.1156, allocations: 55.98 kB / 480.1 MB, free: 5.328 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1156, allocations: 0 / 480.1 MB, free: 5.328 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.286e-05/0.1157, allocations: 27.92 kB / 480.1 MB, free: 5.301 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000375/0.116, allocations: 23.98 kB / 480.1 MB, free: 5.277 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002064/0.1181, allocations: 1.828 MB / 481.9 MB, free: 3.355 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002774/0.1184, allocations: 0.716 MB / 482.7 MB, free: 2.613 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.867e-05/0.1185, allocations: 17.17 kB / 482.7 MB, free: 2.594 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.72e-05/0.1186, allocations: 39.42 kB / 482.7 MB, free: 2.555 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1186, allocations: 0 / 482.7 MB, free: 2.555 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01313/0.1317, allocations: 3.273 MB / 486 MB, free: 15.41 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002295/0.132, allocations: 236.3 kB / 486.2 MB, free: 15.15 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.668/1.8, allocations: 0 / 486.2 MB, free: 15.15 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches