Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2",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.001483/0.001483, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.001728/0.001728, allocations: 192 kB / 18.56 MB, free: 4.434 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.559/1.559, allocations: 222.9 MB / 242.3 MB, free: 15.16 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.2177/0.2177, allocations: 44.19 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001212, allocations: 59.06 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09728/0.09851, allocations: 60.83 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002955/0.1015, allocations: 1.704 MB / 471.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00134/0.1029, allocations: 0.8808 MB / 471.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.126e-05/0.103, allocations: 0 / 471.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002474/0.1032, allocations: 35.77 kB / 472 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002138/0.1035, allocations: 51.77 kB / 472 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002992/0.1038, allocations: 107.6 kB / 472.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001573/0.1039, allocations: 99.69 kB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.627e-05/0.104, allocations: 4.234 kB / 472.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.342e-05/0.1041, allocations: 47.78 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.14e-05/0.1042, allocations: 31.84 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.842e-05/0.1042, allocations: 4 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.642e-05/0.1043, allocations: 43.92 kB / 472.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.53e-05/0.1044, allocations: 15.94 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.117e-05/0.1044, allocations: 35.78 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001804/0.1046, allocations: 99.94 kB / 472.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.1046, allocations: 0 / 472.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1046, allocations: 3.938 kB / 472.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.1047, allocations: 0 / 472.5 MB, free: 11.09 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.0004805/0.1051, allocations: 411 kB / 472.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.1052, allocations: 8.031 kB / 472.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.303e-05/0.1052, allocations: 30.75 kB / 473 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.585e-05/0.1053, allocations: 16.78 kB / 473 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001937/0.1055, allocations: 208.5 kB / 473.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.1055, allocations: 0 / 473.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.754e-05/0.1055, allocations: 4 kB / 473.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.1056, allocations: 53.67 kB / 473.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/0.1057, allocations: 0 / 473.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.1057, allocations: 4 kB / 473.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.1057, allocations: 3.938 kB / 473.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.432e-05/0.1058, allocations: 19.98 kB / 473.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003137/0.1061, allocations: 288.8 kB / 473.5 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001592/0.1063, allocations: 58.67 kB / 473.6 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.488e-05/0.1063, allocations: 20.86 kB / 473.6 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.1064, allocations: 3.984 kB / 473.6 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001828/0.1066, allocations: 71.33 kB / 473.7 MB, free: 9.742 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.824e-06/0.1066, allocations: 0 / 473.7 MB, free: 9.742 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005382/0.1071, allocations: 165.3 kB / 473.9 MB, free: 9.574 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.1072, allocations: 63.31 kB / 473.9 MB, free: 9.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.1073, allocations: 164 kB / 474.1 MB, free: 9.328 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.1073, allocations: 33.69 kB / 474.1 MB, free: 9.289 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.643e-05/0.1074, allocations: 96.14 kB / 474.2 MB, free: 9.191 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.205e-05/0.1074, allocations: 27.64 kB / 474.2 MB, free: 9.164 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-05/0.1075, allocations: 17.72 kB / 474.2 MB, free: 9.141 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.839e-05/0.1076, allocations: 322.8 kB / 474.6 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.617e-05/0.1077, allocations: 23.98 kB / 474.6 MB, free: 8.793 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.76e-05/0.1077, allocations: 37.7 kB / 474.6 MB, free: 8.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001161/0.1079, allocations: 61.66 kB / 474.7 MB, free: 8.684 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.1079, allocations: 384 / 474.7 MB, free: 8.684 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001847/0.1081, allocations: 93.58 kB / 474.8 MB, free: 8.586 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.1081, allocations: 4 kB / 474.8 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.1081, allocations: 3.938 kB / 474.8 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.1081, allocations: 7.984 kB / 474.8 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.384e-05/0.1082, allocations: 24.11 kB / 474.8 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.1082, allocations: 4.031 kB / 474.8 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.003e-05/0.1083, allocations: 11.94 kB / 474.8 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.1083, allocations: 4 kB / 474.8 MB, free: 8.527 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 8.819e-05/0.1084, allocations: 113.8 kB / 474.9 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.39e-05/0.1084, allocations: 7.906 kB / 475 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.404e-05/0.1085, allocations: 20.64 kB / 475 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.1085, allocations: 4 kB / 475 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.1085, allocations: 0 / 475 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1085, allocations: 4 kB / 475 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004367/0.1089, allocations: 391.3 kB / 475.4 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.109, allocations: 0 / 475.4 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.477e-05/0.109, allocations: 11.94 kB / 475.4 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.109, allocations: 0 / 475.4 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.109, allocations: 7.984 kB / 475.4 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.109, allocations: 3.938 kB / 475.4 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.109, allocations: 0 / 475.4 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002343/0.1093, allocations: 212.2 kB / 475.6 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.762e-05/0.1093, allocations: 85.02 kB / 475.7 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.316e-05/0.1094, allocations: 0 / 475.7 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.468e-05/0.1094, allocations: 11.98 kB / 475.7 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.324e-05/0.1095, allocations: 0 / 475.7 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.1095, allocations: 4 kB / 475.7 MB, free: 7.559 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.456e-05/0.1096, allocations: 129.5 kB / 475.8 MB, free: 7.434 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1096, allocations: 0 / 475.8 MB, free: 7.434 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002672/0.1099, allocations: 23.98 kB / 475.8 MB, free: 7.41 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.001355/0.1113, allocations: 1.087 MB / 476.9 MB, free: 6.484 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001782/0.1114, allocations: 67.84 kB / 477 MB, free: 6.418 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1115, allocations: 4 kB / 477 MB, free: 6.414 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.23e-05/0.1115, allocations: 31.92 kB / 477 MB, free: 6.383 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003295/0.1119, allocations: 32.05 kB / 477.1 MB, free: 6.352 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001612/0.1135, allocations: 1.571 MB / 478.6 MB, free: 4.688 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/0.1138, allocations: 0.7002 MB / 479.3 MB, free: 3.961 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.267e-05/0.1138, allocations: 17.17 kB / 479.4 MB, free: 3.945 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.757e-05/0.1139, allocations: 27.44 kB / 479.4 MB, free: 3.918 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1139, allocations: 0 / 479.4 MB, free: 3.918 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01838/0.1323, allocations: 3.188 MB / 482.6 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.55/7.682, allocations: 7.969 kB / 482.6 MB, free: 0.8047 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches